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.001912/0.001912, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002466/0.002466, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.481/1.481, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2344/0.2344, allocations: 46.96 MB / 360.9 MB, free: 4.02 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.002145/0.002145, allocations: 71.89 kB / 0.4966 GB, free: 7.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3435, allocations: 66.03 MB / 0.5611 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.178/0.5215, allocations: 130.3 MB / 0.6883 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008728/0.5302, allocations: 5.16 MB / 0.6933 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007075/0.5309, allocations: 31.69 kB / 0.6934 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.5321, allocations: 318 kB / 0.6937 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002489/0.5346, allocations: 0.8824 MB / 0.6945 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002895/0.5375, allocations: 1.061 MB / 0.6956 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002919/0.5404, allocations: 1.805 MB / 0.6973 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007554/0.5412, allocations: 401.6 kB / 0.6977 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001454/0.5426, allocations: 0.7902 MB / 0.6985 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.5438, allocations: 0.7358 MB / 0.6992 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.5439, allocations: 64 kB / 0.6993 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.5451, allocations: 487.1 kB / 0.6997 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002936/0.5453, allocations: 263.2 kB / 0.7 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003968/0.5457, allocations: 346.5 kB / 0.7003 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001603/0.5473, allocations: 1.16 MB / 0.7015 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.5474, allocations: 0 / 0.7015 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5474, allocations: 0 / 0.7015 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.519e-05/0.5474, allocations: 0 / 0.7015 GB, free: 3.895 MB / 0.5294 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.002262/0.5496, allocations: 0.999 MB / 0.7024 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.5497, allocations: 8.031 kB / 0.7024 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003792/0.5501, allocations: 92.42 kB / 0.7025 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.5511, allocations: 494.6 kB / 0.703 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001712/0.5513, allocations: 152.4 kB / 0.7031 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.5514, allocations: 56.3 kB / 0.7032 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.5531, allocations: 1.145 MB / 0.7043 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.5531, allocations: 4 kB / 0.7043 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.357e-05/0.5532, allocations: 24 kB / 0.7043 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.536e-05/0.5532, allocations: 40.92 kB / 0.7044 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.5543, allocations: 0.6479 MB / 0.705 GB, free: 24 kB / 0.5294 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.004489/0.5588, allocations: 3.07 MB / 0.708 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008293/0.5597, allocations: 412.2 kB / 0.7084 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003293/0.56, allocations: 185.4 kB / 0.7086 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002914/0.5603, allocations: 72.28 kB / 0.7087 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.5603, allocations: 38.89 kB / 0.7087 GB, free: 12.14 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 2.665e-06/0.5603, allocations: 0 / 0.7087 GB, free: 12.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=45): time 0.003228/0.5636, allocations: 1.39 MB / 0.71 GB, free: 10.71 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.959e-05/0.5636, allocations: 132.5 kB / 0.7102 GB, free: 10.55 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006297/0.5643, allocations: 0.522 MB / 0.7107 GB, free: 10.02 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.354e-05/0.5643, allocations: 33.7 kB / 0.7107 GB, free: 9.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000306/0.5646, allocations: 368.4 kB / 0.7111 GB, free: 9.617 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.5648, allocations: 170.5 kB / 0.7112 GB, free: 9.449 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.565, allocations: 146.6 kB / 0.7114 GB, free: 9.301 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.5652, allocations: 366.8 kB / 0.7117 GB, free: 8.934 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003981/0.5656, allocations: 217.9 kB / 0.7119 GB, free: 8.719 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007132/0.5663, allocations: 0.5954 MB / 0.7125 GB, free: 7.961 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.5674, allocations: 0.7562 MB / 0.7132 GB, free: 7.078 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.5674, allocations: 4 kB / 0.7132 GB, free: 7.074 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001723/0.5691, allocations: 0.8985 MB / 0.7141 GB, free: 6.164 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.5691, allocations: 8 kB / 0.7141 GB, free: 6.156 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.5692, allocations: 15.94 kB / 0.7141 GB, free: 6.141 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001405/0.5706, allocations: 287.4 kB / 0.7144 GB, free: 5.859 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004042/0.571, allocations: 123.8 kB / 0.7145 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/0.5721, allocations: 0.8879 MB / 0.7154 GB, free: 4.824 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000436/0.5725, allocations: 23.98 kB / 0.7154 GB, free: 4.801 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.407e-05/0.5726, allocations: 36 kB / 0.7155 GB, free: 4.766 MB / 0.545 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.0003448/0.5729, allocations: 245.5 kB / 0.7157 GB, free: 4.516 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.5731, allocations: 59.62 kB / 0.7158 GB, free: 4.457 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.5744, allocations: 0.6991 MB / 0.7164 GB, free: 3.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.5744, allocations: 4 kB / 0.7164 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.5744, allocations: 3.938 kB / 0.7164 GB, free: 3.742 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.5744, allocations: 3.984 kB / 0.7165 GB, free: 3.738 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/0.5765, allocations: 1.172 MB / 0.7176 GB, free: 2.504 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.5765, allocations: 4 kB / 0.7176 GB, free: 2.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.5775, allocations: 203.7 kB / 0.7178 GB, free: 2.301 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-05/0.5776, allocations: 29.02 kB / 0.7178 GB, free: 2.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-05/0.5777, allocations: 16 kB / 0.7178 GB, free: 2.254 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002257/0.5799, allocations: 2.624 MB / 0.7204 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.433e-06/0.5799, allocations: 8.016 kB / 0.7204 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.5814, allocations: 0.9343 MB / 0.7213 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002991/0.5817, allocations: 119.6 kB / 0.7214 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.069e-05/0.5818, allocations: 11.98 kB / 0.7214 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003687/0.5822, allocations: 16 kB / 0.7215 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.605e-05/0.5823, allocations: 31.94 kB / 0.7215 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.244e-05/0.5823, allocations: 28.12 kB / 0.7215 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004577/0.5828, allocations: 366.7 kB / 0.7219 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5828, allocations: 0 / 0.7219 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008229/0.5836, allocations: 219.8 kB / 0.7221 GB, free: 13.68 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.0004431/0.584, allocations: 247 kB / 0.7223 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001299/0.5853, allocations: 0.5864 MB / 0.7229 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.5853, allocations: 3.953 kB / 0.7229 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.5865, allocations: 443.5 kB / 0.7233 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/0.5881, allocations: 313.6 kB / 0.7236 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.5904, allocations: 1.383 MB / 0.725 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.5908, allocations: 341.1 kB / 0.7253 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005943/0.5914, allocations: 192.6 kB / 0.7255 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.5916, allocations: 59.42 kB / 0.7255 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of SimCode: time 7.02e-07/0.5916, allocations: 3.938 kB / 0.7255 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of Templates: time 0.2756/0.8672, allocations: 15.26 MB / 0.7404 GB, free: 170.7 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.227769639343023]