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.0008085/0.0008085, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003314/0.003314, allocations: 164 kB / 24.7 MB, free: 8.891 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.8597/0.8597, allocations: 177.1 MB / 205 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.2468/0.2468, allocations: 34.26 MB / 295.7 MB, free: 0.7031 MB / 266.7 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.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 1.673e-06/1.673e-06, allocations: 0 / 443.4 MB, free: 1.141 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.514e-05, allocations: 4.25 kB / 443.4 MB, free: 1.137 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3435/0.3435, allocations: 168.6 MB / 0.5977 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.006463/0.35, allocations: 6.81 MB / 0.6044 GB, free: 0.7266 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003493/0.3504, allocations: 27.75 kB / 0.6044 GB, free: 0.6992 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009155/0.3513, allocations: 421.3 kB / 0.6048 GB, free: 292 kB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.004524/0.3558, allocations: 2.459 MB / 0.6072 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.004107/0.3599, allocations: 2.414 MB / 0.6096 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001839/0.3617, allocations: 2.234 MB / 0.6118 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004946/0.3622, allocations: 0.5084 MB / 0.6123 GB, free: 8.645 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002701/0.3649, allocations: 2.154 MB / 0.6144 GB, free: 6.484 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008014/0.3657, allocations: 0.8378 MB / 0.6152 GB, free: 5.645 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.3658, allocations: 96 kB / 0.6153 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005173/0.371, allocations: 4.303 MB / 0.6195 GB, free: 1.238 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003167/0.3713, allocations: 462.7 kB / 0.6199 GB, free: 0.7852 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.000287/0.3716, allocations: 403.2 kB / 0.6203 GB, free: 400 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.004113/0.3757, allocations: 4.107 MB / 0.6243 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3757, allocations: 4 kB / 0.6243 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3757, allocations: 4 kB / 0.6243 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.3758, allocations: 0 / 0.6243 GB, free: 12.27 MB / 0.5261 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.002259/0.378, allocations: 1.683 MB / 0.626 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.3781, allocations: 12.02 kB / 0.626 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002609/0.3783, allocations: 111.4 kB / 0.6261 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006616/0.379, allocations: 0.5669 MB / 0.6266 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.3791, allocations: 172.8 kB / 0.6268 GB, free: 9.641 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.019e-05/0.3792, allocations: 67.95 kB / 0.6269 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.3805, allocations: 1.568 MB / 0.6284 GB, free: 7.852 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.3805, allocations: 3.938 kB / 0.6284 GB, free: 7.848 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.519e-05/0.3806, allocations: 31.98 kB / 0.6284 GB, free: 7.816 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.173e-05/0.3807, allocations: 57.97 kB / 0.6285 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.3818, allocations: 1.159 MB / 0.6296 GB, free: 6.598 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.003525/0.3854, allocations: 3.672 MB / 0.6332 GB, free: 2.844 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.3864, allocations: 0.7858 MB / 0.634 GB, free: 2.055 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004017/0.3868, allocations: 404.5 kB / 0.6343 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000362/0.3872, allocations: 216.5 kB / 0.6346 GB, free: 1.449 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.3872, allocations: 39.22 kB / 0.6346 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 1.924e-06/0.3872, allocations: 4 kB / 0.6346 GB, free: 1.398 MB / 0.5261 GB Notification: Performance of matching and sorting (n=82): time 0.2005/0.5876, allocations: 3.925 MB / 0.6384 GB, free: 165.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.5877, allocations: 114.9 kB / 0.6385 GB, free: 165.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003919/0.5881, allocations: 0.542 MB / 0.6391 GB, free: 164.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.847e-05/0.5881, allocations: 43.33 kB / 0.6391 GB, free: 164.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.5882, allocations: 403.6 kB / 0.6395 GB, free: 164.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.5883, allocations: 300.6 kB / 0.6398 GB, free: 164.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.5885, allocations: 194.6 kB / 0.64 GB, free: 164.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.977e-05/0.5886, allocations: 378.9 kB / 0.6403 GB, free: 163.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005102/0.5891, allocations: 499.2 kB / 0.6408 GB, free: 163.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005939/0.5897, allocations: 0.8007 MB / 0.6416 GB, free: 163.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.5908, allocations: 1.289 MB / 0.6428 GB, free: 162.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5908, allocations: 6.688 kB / 0.6429 GB, free: 162.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001717/0.5926, allocations: 1.652 MB / 0.6445 GB, free: 161.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.5926, allocations: 9.75 kB / 0.6445 GB, free: 161.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.5926, allocations: 8.562 kB / 0.6445 GB, free: 161.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003118/0.5957, allocations: 1.307 MB / 0.6458 GB, free: 161.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.596, allocations: 157.3 kB / 0.6459 GB, free: 161.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.5973, allocations: 1.527 MB / 0.6474 GB, free: 160.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003837/0.5977, allocations: 51.05 kB / 0.6474 GB, free: 160.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.834e-05/0.5977, allocations: 60.27 kB / 0.6475 GB, free: 160.8 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.0002685/0.598, allocations: 295.5 kB / 0.6478 GB, free: 160.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.713e-05/0.5981, allocations: 78.47 kB / 0.6479 GB, free: 160.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001731/0.5998, allocations: 1.67 MB / 0.6495 GB, free: 159.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.5999, allocations: 9.312 kB / 0.6495 GB, free: 159.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.5999, allocations: 0 / 0.6495 GB, free: 159.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.5999, allocations: 10.59 kB / 0.6495 GB, free: 159.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00222/0.6021, allocations: 2.283 MB / 0.6517 GB, free: 158.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.6021, allocations: 0 / 0.6517 GB, free: 158.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005949/0.6027, allocations: 257.9 kB / 0.652 GB, free: 158.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007598/0.6034, allocations: 383.8 kB / 0.6524 GB, free: 158.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.737e-05/0.6035, allocations: 32.03 kB / 0.6524 GB, free: 158.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/0.6046, allocations: 2.23 MB / 0.6546 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6046, allocations: 0 / 0.6546 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.6065, allocations: 2.027 MB / 0.6565 GB, free: 156 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000233/0.6067, allocations: 203.8 kB / 0.6567 GB, free: 155.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.645e-05/0.6068, allocations: 28.56 kB / 0.6568 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003367/0.6071, allocations: 52.09 kB / 0.6568 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.563e-05/0.6072, allocations: 66.38 kB / 0.6569 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.823e-05/0.6073, allocations: 48.45 kB / 0.6569 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002435/0.6075, allocations: 385.3 kB / 0.6573 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.6075, allocations: 3.938 kB / 0.6573 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001282/0.6088, allocations: 0.6931 MB / 0.658 GB, free: 155.6 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.001092/0.6099, allocations: 0.8562 MB / 0.6588 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001342/0.6112, allocations: 1.188 MB / 0.66 GB, free: 154.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6112, allocations: 3 kB / 0.66 GB, free: 154.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008245/0.6121, allocations: 0.6699 MB / 0.6606 GB, free: 154.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.6131, allocations: 445.3 kB / 0.661 GB, free: 154.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.6155, allocations: 2.104 MB / 0.6631 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.6157, allocations: 458.4 kB / 0.6635 GB, free: 153.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.6159, allocations: 91.55 kB / 0.6636 GB, free: 153.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.002e-06/0.6159, allocations: 0 / 0.6636 GB, free: 153.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.02753/0.6434, allocations: 27.93 MB / 0.6909 GB, free: 145.8 MB / 0.5261 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 480] 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.902843990363181]