Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0007973/0.0007973, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003052/0.003052, allocations: 161.5 kB / 24.7 MB, free: 9.418 MB / 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 0.8476/0.8476, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2546/0.2546, allocations: 32.79 MB / 294.2 MB, free: 1.188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 440.9 MB, free: 3.727 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.625e-05, allocations: 2.281 kB / 440.9 MB, free: 3.723 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.329/0.329, allocations: 168.6 MB / 0.5952 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.006649/0.3356, allocations: 6.815 MB / 0.6019 GB, free: 4.801 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003669/0.336, allocations: 27.75 kB / 0.6019 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009481/0.337, allocations: 429.3 kB / 0.6023 GB, free: 4.352 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.00428/0.3412, allocations: 2.459 MB / 0.6047 GB, free: 1.883 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00409/0.3453, allocations: 2.409 MB / 0.607 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001575/0.3469, allocations: 2.234 MB / 0.6092 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004685/0.3474, allocations: 0.5163 MB / 0.6097 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002454/0.3498, allocations: 2.15 MB / 0.6118 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007944/0.3506, allocations: 0.8494 MB / 0.6127 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.3507, allocations: 92 kB / 0.6127 GB, free: 9.613 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005709/0.3564, allocations: 4.299 MB / 0.6169 GB, free: 5.305 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003892/0.3568, allocations: 462.8 kB / 0.6174 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003327/0.3571, allocations: 403.2 kB / 0.6178 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.004615/0.3618, allocations: 4.114 MB / 0.6218 GB, free: 340 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3618, allocations: 0 / 0.6218 GB, free: 340 kB / 0.5105 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3618, allocations: 0 / 0.6218 GB, free: 340 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.407e-05/0.3618, allocations: 0 / 0.6218 GB, free: 340 kB / 0.5105 GB 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.002715/0.3645, allocations: 1.686 MB / 0.6234 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.3645, allocations: 12.03 kB / 0.6234 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002811/0.3648, allocations: 115.4 kB / 0.6236 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007269/0.3655, allocations: 0.548 MB / 0.6241 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.3657, allocations: 172.8 kB / 0.6243 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-05/0.3658, allocations: 75.89 kB / 0.6243 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.3671, allocations: 1.572 MB / 0.6259 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.3672, allocations: 0 / 0.6259 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.981e-05/0.3672, allocations: 31.98 kB / 0.6259 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.944e-05/0.3673, allocations: 69.89 kB / 0.626 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.3685, allocations: 1.151 MB / 0.6271 GB, free: 10.66 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00385/0.3724, allocations: 3.668 MB / 0.6307 GB, free: 6.914 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.3735, allocations: 0.7904 MB / 0.6314 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004439/0.3739, allocations: 404.8 kB / 0.6318 GB, free: 5.727 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004479/0.3744, allocations: 220.4 kB / 0.632 GB, free: 5.512 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.3744, allocations: 39.22 kB / 0.6321 GB, free: 5.465 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 2.245e-06/0.3744, allocations: 0 / 0.6321 GB, free: 5.465 MB / 0.5261 GB Notification: Performance of matching and sorting (n=82): time 0.007131/0.3815, allocations: 3.93 MB / 0.6359 GB, free: 1.508 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.3816, allocations: 115.5 kB / 0.636 GB, free: 1.371 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004302/0.382, allocations: 0.5338 MB / 0.6365 GB, free: 0.8281 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.367e-05/0.3821, allocations: 45.7 kB / 0.6366 GB, free: 0.7773 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/0.3823, allocations: 408.3 kB / 0.637 GB, free: 380 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.3825, allocations: 301.4 kB / 0.6373 GB, free: 76 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2177/0.6002, allocations: 191.5 kB / 0.6374 GB, free: 167.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.6003, allocations: 382.4 kB / 0.6378 GB, free: 167.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000721/0.601, allocations: 492.4 kB / 0.6383 GB, free: 167.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007113/0.6018, allocations: 0.8111 MB / 0.6391 GB, free: 166.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.603, allocations: 1.277 MB / 0.6403 GB, free: 166.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.603, allocations: 5.172 kB / 0.6403 GB, free: 166.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001872/0.6048, allocations: 1.66 MB / 0.6419 GB, free: 165.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.6049, allocations: 9.594 kB / 0.642 GB, free: 165.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.6049, allocations: 5.594 kB / 0.642 GB, free: 165.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003305/0.6082, allocations: 1.303 MB / 0.6432 GB, free: 165.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.6085, allocations: 152 kB / 0.6434 GB, free: 165.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.6099, allocations: 1.53 MB / 0.6449 GB, free: 164.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000467/0.6103, allocations: 58.88 kB / 0.6449 GB, free: 164.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.463e-05/0.6104, allocations: 52.88 kB / 0.645 GB, free: 164.5 MB / 0.5261 GB 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.0004036/0.6108, allocations: 295.9 kB / 0.6453 GB, free: 164.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.6109, allocations: 87.89 kB / 0.6453 GB, free: 164.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001804/0.6127, allocations: 1.662 MB / 0.647 GB, free: 163.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.6127, allocations: 13.62 kB / 0.647 GB, free: 163.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.6127, allocations: 2.188 kB / 0.647 GB, free: 163.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.6128, allocations: 6.562 kB / 0.647 GB, free: 163.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/0.6152, allocations: 2.286 MB / 0.6492 GB, free: 162.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/0.6152, allocations: 0 / 0.6492 GB, free: 162.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006343/0.6158, allocations: 256.2 kB / 0.6495 GB, free: 162.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008107/0.6167, allocations: 377.1 kB / 0.6498 GB, free: 162.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.379e-05/0.6167, allocations: 40.09 kB / 0.6499 GB, free: 162.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001258/0.618, allocations: 2.228 MB / 0.652 GB, free: 160.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.618, allocations: 0 / 0.652 GB, free: 160.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002066/0.62, allocations: 2.021 MB / 0.654 GB, free: 159.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002621/0.6203, allocations: 202.7 kB / 0.6542 GB, free: 159.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.273e-05/0.6204, allocations: 25.72 kB / 0.6542 GB, free: 159.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003537/0.6207, allocations: 54.62 kB / 0.6543 GB, free: 159.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.6208, allocations: 69.56 kB / 0.6544 GB, free: 159.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.405e-05/0.6209, allocations: 51.3 kB / 0.6544 GB, free: 159.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003041/0.6212, allocations: 389.3 kB / 0.6548 GB, free: 159.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.6212, allocations: 0 / 0.6548 GB, free: 159.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001713/0.6229, allocations: 0.6906 MB / 0.6554 GB, free: 159.5 MB / 0.5261 GB 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.001316/0.6242, allocations: 0.8599 MB / 0.6563 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001584/0.6258, allocations: 1.187 MB / 0.6574 GB, free: 158.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.6258, allocations: 256 / 0.6574 GB, free: 158.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009634/0.6268, allocations: 0.6842 MB / 0.6581 GB, free: 158.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.6279, allocations: 427.9 kB / 0.6585 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.6305, allocations: 2.105 MB / 0.6606 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.6308, allocations: 449.6 kB / 0.661 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.631, allocations: 92.78 kB / 0.6611 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of SimCode: time 8.92e-07/0.631, allocations: 4 kB / 0.6611 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.03088/0.6619, allocations: 27.92 MB / 0.6884 GB, free: 150.5 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 8.704523193649948]