Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 109.8 kB / 19.69 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 186.1 kB / 22.98 MB, free: 5.02 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.553/1.553, allocations: 207.6 MB / 233.7 MB, free: 10.01 MB / 190.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.2695/0.2695, allocations: 44.25 MB / 330.2 MB, free: 9.547 MB / 270.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002623/0.002623, allocations: 67.89 kB / 468 MB, free: 4.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1619, allocations: 61.03 MB / 0.5166 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.6257/0.7876, allocations: 180.5 MB / 0.6929 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01616/0.8037, allocations: 8.272 MB / 0.701 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.8048, allocations: 27.75 kB / 0.701 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.8062, allocations: 322 kB / 0.7013 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00681/0.813, allocations: 1.53 MB / 0.7028 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006285/0.8193, allocations: 1.18 MB / 0.704 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005034/0.8243, allocations: 1.88 MB / 0.7058 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001463/0.8258, allocations: 385.6 kB / 0.7062 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005291/0.8311, allocations: 1.277 MB / 0.7074 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001997/0.8331, allocations: 0.7085 MB / 0.7081 GB, free: 15.26 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001942/0.8333, allocations: 60 kB / 0.7082 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002661/0.8359, allocations: 0.8465 MB / 0.709 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004215/0.8364, allocations: 275.2 kB / 0.7093 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006862/0.837, allocations: 398.1 kB / 0.7096 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003213/0.8403, allocations: 1.425 MB / 0.711 GB, free: 12.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.8403, allocations: 0 / 0.711 GB, free: 12.27 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8403, allocations: 0 / 0.711 GB, free: 12.27 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.742e-05/0.8403, allocations: 3.984 kB / 0.711 GB, free: 12.26 MB / 0.545 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.002952/0.8432, allocations: 1.073 MB / 0.7121 GB, free: 11.16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.236e-05/0.8433, allocations: 12.02 kB / 0.7121 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008678/0.8442, allocations: 139.5 kB / 0.7122 GB, free: 11.01 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.8454, allocations: 493.2 kB / 0.7127 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/0.8456, allocations: 100.4 kB / 0.7128 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.8457, allocations: 48.5 kB / 0.7128 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.8474, allocations: 0.8175 MB / 0.7136 GB, free: 9.441 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.611e-05/0.8474, allocations: 7.938 kB / 0.7136 GB, free: 9.434 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.603e-05/0.8475, allocations: 24 kB / 0.7137 GB, free: 9.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.564e-05/0.8476, allocations: 36.98 kB / 0.7137 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.8488, allocations: 0.6088 MB / 0.7143 GB, free: 8.766 MB / 0.545 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.005785/0.8546, allocations: 3.95 MB / 0.7182 GB, free: 4.57 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006312/0.8553, allocations: 331.6 kB / 0.7185 GB, free: 4.238 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/0.8556, allocations: 173.3 kB / 0.7186 GB, free: 4.066 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004095/0.856, allocations: 134.1 kB / 0.7188 GB, free: 3.938 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/0.856, allocations: 38.84 kB / 0.7188 GB, free: 3.891 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 2.414e-06/0.856, allocations: 0 / 0.7188 GB, free: 3.891 MB / 0.545 GB Notification: Performance of matching and sorting (n=39): time 0.005958/0.862, allocations: 1.596 MB / 0.7204 GB, free: 2.246 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/0.8621, allocations: 136.5 kB / 0.7205 GB, free: 2.082 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008435/0.863, allocations: 0.6211 MB / 0.7211 GB, free: 1.453 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.392e-05/0.863, allocations: 37.7 kB / 0.7211 GB, free: 1.41 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003723/0.8634, allocations: 367.9 kB / 0.7215 GB, free: 1.047 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.8635, allocations: 150.7 kB / 0.7216 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002385/0.8638, allocations: 150.6 kB / 0.7218 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000206/0.864, allocations: 382.8 kB / 0.7221 GB, free: 372 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003783/0.8644, allocations: 201.9 kB / 0.7223 GB, free: 172 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007124/0.8651, allocations: 0.5125 MB / 0.7228 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.8661, allocations: 0.7483 MB / 0.7236 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.8661, allocations: 4 kB / 0.7236 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001533/0.8677, allocations: 0.8725 MB / 0.7244 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.8677, allocations: 15.98 kB / 0.7244 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.8677, allocations: 8 kB / 0.7244 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001431/0.8692, allocations: 312.9 kB / 0.7247 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004411/0.8696, allocations: 119.8 kB / 0.7248 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.8708, allocations: 0.9425 MB / 0.7258 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004791/0.8713, allocations: 24 kB / 0.7258 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.924e-05/0.8714, allocations: 67.98 kB / 0.7259 GB, free: 12.22 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003754/0.8718, allocations: 241.5 kB / 0.7261 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.8719, allocations: 75.52 kB / 0.7262 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/0.8733, allocations: 0.6828 MB / 0.7268 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.8733, allocations: 7.938 kB / 0.7268 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.8733, allocations: 0 / 0.7268 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.8733, allocations: 0 / 0.7268 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002286/0.8756, allocations: 1.277 MB / 0.7281 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/0.8756, allocations: 7.938 kB / 0.7281 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.8767, allocations: 207.8 kB / 0.7283 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.529e-05/0.8768, allocations: 32.91 kB / 0.7283 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.05e-05/0.8768, allocations: 15.98 kB / 0.7283 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002445/0.8793, allocations: 2.667 MB / 0.7309 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.8793, allocations: 0 / 0.7309 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.8806, allocations: 0.8131 MB / 0.7317 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002792/0.8809, allocations: 127.4 kB / 0.7319 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.685e-05/0.881, allocations: 17.05 kB / 0.7319 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003975/0.8814, allocations: 16 kB / 0.7319 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.8815, allocations: 39.88 kB / 0.7319 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.841e-05/0.8816, allocations: 44.05 kB / 0.732 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006063/0.8822, allocations: 451 kB / 0.7324 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8822, allocations: 0 / 0.7324 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001181/0.8834, allocations: 295.7 kB / 0.7327 GB, free: 4.891 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001121/0.8845, allocations: 362 kB / 0.733 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001165/0.8857, allocations: 0.5312 MB / 0.7335 GB, free: 4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.8857, allocations: 7.938 kB / 0.7335 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.8867, allocations: 398.7 kB / 0.7339 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.8882, allocations: 367.1 kB / 0.7343 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002512/0.8907, allocations: 1.331 MB / 0.7356 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006744/0.8914, allocations: 0.9299 MB / 0.7365 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008178/0.8922, allocations: 262 kB / 0.7367 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002683/0.8925, allocations: 99.41 kB / 0.7368 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of SimCode: time 1.813e-06/0.8925, allocations: 0 / 0.7368 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of Templates: time 0.03682/0.9293, allocations: 19.05 MB / 0.7554 GB, free: 13.53 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.12829677015543]