Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001311/0.001311, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001406/0.001406, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.642/1.642, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.2532/0.2532, allocations: 46.92 MB / 357.1 MB, free: 10.32 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.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 67.89 kB / 0.4914 GB, free: 7.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1557, allocations: 65.99 MB / 0.5559 GB, free: 5.359 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.6373/0.7929, allocations: 177.9 MB / 0.7296 GB, free: 15.22 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009532/0.8025, allocations: 5.346 MB / 0.7348 GB, free: 9.852 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009805/0.8034, allocations: 31.69 kB / 0.7348 GB, free: 9.82 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.8046, allocations: 322 kB / 0.7351 GB, free: 9.504 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004209/0.8088, allocations: 1.279 MB / 0.7364 GB, free: 8.227 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003097/0.8119, allocations: 0.95 MB / 0.7373 GB, free: 7.285 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003035/0.8149, allocations: 1.86 MB / 0.7391 GB, free: 5.418 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007927/0.8157, allocations: 401.5 kB / 0.7395 GB, free: 5.023 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003076/0.8188, allocations: 1.109 MB / 0.7406 GB, free: 3.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.8203, allocations: 0.6968 MB / 0.7413 GB, free: 3.211 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001373/0.8204, allocations: 60 kB / 0.7413 GB, free: 3.152 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.8221, allocations: 0.6359 MB / 0.7419 GB, free: 2.516 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003524/0.8225, allocations: 267.2 kB / 0.7422 GB, free: 2.254 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000551/0.823, allocations: 398.2 kB / 0.7426 GB, free: 1.863 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002369/0.8254, allocations: 1.308 MB / 0.7439 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.8254, allocations: 4 kB / 0.7439 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.923e-06/0.8254, allocations: 0 / 0.7439 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.293e-05/0.8254, allocations: 0 / 0.7439 GB, free: 0.5469 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.002612/0.828, allocations: 1.121 MB / 0.7449 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.8281, allocations: 12.03 kB / 0.745 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009054/0.829, allocations: 139.4 kB / 0.7451 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009781/0.83, allocations: 0.5279 MB / 0.7456 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.8301, allocations: 108.4 kB / 0.7457 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.8302, allocations: 48 kB / 0.7458 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.8316, allocations: 0.8135 MB / 0.7466 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.8317, allocations: 0 / 0.7466 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.654e-05/0.8317, allocations: 27.98 kB / 0.7466 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.232e-05/0.8318, allocations: 44.92 kB / 0.7466 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.833, allocations: 0.6243 MB / 0.7472 GB, free: 12.91 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.005357/0.8384, allocations: 3.937 MB / 0.7511 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000683/0.839, allocations: 340.2 kB / 0.7514 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003227/0.8394, allocations: 165.8 kB / 0.7516 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/0.8395, allocations: 89.33 kB / 0.7516 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.8395, allocations: 38.84 kB / 0.7517 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.705e-06/0.8395, allocations: 4 kB / 0.7517 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006634/0.8462, allocations: 1.685 MB / 0.7533 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.424e-05/0.8463, allocations: 136.5 kB / 0.7535 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008674/0.8471, allocations: 0.6172 MB / 0.7541 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.21e-05/0.8472, allocations: 33.7 kB / 0.7541 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000324/0.8475, allocations: 375.8 kB / 0.7545 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.8477, allocations: 154.8 kB / 0.7546 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002769/0.848, allocations: 154.6 kB / 0.7547 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002224/0.8482, allocations: 374.8 kB / 0.7551 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004246/0.8486, allocations: 201.7 kB / 0.7553 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007198/0.8493, allocations: 0.5164 MB / 0.7558 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.8505, allocations: 0.7516 MB / 0.7565 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.268e-06/0.8505, allocations: 4 kB / 0.7565 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001782/0.8523, allocations: 0.8756 MB / 0.7574 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.8523, allocations: 10.84 kB / 0.7574 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.8523, allocations: 8 kB / 0.7574 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001541/0.8539, allocations: 317.8 kB / 0.7577 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004378/0.8543, allocations: 123.8 kB / 0.7578 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/0.8556, allocations: 0.932 MB / 0.7587 GB, free: 384 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005943/0.8562, allocations: 31.98 kB / 0.7588 GB, free: 352 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.8563, allocations: 68.05 kB / 0.7588 GB, free: 284 kB / 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.0004392/0.8568, allocations: 249.4 kB / 0.7591 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.8569, allocations: 67.77 kB / 0.7591 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001839/0.8588, allocations: 0.8668 MB / 0.76 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.8588, allocations: 7.938 kB / 0.76 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.8588, allocations: 0.625 kB / 0.76 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.8588, allocations: 3.984 kB / 0.76 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002457/0.8613, allocations: 1.461 MB / 0.7614 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.8613, allocations: 0 / 0.7614 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/0.8624, allocations: 212.8 kB / 0.7616 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001101/0.8626, allocations: 29.03 kB / 0.7617 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.934e-05/0.8626, allocations: 15.98 kB / 0.7617 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002615/0.8652, allocations: 2.879 MB / 0.7645 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.8652, allocations: 0 / 0.7645 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.8668, allocations: 0.8308 MB / 0.7653 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003779/0.8672, allocations: 184.7 kB / 0.7655 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.8673, allocations: 12 kB / 0.7655 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004152/0.8677, allocations: 15.98 kB / 0.7655 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.8679, allocations: 51.89 kB / 0.7656 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.397e-05/0.8679, allocations: 39.98 kB / 0.7656 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006332/0.8686, allocations: 443 kB / 0.766 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8686, allocations: 0 / 0.766 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00102/0.8696, allocations: 255.7 kB / 0.7663 GB, free: 8.191 MB / 0.5762 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.0007255/0.8703, allocations: 285.1 kB / 0.7665 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001481/0.8718, allocations: 0.5466 MB / 0.7671 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.8718, allocations: 0 / 0.7671 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.873, allocations: 414.7 kB / 0.7675 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/0.8749, allocations: 364.9 kB / 0.7678 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/0.8775, allocations: 1.344 MB / 0.7691 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006558/0.8781, allocations: 0.9261 MB / 0.77 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001255/0.8794, allocations: 462.4 kB / 0.7705 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004192/0.8798, allocations: 115.4 kB / 0.7706 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of SimCode: time 1.563e-06/0.8798, allocations: 4 kB / 0.7706 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of Templates: time 0.0358/0.9156, allocations: 17.69 MB / 0.7878 GB, free: 2.129 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 6.623049728572369]