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.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.001546/0.001546, allocations: 105 kB / 20.44 MB, free: 1.504 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.001619/0.001619, allocations: 221.3 kB / 23.76 MB, free: 4.723 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.325/1.325, allocations: 207.6 MB / 234.5 MB, free: 10 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.2008/0.2008, allocations: 44.24 MB / 331 MB, free: 9.523 MB / 270.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.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.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.002076/0.002076, allocations: 72.27 kB / 468.8 MB, free: 3.992 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1061, allocations: 61.03 MB / 0.5174 GB, free: 6.824 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3945/0.5006, allocations: 180.5 MB / 0.6937 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01114/0.5118, allocations: 8.276 MB / 0.7018 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007026/0.5125, allocations: 27.75 kB / 0.7018 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.5135, allocations: 318 kB / 0.7021 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004054/0.5176, allocations: 1.525 MB / 0.7036 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00298/0.5205, allocations: 1.183 MB / 0.7048 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002546/0.5231, allocations: 1.872 MB / 0.7066 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000787/0.5239, allocations: 401.5 kB / 0.707 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002871/0.5267, allocations: 1.269 MB / 0.7082 GB, free: 15.94 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001332/0.5281, allocations: 0.7047 MB / 0.7089 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002052/0.5283, allocations: 60 kB / 0.7089 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001979/0.5303, allocations: 0.8503 MB / 0.7098 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003869/0.5306, allocations: 279.1 kB / 0.71 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006527/0.5313, allocations: 386.3 kB / 0.7104 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002485/0.5338, allocations: 1.433 MB / 0.7118 GB, free: 12.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.5338, allocations: 0 / 0.7118 GB, free: 12.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5338, allocations: 0 / 0.7118 GB, free: 12.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.258e-05/0.5338, allocations: 0 / 0.7118 GB, free: 12.23 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.002604/0.5364, allocations: 1.08 MB / 0.7129 GB, free: 11.12 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.5365, allocations: 12.02 kB / 0.7129 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008641/0.5373, allocations: 135.4 kB / 0.713 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.5383, allocations: 489.3 kB / 0.7135 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/0.5385, allocations: 155.8 kB / 0.7136 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.5386, allocations: 48 kB / 0.7137 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.5399, allocations: 0.8135 MB / 0.7145 GB, free: 9.352 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/0.5399, allocations: 8 kB / 0.7145 GB, free: 9.344 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.416e-05/0.54, allocations: 23.98 kB / 0.7145 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.589e-05/0.5401, allocations: 36.98 kB / 0.7145 GB, free: 9.285 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.5411, allocations: 0.6165 MB / 0.7151 GB, free: 8.668 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.004873/0.546, allocations: 3.949 MB / 0.719 GB, free: 4.473 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005644/0.5466, allocations: 332.5 kB / 0.7193 GB, free: 4.141 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002714/0.5468, allocations: 165.3 kB / 0.7195 GB, free: 3.977 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000342/0.5472, allocations: 134.1 kB / 0.7196 GB, free: 3.848 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.5472, allocations: 42.78 kB / 0.7196 GB, free: 3.797 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 2.094e-06/0.5472, allocations: 0 / 0.7196 GB, free: 3.797 MB / 0.545 GB Notification: Performance of matching and sorting (n=39): time 0.005213/0.5524, allocations: 1.59 MB / 0.7212 GB, free: 2.156 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.582e-05/0.5525, allocations: 140.4 kB / 0.7213 GB, free: 1.988 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008007/0.5533, allocations: 0.6172 MB / 0.7219 GB, free: 1.363 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.422e-05/0.5534, allocations: 33.7 kB / 0.722 GB, free: 1.324 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000289/0.5537, allocations: 367.9 kB / 0.7223 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.5538, allocations: 154.7 kB / 0.7225 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.554, allocations: 154.6 kB / 0.7226 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001897/0.5542, allocations: 382.8 kB / 0.723 GB, free: 276 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003607/0.5546, allocations: 197.9 kB / 0.7232 GB, free: 80 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000621/0.5552, allocations: 0.5125 MB / 0.7237 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.5562, allocations: 0.7483 MB / 0.7244 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.5562, allocations: 4 kB / 0.7244 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001503/0.5577, allocations: 0.8804 MB / 0.7252 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.5577, allocations: 12 kB / 0.7253 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.5577, allocations: 8 kB / 0.7253 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/0.5591, allocations: 313.9 kB / 0.7256 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.5595, allocations: 119.8 kB / 0.7257 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.5606, allocations: 0.9451 MB / 0.7266 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004953/0.5611, allocations: 20 kB / 0.7266 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.773e-05/0.5612, allocations: 71.98 kB / 0.7267 GB, free: 12.14 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.0003678/0.5616, allocations: 245.5 kB / 0.7269 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.5617, allocations: 79.45 kB / 0.727 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.5631, allocations: 0.6796 MB / 0.7277 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.5631, allocations: 4 kB / 0.7277 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.5631, allocations: 1.188 kB / 0.7277 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.5631, allocations: 3.984 kB / 0.7277 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/0.5653, allocations: 1.273 MB / 0.7289 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.5653, allocations: 7.938 kB / 0.7289 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009944/0.5663, allocations: 203.8 kB / 0.7291 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.221e-05/0.5664, allocations: 24.97 kB / 0.7291 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/0.5665, allocations: 23.98 kB / 0.7292 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002182/0.5686, allocations: 2.671 MB / 0.7318 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.5686, allocations: 0 / 0.7318 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.5699, allocations: 0.8209 MB / 0.7326 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003251/0.5702, allocations: 127.4 kB / 0.7327 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.159e-05/0.5703, allocations: 8 kB / 0.7327 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003575/0.5707, allocations: 12 kB / 0.7327 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.548e-05/0.5707, allocations: 43.94 kB / 0.7328 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.476e-05/0.5708, allocations: 43.97 kB / 0.7328 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005357/0.5713, allocations: 443 kB / 0.7332 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5713, allocations: 0 / 0.7332 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009153/0.5723, allocations: 299.7 kB / 0.7335 GB, free: 4.805 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.0008823/0.5731, allocations: 373.6 kB / 0.7339 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0011/0.5742, allocations: 0.5235 MB / 0.7344 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5742, allocations: 4 kB / 0.7344 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009024/0.5751, allocations: 394.6 kB / 0.7348 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/0.5767, allocations: 376.4 kB / 0.7351 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.579, allocations: 1.367 MB / 0.7365 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000622/0.5796, allocations: 0.9299 MB / 0.7374 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000329/0.58, allocations: 111.4 kB / 0.7375 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of SimCode: time 9.12e-07/0.58, allocations: 0 / 0.7375 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of Templates: time 0.02346/0.6034, allocations: 17.16 MB / 0.7542 GB, free: 15.5 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/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: 9.739253191975877]