Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.00256/0.00256, allocations: 91.55 kB / 20.21 MB, free: 4.199 MB / 18.57 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.003261/0.003261, allocations: 161.3 kB / 23.52 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 158.6 MB / 185.3 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2075/0.2075, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 347 MB, free: 9.785 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.537e-05, allocations: 6.25 kB / 347 MB, free: 9.777 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3965/0.3965, allocations: 190 MB / 0.5244 GB, free: 6.16 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01862/0.4152, allocations: 10.36 MB / 0.5345 GB, free: 11.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008299/0.416, allocations: 31.75 kB / 0.5346 GB, free: 11.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001425/0.4174, allocations: 413.3 kB / 0.535 GB, free: 11.33 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007399/0.4248, allocations: 2.678 MB / 0.5376 GB, free: 8.637 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007982/0.4328, allocations: 2.743 MB / 0.5402 GB, free: 5.887 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004002/0.4368, allocations: 2.239 MB / 0.5424 GB, free: 3.637 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.4382, allocations: 0.5566 MB / 0.543 GB, free: 3.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006213/0.4444, allocations: 2.266 MB / 0.5452 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00183/0.4462, allocations: 0.8572 MB / 0.546 GB, free: 15.94 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002736/0.4465, allocations: 92 kB / 0.5461 GB, free: 15.85 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01032/0.4568, allocations: 4.779 MB / 0.5508 GB, free: 11.06 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007917/0.4576, allocations: 482.8 kB / 0.5512 GB, free: 10.59 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007484/0.4583, allocations: 407.2 kB / 0.5516 GB, free: 10.19 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00902/0.4674, allocations: 4.461 MB / 0.556 GB, free: 5.715 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.4674, allocations: 4 kB / 0.556 GB, free: 5.711 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4674, allocations: 0 / 0.556 GB, free: 5.711 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.4674, allocations: 0 / 0.556 GB, free: 5.711 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.004488/0.4719, allocations: 1.918 MB / 0.5579 GB, free: 3.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.4719, allocations: 8.031 kB / 0.5579 GB, free: 3.742 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005985/0.4725, allocations: 195.2 kB / 0.5581 GB, free: 3.551 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.4738, allocations: 0.5824 MB / 0.5586 GB, free: 2.941 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/0.4739, allocations: 160.8 kB / 0.5588 GB, free: 2.758 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/0.4741, allocations: 83.97 kB / 0.5589 GB, free: 2.676 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/0.4763, allocations: 1.411 MB / 0.5602 GB, free: 1.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/0.4763, allocations: 3.953 kB / 0.5602 GB, free: 1.086 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/0.4764, allocations: 28 kB / 0.5603 GB, free: 1.059 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-05/0.4765, allocations: 61.97 kB / 0.5603 GB, free: 0.9961 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0017/0.4782, allocations: 0.7728 MB / 0.5611 GB, free: 232 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007774/0.486, allocations: 4.24 MB / 0.5652 GB, free: 11.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.4877, allocations: 0.6147 MB / 0.5658 GB, free: 11.25 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005807/0.4883, allocations: 277.5 kB / 0.5661 GB, free: 10.97 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/0.4893, allocations: 326.3 kB / 0.5664 GB, free: 10.65 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.23e-05/0.4893, allocations: 50.05 kB / 0.5664 GB, free: 10.59 MB / 442.7 MB Notification: Performance of pre-optimization done (n=70): time 3.928e-06/0.4893, allocations: 4 kB / 0.5664 GB, free: 10.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=82): time 0.01143/0.5008, allocations: 2.986 MB / 0.5694 GB, free: 7.574 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.5009, allocations: 115.5 kB / 0.5695 GB, free: 7.438 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009201/0.5018, allocations: 0.643 MB / 0.5701 GB, free: 6.777 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.5019, allocations: 45.7 kB / 0.5701 GB, free: 6.727 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004448/0.5023, allocations: 483 kB / 0.5706 GB, free: 6.246 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003494/0.5027, allocations: 321.5 kB / 0.5709 GB, free: 5.926 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004194/0.5031, allocations: 236.2 kB / 0.5711 GB, free: 5.688 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004151/0.5035, allocations: 0.6015 MB / 0.5717 GB, free: 5.074 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008135/0.5043, allocations: 325.8 kB / 0.572 GB, free: 4.754 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/0.5056, allocations: 0.7642 MB / 0.5728 GB, free: 3.82 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002127/0.5077, allocations: 1.097 MB / 0.5739 GB, free: 2.574 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.5077, allocations: 0 / 0.5739 GB, free: 2.574 MB / 442.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00313/0.5109, allocations: 1.305 MB / 0.5751 GB, free: 1.262 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.5109, allocations: 11.94 kB / 0.5751 GB, free: 1.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.5109, allocations: 12.03 kB / 0.5752 GB, free: 1.238 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006838/0.5177, allocations: 1.092 MB / 0.5762 GB, free: 144 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006782/0.5184, allocations: 155.8 kB / 0.5764 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002525/0.5209, allocations: 1.512 MB / 0.5778 GB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007594/0.5217, allocations: 39.98 kB / 0.5779 GB, free: 14.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000142/0.5218, allocations: 63.97 kB / 0.5779 GB, free: 14.34 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0004957/0.5223, allocations: 268.2 kB / 0.5782 GB, free: 14.07 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002752/0.5226, allocations: 107.5 kB / 0.5783 GB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003251/0.5259, allocations: 1.396 MB / 0.5797 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/0.5259, allocations: 8 kB / 0.5797 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5259, allocations: 0 / 0.5797 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.5259, allocations: 7.984 kB / 0.5797 GB, free: 12.54 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004395/0.5303, allocations: 2.036 MB / 0.5817 GB, free: 10.44 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.5303, allocations: 8.156 kB / 0.5817 GB, free: 10.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/0.5316, allocations: 247.7 kB / 0.5819 GB, free: 10.19 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001716/0.5333, allocations: 315.3 kB / 0.5822 GB, free: 9.875 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003121/0.5337, allocations: 39.92 kB / 0.5822 GB, free: 9.836 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003047/0.5367, allocations: 2.875 MB / 0.5851 GB, free: 6.809 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.5367, allocations: 7.969 kB / 0.5851 GB, free: 6.801 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003419/0.5401, allocations: 1.564 MB / 0.5866 GB, free: 5.195 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005755/0.5407, allocations: 191.3 kB / 0.5868 GB, free: 5.008 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/0.5408, allocations: 25.81 kB / 0.5868 GB, free: 4.984 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007509/0.5416, allocations: 43.95 kB / 0.5868 GB, free: 4.941 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/0.5418, allocations: 72.81 kB / 0.5869 GB, free: 4.871 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/0.5419, allocations: 51.97 kB / 0.587 GB, free: 4.82 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005694/0.5425, allocations: 414.8 kB / 0.5874 GB, free: 4.418 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5425, allocations: 0 / 0.5874 GB, free: 4.418 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002094/0.5446, allocations: 0.713 MB / 0.5881 GB, free: 3.703 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002328/0.5469, allocations: 0.9592 MB / 0.589 GB, free: 2.738 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002589/0.5495, allocations: 0.9516 MB / 0.5899 GB, free: 1.785 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.5495, allocations: 4 kB / 0.5899 GB, free: 1.781 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001668/0.5511, allocations: 0.5627 MB / 0.5905 GB, free: 1.215 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002124/0.5533, allocations: 461.2 kB / 0.5909 GB, free: 0.7773 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00449/0.5578, allocations: 1.862 MB / 0.5927 GB, free: 14.86 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005525/0.5583, allocations: 439.2 kB / 0.5931 GB, free: 14.39 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0008623/0.5592, allocations: 254.5 kB / 0.5934 GB, free: 14.15 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003174/0.5595, allocations: 100.5 kB / 0.5935 GB, free: 14.05 MB / 474.7 MB Notification: Performance of SimCode: time 1.503e-06/0.5595, allocations: 0 / 0.5935 GB, free: 14.05 MB / 474.7 MB Notification: Performance of Templates: time 0.1772/0.7367, allocations: 32.94 MB / 0.6257 GB, free: 193.3 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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: 7.082152999937534]