Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002104/0.002104, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.499/1.499, allocations: 230.6 MB / 258.2 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2544/0.2544, allocations: 46.97 MB / 361.6 MB, free: 4.148 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources") translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 67.89 kB / 0.4973 GB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3052, allocations: 66.04 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.003977/0.3092, allocations: 2.511 MB / 0.5643 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.3106, allocations: 0.7439 MB / 0.565 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.3107, allocations: 11.94 kB / 0.565 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002265/0.3109, allocations: 71.36 kB / 0.5651 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.3112, allocations: 111.2 kB / 0.5652 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.3114, allocations: 107.9 kB / 0.5653 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004386/0.3119, allocations: 425.8 kB / 0.5657 GB, free: 204 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.3121, allocations: 103.8 kB / 0.5658 GB, free: 96 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.3123, allocations: 151.6 kB / 0.5659 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.3125, allocations: 175.2 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.829e-05/0.3126, allocations: 40 kB / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.003e-05/0.3127, allocations: 32 kB / 0.5662 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.191e-05/0.3127, allocations: 71.7 kB / 0.5662 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.3129, allocations: 155.2 kB / 0.5664 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000519/0.3134, allocations: 436.6 kB / 0.5668 GB, free: 15.06 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3134, allocations: 0 / 0.5668 GB, free: 15.06 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3134, allocations: 3.938 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.3134, allocations: 0 / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001204/0.3146, allocations: 0.6105 MB / 0.5674 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.3147, allocations: 12.03 kB / 0.5674 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.587e-05/0.3148, allocations: 40.7 kB / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003885/0.3151, allocations: 220.9 kB / 0.5676 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.3152, allocations: 29.38 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.016e-05/0.3152, allocations: 28.38 kB / 0.5677 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007107/0.3159, allocations: 370.2 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.3159, allocations: 3.938 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.316, allocations: 8 kB / 0.5681 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.316, allocations: 12 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006529/0.3166, allocations: 262.8 kB / 0.5683 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002014/0.3187, allocations: 1.164 MB / 0.5695 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005064/0.3192, allocations: 190.5 kB / 0.5697 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002319/0.3194, allocations: 83.56 kB / 0.5697 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.3194, allocations: 7.984 kB / 0.5697 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.3195, allocations: 38.5 kB / 0.5698 GB, free: 11.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.3195, allocations: 0 / 0.5698 GB, free: 11.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007893/0.3202, allocations: 241.6 kB / 0.57 GB, free: 11.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.088e-05/0.3203, allocations: 140.5 kB / 0.5701 GB, free: 11.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/0.3207, allocations: 288.5 kB / 0.5704 GB, free: 11.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.3207, allocations: 29.7 kB / 0.5704 GB, free: 11.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.3209, allocations: 251.9 kB / 0.5707 GB, free: 10.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.042e-05/0.3209, allocations: 63.5 kB / 0.5707 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.867e-05/0.321, allocations: 61.88 kB / 0.5708 GB, free: 10.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3212, allocations: 338.8 kB / 0.5711 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/0.3214, allocations: 76.5 kB / 0.5712 GB, free: 10.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003043/0.3217, allocations: 164.2 kB / 0.5714 GB, free: 10.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005597/0.3223, allocations: 259 kB / 0.5716 GB, free: 9.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3223, allocations: 0 / 0.5716 GB, free: 9.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006834/0.323, allocations: 309.4 kB / 0.5719 GB, free: 9.461 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.323, allocations: 14.66 kB / 0.5719 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.323, allocations: 4 kB / 0.5719 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.323, allocations: 4 kB / 0.5719 GB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004364/0.3235, allocations: 87.86 kB / 0.572 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.3235, allocations: 4 kB / 0.572 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000267/0.3237, allocations: 39.77 kB / 0.572 GB, free: 9.312 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.3238, allocations: 16 kB / 0.5721 GB, free: 9.297 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001632/0.3239, allocations: 157.7 kB / 0.5722 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.324, allocations: 27.81 kB / 0.5722 GB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.926e-05/0.3241, allocations: 29.52 kB / 0.5723 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.3241, allocations: 3.938 kB / 0.5723 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.3241, allocations: 4.562 kB / 0.5723 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3241, allocations: 0 / 0.5723 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007622/0.3249, allocations: 0.4975 MB / 0.5728 GB, free: 8.516 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.3249, allocations: 8.156 kB / 0.5728 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002994/0.3252, allocations: 59.88 kB / 0.5728 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.3252, allocations: 4 kB / 0.5728 GB, free: 8.445 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.3252, allocations: 4 kB / 0.5728 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3252, allocations: 0 / 0.5728 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.3252, allocations: 7.938 kB / 0.5728 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005671/0.3258, allocations: 394.8 kB / 0.5732 GB, free: 8.016 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.724e-05/0.3258, allocations: 27.8 kB / 0.5732 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.144e-05/0.3259, allocations: 3.984 kB / 0.5732 GB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.3261, allocations: 19.98 kB / 0.5733 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.036e-05/0.3262, allocations: 19.86 kB / 0.5733 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.3262, allocations: 4 kB / 0.5733 GB, free: 7.941 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002131/0.3264, allocations: 207.1 kB / 0.5735 GB, free: 7.738 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3264, allocations: 3.938 kB / 0.5735 GB, free: 7.734 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004075/0.3268, allocations: 75.78 kB / 0.5736 GB, free: 7.66 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001083/0.3269, allocations: 99.25 kB / 0.5737 GB, free: 7.555 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005469/0.3275, allocations: 179.7 kB / 0.5738 GB, free: 7.379 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.3275, allocations: 4.5 kB / 0.5738 GB, free: 7.375 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.3277, allocations: 79.83 kB / 0.5739 GB, free: 7.297 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.3281, allocations: 20.64 kB / 0.5739 GB, free: 7.277 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.3292, allocations: 0.5658 MB / 0.5745 GB, free: 6.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.3294, allocations: 172.5 kB / 0.5746 GB, free: 6.473 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.377e-05/0.3294, allocations: 17.91 kB / 0.5747 GB, free: 6.457 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.968e-05/0.3295, allocations: 19.44 kB / 0.5747 GB, free: 6.441 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3295, allocations: 0 / 0.5747 GB, free: 6.441 MB / 414.1 MB Notification: Performance of Templates: time 0.00565/0.3352, allocations: 1.96 MB / 0.5766 GB, free: 4.488 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.047424210992176]