Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.001908/0.001908, allocations: 78.88 kB / 20.52 MB, free: 1.281 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.002167/0.002167, allocations: 163.7 kB / 23.76 MB, free: 4.465 MB / 14.72 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.351/1.351, allocations: 158.6 MB / 185.5 MB, free: 6.219 MB / 174.1 MB " [Timeout remaining time 178] 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.2175/0.2175, allocations: 32.38 MB / 270.1 MB, free: 2.699 MB / 254.1 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.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003555/0.003555, allocations: 71.91 kB / 407.8 MB, free: 5.52 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1374, allocations: 61.04 MB / 468.8 MB, free: 8.289 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.415/0.5524, allocations: 127.3 MB / 0.5822 GB, free: 9.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008375/0.5608, allocations: 5.181 MB / 0.5872 GB, free: 4.723 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005975/0.5614, allocations: 27.75 kB / 0.5873 GB, free: 4.695 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.5625, allocations: 310 kB / 0.5876 GB, free: 4.391 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002255/0.5647, allocations: 0.8784 MB / 0.5884 GB, free: 3.508 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002996/0.5677, allocations: 1.045 MB / 0.5894 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002656/0.5704, allocations: 1.806 MB / 0.5912 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007653/0.5712, allocations: 405.5 kB / 0.5916 GB, free: 272 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001454/0.5726, allocations: 0.7786 MB / 0.5923 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001356/0.574, allocations: 0.724 MB / 0.5931 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.5741, allocations: 68 kB / 0.5931 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.5754, allocations: 487.1 kB / 0.5936 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003348/0.5757, allocations: 275.2 kB / 0.5938 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004296/0.5762, allocations: 334.6 kB / 0.5942 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.5778, allocations: 1.14 MB / 0.5953 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.5778, allocations: 0 / 0.5953 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5778, allocations: 4 kB / 0.5953 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.5778, allocations: 1.125 kB / 0.5953 GB, free: 12.48 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002149/0.5799, allocations: 0.9912 MB / 0.5963 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.58, allocations: 8.031 kB / 0.5963 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003666/0.5803, allocations: 100.4 kB / 0.5964 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009995/0.5813, allocations: 490.7 kB / 0.5968 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001578/0.5815, allocations: 152.4 kB / 0.597 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.605e-05/0.5816, allocations: 56.5 kB / 0.597 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/0.5834, allocations: 1.174 MB / 0.5982 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/0.5834, allocations: 3.938 kB / 0.5982 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.916e-05/0.5835, allocations: 24 kB / 0.5982 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.81e-05/0.5836, allocations: 36.98 kB / 0.5982 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.5847, allocations: 0.6556 MB / 0.5989 GB, free: 8.57 MB / 0.4981 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.005013/0.5897, allocations: 3.083 MB / 0.6019 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009125/0.5907, allocations: 405.3 kB / 0.6023 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000356/0.591, allocations: 196.1 kB / 0.6025 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003025/0.5913, allocations: 60.28 kB / 0.6025 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.5914, allocations: 38.89 kB / 0.6025 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.284e-06/0.5914, allocations: 0 / 0.6025 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003565/0.5949, allocations: 1.402 MB / 0.6039 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.964e-05/0.595, allocations: 136.5 kB / 0.604 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007284/0.5957, allocations: 0.5143 MB / 0.6045 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.352e-05/0.5958, allocations: 37.7 kB / 0.6046 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002915/0.5961, allocations: 368.4 kB / 0.6049 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.5962, allocations: 170.5 kB / 0.6051 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002134/0.5965, allocations: 146.6 kB / 0.6052 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.5967, allocations: 366.8 kB / 0.6056 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004324/0.5971, allocations: 217.8 kB / 0.6058 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000766/0.5979, allocations: 0.5916 MB / 0.6064 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.599, allocations: 0.7611 MB / 0.6071 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/0.599, allocations: 4 kB / 0.6071 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001794/0.6008, allocations: 0.8999 MB / 0.608 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.6008, allocations: 8 kB / 0.608 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.6008, allocations: 8 kB / 0.608 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001479/0.6023, allocations: 291.5 kB / 0.6083 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004101/0.6027, allocations: 131.8 kB / 0.6084 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001146/0.6039, allocations: 0.8774 MB / 0.6093 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004709/0.6043, allocations: 31.98 kB / 0.6093 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.377e-05/0.6044, allocations: 36 kB / 0.6093 GB, free: 13.3 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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 {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004173/0.6048, allocations: 250 kB / 0.6096 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.605, allocations: 59.62 kB / 0.6096 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.6064, allocations: 0.7035 MB / 0.6103 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.6064, allocations: 4 kB / 0.6103 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.6064, allocations: 3.938 kB / 0.6103 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.6064, allocations: 3.984 kB / 0.6103 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002109/0.6085, allocations: 1.17 MB / 0.6115 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.6085, allocations: 3.984 kB / 0.6115 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/0.6096, allocations: 199.8 kB / 0.6117 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001075/0.6097, allocations: 36.95 kB / 0.6117 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.342e-05/0.6098, allocations: 16 kB / 0.6117 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002408/0.6122, allocations: 2.623 MB / 0.6143 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.6122, allocations: 4.031 kB / 0.6143 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.6139, allocations: 0.9353 MB / 0.6152 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003167/0.6142, allocations: 127.5 kB / 0.6153 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.541e-05/0.6143, allocations: 15.98 kB / 0.6153 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004011/0.6147, allocations: 16 kB / 0.6154 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.883e-05/0.6148, allocations: 43.86 kB / 0.6154 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-05/0.6148, allocations: 20.14 kB / 0.6154 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004496/0.6153, allocations: 358.8 kB / 0.6158 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.6153, allocations: 0 / 0.6158 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008823/0.6162, allocations: 223.7 kB / 0.616 GB, free: 6.203 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,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 (47): * Single equations (assignments): 43 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000619/0.6168, allocations: 269.1 kB / 0.6162 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001328/0.6181, allocations: 0.588 MB / 0.6168 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.6181, allocations: 0.5 kB / 0.6168 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.6192, allocations: 438.3 kB / 0.6172 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/0.6207, allocations: 323.4 kB / 0.6175 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.6231, allocations: 1.378 MB / 0.6189 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.6235, allocations: 344.9 kB / 0.6192 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005948/0.6241, allocations: 194.5 kB / 0.6194 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.6242, allocations: 68.48 kB / 0.6195 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of SimCode: time 6.52e-07/0.6242, allocations: 0 / 0.6195 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of Templates: time 0.02632/0.6505, allocations: 14.3 MB / 0.6334 GB, free: 4.316 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.853763724910095]