Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.002198/0.002198, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002788/0.002788, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 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.627/1.627, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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.3503/0.3503, allocations: 34.26 MB / 295.3 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 179] 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.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.Xi.1.|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.Xi.1.|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 3.938 kB / 377.3 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.875e-05/4.118e-05, allocations: 5.406 kB / 377.3 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.383/0.383, allocations: 187.7 MB / 0.5518 GB, free: 6.742 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01227/0.3953, allocations: 7.567 MB / 0.5592 GB, free: 40 kB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007113/0.396, allocations: 27.75 kB / 0.5592 GB, free: 12 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.3973, allocations: 413.3 kB / 0.5596 GB, free: 15.61 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006625/0.404, allocations: 2.464 MB / 0.562 GB, free: 13.13 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006466/0.4104, allocations: 2.405 MB / 0.5644 GB, free: 10.71 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0034/0.4138, allocations: 2.227 MB / 0.5665 GB, free: 8.484 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.4148, allocations: 0.5488 MB / 0.5671 GB, free: 7.922 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004815/0.4196, allocations: 2.154 MB / 0.5692 GB, free: 5.762 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001652/0.4213, allocations: 0.8494 MB / 0.57 GB, free: 4.91 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002189/0.4215, allocations: 92 kB / 0.5701 GB, free: 4.82 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009111/0.4306, allocations: 4.303 MB / 0.5743 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008497/0.4315, allocations: 470.8 kB / 0.5748 GB, free: 48 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008191/0.4323, allocations: 403.2 kB / 0.5751 GB, free: 15.65 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009164/0.4415, allocations: 4.125 MB / 0.5792 GB, free: 11.52 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.4415, allocations: 0 / 0.5792 GB, free: 11.52 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4415, allocations: 0 / 0.5792 GB, free: 11.52 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.01e-05/0.4415, allocations: 0 / 0.5792 GB, free: 11.52 MB / 458.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.004606/0.4461, allocations: 1.859 MB / 0.581 GB, free: 9.613 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.4461, allocations: 8.031 kB / 0.581 GB, free: 9.605 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006076/0.4467, allocations: 195 kB / 0.5812 GB, free: 9.414 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.448, allocations: 0.5625 MB / 0.5817 GB, free: 8.824 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002002/0.4482, allocations: 176.8 kB / 0.5819 GB, free: 8.625 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/0.4484, allocations: 76 kB / 0.582 GB, free: 8.551 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/0.4506, allocations: 1.377 MB / 0.5833 GB, free: 7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.4506, allocations: 4 kB / 0.5833 GB, free: 6.996 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.4508, allocations: 31.98 kB / 0.5833 GB, free: 6.965 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.844e-05/0.4509, allocations: 61.97 kB / 0.5834 GB, free: 6.902 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.4526, allocations: 0.7571 MB / 0.5841 GB, free: 6.145 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007705/0.4603, allocations: 4.202 MB / 0.5882 GB, free: 1.844 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001852/0.4621, allocations: 0.6091 MB / 0.5888 GB, free: 1.227 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005965/0.4627, allocations: 277.5 kB / 0.5891 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007471/0.4635, allocations: 208.5 kB / 0.5893 GB, free: 0.75 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.175e-05/0.4635, allocations: 54.03 kB / 0.5894 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of pre-optimization done (n=70): time 2.726e-06/0.4635, allocations: 0 / 0.5894 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of matching and sorting (n=82): time 0.01136/0.4749, allocations: 2.975 MB / 0.5923 GB, free: 13.68 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.475, allocations: 115.5 kB / 0.5924 GB, free: 13.55 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009477/0.476, allocations: 0.643 MB / 0.593 GB, free: 12.89 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001083/0.4761, allocations: 41.7 kB / 0.593 GB, free: 12.84 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004487/0.4765, allocations: 479 kB / 0.5935 GB, free: 12.36 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003715/0.4769, allocations: 333.4 kB / 0.5938 GB, free: 12.04 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004223/0.4773, allocations: 232.2 kB / 0.594 GB, free: 11.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004442/0.4778, allocations: 0.6016 MB / 0.5946 GB, free: 11.19 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007954/0.4786, allocations: 321 kB / 0.5949 GB, free: 10.88 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.48, allocations: 0.766 MB / 0.5957 GB, free: 9.941 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002134/0.4821, allocations: 1.089 MB / 0.5967 GB, free: 8.707 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/0.4821, allocations: 4 kB / 0.5967 GB, free: 8.703 MB / 474.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003443/0.4855, allocations: 1.301 MB / 0.598 GB, free: 7.395 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.4856, allocations: 11.94 kB / 0.598 GB, free: 7.383 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/0.4856, allocations: 8 kB / 0.598 GB, free: 7.375 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00651/0.4921, allocations: 1.073 MB / 0.5991 GB, free: 6.301 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000746/0.4929, allocations: 155.7 kB / 0.5992 GB, free: 6.148 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002654/0.4955, allocations: 1.51 MB / 0.6007 GB, free: 4.605 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008707/0.4964, allocations: 43.98 kB / 0.6008 GB, free: 4.562 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/0.4965, allocations: 51.98 kB / 0.6008 GB, free: 4.512 MB / 474.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.0008285/0.4973, allocations: 276.2 kB / 0.6011 GB, free: 4.23 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003195/0.4977, allocations: 107.5 kB / 0.6012 GB, free: 4.125 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003447/0.5011, allocations: 1.419 MB / 0.6026 GB, free: 2.688 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/0.5011, allocations: 8 kB / 0.6026 GB, free: 2.68 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.5011, allocations: 3.938 kB / 0.6026 GB, free: 2.676 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.5011, allocations: 7.984 kB / 0.6026 GB, free: 2.668 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004748/0.5059, allocations: 2.049 MB / 0.6046 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.5059, allocations: 4.188 kB / 0.6046 GB, free: 0.543 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/0.5072, allocations: 251.7 kB / 0.6048 GB, free: 304 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001744/0.509, allocations: 315.4 kB / 0.6051 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.5091, allocations: 35.73 kB / 0.6052 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003584/0.5127, allocations: 2.877 MB / 0.608 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5127, allocations: 0 / 0.608 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003771/0.5165, allocations: 1.576 MB / 0.6095 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007083/0.5172, allocations: 191.3 kB / 0.6097 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.5173, allocations: 24 kB / 0.6097 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007383/0.518, allocations: 51.08 kB / 0.6098 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/0.5182, allocations: 68.86 kB / 0.6098 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/0.5184, allocations: 47.97 kB / 0.6099 GB, free: 10.93 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00064/0.519, allocations: 418.7 kB / 0.6103 GB, free: 10.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.519, allocations: 0 / 0.6103 GB, free: 10.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002593/0.5216, allocations: 0.6935 MB / 0.6109 GB, free: 9.824 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.002493/0.5241, allocations: 0.8632 MB / 0.6118 GB, free: 8.953 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002597/0.5267, allocations: 0.9404 MB / 0.6127 GB, free: 8.012 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/0.5267, allocations: 4 kB / 0.6127 GB, free: 8.008 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001701/0.5284, allocations: 0.5667 MB / 0.6133 GB, free: 7.441 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002346/0.5307, allocations: 448.7 kB / 0.6137 GB, free: 7.02 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004819/0.5356, allocations: 1.874 MB / 0.6155 GB, free: 5.086 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005385/0.5361, allocations: 439.2 kB / 0.6159 GB, free: 4.633 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009892/0.5371, allocations: 317.5 kB / 0.6162 GB, free: 4.332 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002986/0.5374, allocations: 88.47 kB / 0.6163 GB, free: 4.246 MB / 490.7 MB Notification: Performance of SimCode: time 2.064e-06/0.5374, allocations: 0 / 0.6163 GB, free: 4.246 MB / 490.7 MB Notification: Performance of Templates: time 0.1875/0.7249, allocations: 31.51 MB / 0.6471 GB, free: 173.7 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.238377221976407]