Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001591/0.001591, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002196/0.002196, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.471/1.471, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2204/0.2204, allocations: 44.95 MB / 359.6 MB, free: 6.07 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002793/0.002793, allocations: 67.91 kB / 0.4943 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4032, allocations: 65.47 MB / 0.5582 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2153/0.6185, allocations: 153.9 MB / 0.7085 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0092/0.6277, allocations: 4.93 MB / 0.7133 GB, free: 7.957 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008052/0.6285, allocations: 27.75 kB / 0.7133 GB, free: 7.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.6296, allocations: 306 kB / 0.7136 GB, free: 7.629 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00396/0.6336, allocations: 1.293 MB / 0.7149 GB, free: 6.34 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002958/0.6366, allocations: 0.9731 MB / 0.7158 GB, free: 5.371 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00275/0.6393, allocations: 1.871 MB / 0.7176 GB, free: 3.492 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007394/0.64, allocations: 401.5 kB / 0.718 GB, free: 3.098 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002977/0.643, allocations: 1.117 MB / 0.7191 GB, free: 1.977 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.6443, allocations: 0.6851 MB / 0.7198 GB, free: 1.289 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001398/0.6445, allocations: 60 kB / 0.7198 GB, free: 1.23 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.646, allocations: 0.5501 MB / 0.7204 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003454/0.6463, allocations: 271.1 kB / 0.7206 GB, free: 424 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004492/0.6468, allocations: 334.6 kB / 0.721 GB, free: 88 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00215/0.6489, allocations: 1.308 MB / 0.7222 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.6489, allocations: 0 / 0.7222 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.877e-06/0.6489, allocations: 0 / 0.7222 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.249e-05/0.649, allocations: 0 / 0.7222 GB, free: 14.77 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.003111/0.6521, allocations: 1.041 MB / 0.7233 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 7.13e-05/0.6521, allocations: 12.03 kB / 0.7233 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009134/0.6531, allocations: 143.4 kB / 0.7234 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.6543, allocations: 477.3 kB / 0.7239 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000241/0.6545, allocations: 159.7 kB / 0.724 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.6547, allocations: 48 kB / 0.7241 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/0.6566, allocations: 1.144 MB / 0.7252 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/0.6566, allocations: 0 / 0.7252 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-05/0.6567, allocations: 20 kB / 0.7252 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.597e-05/0.6568, allocations: 48.84 kB / 0.7252 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.6579, allocations: 0.6205 MB / 0.7258 GB, free: 10.84 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.005004/0.6629, allocations: 3.215 MB / 0.729 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006414/0.6635, allocations: 335.6 kB / 0.7293 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002965/0.6638, allocations: 165.3 kB / 0.7295 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.475e-05/0.6639, allocations: 8.281 kB / 0.7295 GB, free: 7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/0.664, allocations: 38.84 kB / 0.7295 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.535e-06/0.664, allocations: 0 / 0.7295 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005887/0.6699, allocations: 1.613 MB / 0.7311 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.985e-05/0.67, allocations: 136.5 kB / 0.7312 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007119/0.6707, allocations: 0.5299 MB / 0.7317 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.496e-05/0.6707, allocations: 33.7 kB / 0.7318 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003262/0.6711, allocations: 384.2 kB / 0.7321 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.6712, allocations: 154.7 kB / 0.7323 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002402/0.6715, allocations: 158.6 kB / 0.7324 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002149/0.6717, allocations: 370.8 kB / 0.7328 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003806/0.6721, allocations: 197.9 kB / 0.733 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007762/0.6728, allocations: 0.5878 MB / 0.7335 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.674, allocations: 0.7563 MB / 0.7343 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.674, allocations: 4 kB / 0.7343 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001586/0.6756, allocations: 0.8689 MB / 0.7351 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.6756, allocations: 8 kB / 0.7351 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.6756, allocations: 12.12 kB / 0.7352 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001409/0.677, allocations: 312.6 kB / 0.7354 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004105/0.6774, allocations: 119.8 kB / 0.7356 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3901/1.068, allocations: 0.9311 MB / 0.7365 GB, free: 46.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/1.069, allocations: 27.14 kB / 0.7365 GB, free: 46.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002163/1.069, allocations: 67.95 kB / 0.7366 GB, free: 46.61 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.0006601/1.069, allocations: 247.1 kB / 0.7368 GB, free: 46.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/1.07, allocations: 67.27 kB / 0.7369 GB, free: 46.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003007/1.073, allocations: 0.851 MB / 0.7377 GB, free: 46.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/1.073, allocations: 9.438 kB / 0.7377 GB, free: 46.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/1.073, allocations: 4.25 kB / 0.7377 GB, free: 46.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/1.073, allocations: 1.875 kB / 0.7377 GB, free: 46.41 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003245/1.076, allocations: 1.085 MB / 0.7388 GB, free: 46.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.249e-06/1.076, allocations: 4.156 kB / 0.7388 GB, free: 46.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001916/1.078, allocations: 208.6 kB / 0.739 GB, free: 46.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001446/1.078, allocations: 25.41 kB / 0.739 GB, free: 46.12 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.346e-05/1.078, allocations: 20.16 kB / 0.739 GB, free: 46.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002268/1.08, allocations: 2.629 MB / 0.7416 GB, free: 43.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.08, allocations: 4.688 kB / 0.7416 GB, free: 43.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/1.083, allocations: 0.8151 MB / 0.7424 GB, free: 43.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005286/1.083, allocations: 107.4 kB / 0.7425 GB, free: 43.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/1.083, allocations: 7.375 kB / 0.7425 GB, free: 43.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006464/1.084, allocations: 23.45 kB / 0.7425 GB, free: 43.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/1.084, allocations: 45.5 kB / 0.7426 GB, free: 43.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/1.084, allocations: 47.31 kB / 0.7426 GB, free: 43.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006709/1.085, allocations: 354 kB / 0.7429 GB, free: 43.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/1.085, allocations: 0 / 0.7429 GB, free: 43.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001569/1.086, allocations: 262.1 kB / 0.7432 GB, free: 43.41 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 (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.0009366/1.087, allocations: 276.9 kB / 0.7435 GB, free: 43.32 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001781/1.089, allocations: 0.5346 MB / 0.744 GB, free: 43.32 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.089, allocations: 1 kB / 0.744 GB, free: 43.32 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001597/1.091, allocations: 402.1 kB / 0.7444 GB, free: 43.21 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002478/1.093, allocations: 308 kB / 0.7447 GB, free: 43.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003394/1.097, allocations: 1.385 MB / 0.746 GB, free: 42.63 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/1.097, allocations: 330.2 kB / 0.7463 GB, free: 42.54 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006548/1.098, allocations: 123.9 kB / 0.7464 GB, free: 42.53 MB / 0.5606 GB Notification: Performance of SimCode: time 1.202e-06/1.098, allocations: 0.8438 kB / 0.7464 GB, free: 42.53 MB / 0.5606 GB Notification: Performance of Templates: time 0.03742/1.135, allocations: 16.08 MB / 0.7621 GB, free: 41.36 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 11.185328697785735]