Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001319/0.001319, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001485/0.001485, allocations: 214.1 kB / 23.75 MB, free: 4.668 MB / 14.72 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.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 8.031 MB / 206.1 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.2336/0.2336, allocations: 46.93 MB / 360.8 MB, free: 4.301 MB / 286.1 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.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 67.89 kB / 0.4967 GB, free: 7.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3484, allocations: 66.02 MB / 0.5611 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.2054/0.5538, allocations: 151.2 MB / 0.7088 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01003/0.5639, allocations: 5.649 MB / 0.7143 GB, free: 7.047 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008718/0.5648, allocations: 27.75 kB / 0.7143 GB, free: 7.02 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001328/0.5661, allocations: 333.9 kB / 0.7146 GB, free: 6.691 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002466/0.5685, allocations: 0.8823 MB / 0.7155 GB, free: 5.805 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003212/0.5718, allocations: 1.061 MB / 0.7165 GB, free: 4.754 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00299/0.5747, allocations: 1.828 MB / 0.7183 GB, free: 2.918 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008257/0.5756, allocations: 397.6 kB / 0.7187 GB, free: 2.527 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001894/0.5775, allocations: 0.7825 MB / 0.7194 GB, free: 1.742 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001538/0.579, allocations: 0.7592 MB / 0.7202 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.5791, allocations: 64 kB / 0.7202 GB, free: 0.918 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001568/0.5807, allocations: 0.5849 MB / 0.7208 GB, free: 340 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003812/0.5811, allocations: 275.1 kB / 0.7211 GB, free: 64 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005374/0.5816, allocations: 398.2 kB / 0.7215 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00187/0.5835, allocations: 1.171 MB / 0.7226 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.5835, allocations: 12 kB / 0.7226 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5835, allocations: 0 / 0.7226 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.192e-05/0.5835, allocations: 0 / 0.7226 GB, free: 14.49 MB / 0.5606 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.002475/0.586, allocations: 0.9873 MB / 0.7236 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.5861, allocations: 12.03 kB / 0.7236 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004313/0.5865, allocations: 100.4 kB / 0.7237 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.5876, allocations: 478.7 kB / 0.7241 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/0.5877, allocations: 152.4 kB / 0.7243 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.5879, allocations: 48.38 kB / 0.7243 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.5893, allocations: 0.8266 MB / 0.7251 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/0.5893, allocations: 3.938 kB / 0.7251 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.338e-05/0.5894, allocations: 24 kB / 0.7252 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.855e-05/0.5895, allocations: 44.91 kB / 0.7252 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.5907, allocations: 0.6479 MB / 0.7258 GB, free: 11.03 MB / 0.5606 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.005271/0.596, allocations: 3.904 MB / 0.7297 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008662/0.5968, allocations: 419 kB / 0.7301 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00034/0.5972, allocations: 193.4 kB / 0.7302 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003052/0.5975, allocations: 64.2 kB / 0.7303 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.5975, allocations: 34.89 kB / 0.7303 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 2.585e-06/0.5975, allocations: 0 / 0.7303 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.003552/0.6011, allocations: 1.41 MB / 0.7317 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.6012, allocations: 136.5 kB / 0.7318 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007817/0.602, allocations: 0.5655 MB / 0.7324 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.436e-05/0.602, allocations: 41.7 kB / 0.7324 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/0.6023, allocations: 363.9 kB / 0.7328 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.6025, allocations: 166.6 kB / 0.7329 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002082/0.6027, allocations: 142.6 kB / 0.7331 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002135/0.6029, allocations: 374.8 kB / 0.7334 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004045/0.6033, allocations: 217.9 kB / 0.7336 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006675/0.604, allocations: 0.5084 MB / 0.7341 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.6051, allocations: 0.764 MB / 0.7349 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/0.6051, allocations: 4 kB / 0.7349 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001778/0.6069, allocations: 0.9065 MB / 0.7358 GB, free: 196 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.6069, allocations: 15.88 kB / 0.7358 GB, free: 180 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.6069, allocations: 8 kB / 0.7358 GB, free: 172 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3444/0.9513, allocations: 277.9 kB / 0.7361 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005988/0.9519, allocations: 123.3 kB / 0.7362 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.9532, allocations: 0.8891 MB / 0.737 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005316/0.9537, allocations: 26.41 kB / 0.7371 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.675e-05/0.9538, allocations: 37.91 kB / 0.7371 GB, free: 174.4 MB / 0.5606 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.0003835/0.9542, allocations: 247.5 kB / 0.7373 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.9543, allocations: 68.12 kB / 0.7374 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/0.9558, allocations: 0.6927 MB / 0.7381 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/0.9558, allocations: 5.641 kB / 0.7381 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.9558, allocations: 1.125 kB / 0.7381 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.9558, allocations: 9.438 kB / 0.7381 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/0.9578, allocations: 1.312 MB / 0.7394 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/0.9578, allocations: 1.156 kB / 0.7394 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009998/0.9588, allocations: 202.6 kB / 0.7396 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.943e-05/0.9589, allocations: 32.25 kB / 0.7396 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/0.9589, allocations: 20.86 kB / 0.7396 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001397/0.9603, allocations: 2.661 MB / 0.7422 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.9603, allocations: 4.672 kB / 0.7422 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.9614, allocations: 0.9401 MB / 0.7431 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002581/0.9617, allocations: 130.5 kB / 0.7433 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.231e-05/0.9618, allocations: 15.03 kB / 0.7433 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003563/0.9621, allocations: 23.78 kB / 0.7433 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.184e-05/0.9622, allocations: 34.77 kB / 0.7433 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-05/0.9623, allocations: 25.61 kB / 0.7434 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000397/0.9627, allocations: 430.2 kB / 0.7438 GB, free: 170 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.9627, allocations: 0 / 0.7438 GB, free: 170 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000768/0.9634, allocations: 225.9 kB / 0.744 GB, free: 170 MB / 0.5606 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.000369/0.9638, allocations: 244.6 kB / 0.7442 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001039/0.9648, allocations: 0.5849 MB / 0.7448 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.9648, allocations: 2 kB / 0.7448 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009092/0.9657, allocations: 449.4 kB / 0.7452 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/0.9673, allocations: 383.2 kB / 0.7456 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.9696, allocations: 1.396 MB / 0.747 GB, free: 168 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004585/0.9701, allocations: 0.9345 MB / 0.7479 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006229/0.9707, allocations: 216.9 kB / 0.7481 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.9708, allocations: 63.42 kB / 0.7481 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.764e-06/0.9708, allocations: 0 / 0.7481 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.02295/0.9938, allocations: 16.25 MB / 0.764 GB, free: 150.8 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 6.578604107024148]