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.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.001284/0.001284, allocations: 100.6 kB / 21.22 MB, free: 0.6562 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.001429/0.001429, allocations: 185.2 kB / 24.51 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 225.6 MB / 253.3 MB, free: 13.05 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.234/0.234, allocations: 44.91 MB / 353.5 MB, free: 11.83 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_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: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 71.88 kB / 497.7 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4556/0.4576, allocations: 64.29 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.25/0.7076, allocations: 175.1 MB / 0.7199 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01098/0.7186, allocations: 5.393 MB / 0.7251 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/0.7201, allocations: 31.69 kB / 0.7252 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.7217, allocations: 322 kB / 0.7255 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005247/0.7269, allocations: 1.281 MB / 0.7267 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00354/0.7304, allocations: 0.9971 MB / 0.7277 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003716/0.7342, allocations: 1.872 MB / 0.7295 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.7354, allocations: 397.6 kB / 0.7299 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003841/0.7393, allocations: 1.098 MB / 0.731 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001738/0.741, allocations: 0.7007 MB / 0.7317 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000299/0.7413, allocations: 67.94 kB / 0.7317 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002323/0.7436, allocations: 0.6437 MB / 0.7324 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000592/0.7442, allocations: 267.2 kB / 0.7326 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000989/0.7452, allocations: 398.2 kB / 0.733 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003556/0.7488, allocations: 1.308 MB / 0.7343 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.7488, allocations: 0 / 0.7343 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.282e-06/0.7488, allocations: 4 kB / 0.7343 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.571e-05/0.7488, allocations: 0 / 0.7343 GB, free: 0.8164 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.3987/1.147, allocations: 1.045 MB / 0.7353 GB, free: 186 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001237/1.148, allocations: 9.688 kB / 0.7353 GB, free: 186 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001994/1.15, allocations: 137.5 kB / 0.7354 GB, free: 186 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/1.151, allocations: 472.5 kB / 0.7359 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001834/1.152, allocations: 107.1 kB / 0.736 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/1.152, allocations: 54.02 kB / 0.736 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002259/1.154, allocations: 0.8192 MB / 0.7368 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.618e-05/1.154, allocations: 6.297 kB / 0.7368 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/1.154, allocations: 23.38 kB / 0.7369 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001056/1.154, allocations: 40.89 kB / 0.7369 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/1.156, allocations: 0.619 MB / 0.7375 GB, free: 185 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.004429/1.161, allocations: 3.914 MB / 0.7413 GB, free: 181.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006187/1.161, allocations: 346.1 kB / 0.7417 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002665/1.161, allocations: 165.8 kB / 0.7418 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/1.161, allocations: 13.11 kB / 0.7418 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/1.162, allocations: 38.22 kB / 0.7419 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.944e-06/1.162, allocations: 1.281 kB / 0.7419 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005666/1.167, allocations: 1.609 MB / 0.7434 GB, free: 180.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/1.167, allocations: 136 kB / 0.7436 GB, free: 180.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008336/1.168, allocations: 0.6135 MB / 0.7442 GB, free: 179.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.905e-05/1.168, allocations: 36.92 kB / 0.7442 GB, free: 179.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/1.168, allocations: 372.2 kB / 0.7446 GB, free: 179.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/1.168, allocations: 149.6 kB / 0.7447 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002402/1.169, allocations: 164.5 kB / 0.7449 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001141/1.169, allocations: 371.5 kB / 0.7452 GB, free: 179 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003542/1.169, allocations: 206 kB / 0.7454 GB, free: 178.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004451/1.17, allocations: 0.5151 MB / 0.7459 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007879/1.17, allocations: 0.7488 MB / 0.7466 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.17, allocations: 3.969 kB / 0.7467 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001278/1.172, allocations: 0.8819 MB / 0.7475 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/1.172, allocations: 7.812 kB / 0.7475 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/1.172, allocations: 11.5 kB / 0.7475 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/1.173, allocations: 319.8 kB / 0.7478 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/1.173, allocations: 115.8 kB / 0.7479 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008808/1.174, allocations: 0.9437 MB / 0.7489 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005488/1.175, allocations: 28 kB / 0.7489 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.031e-05/1.175, allocations: 63.98 kB / 0.749 GB, free: 175.9 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.0003119/1.175, allocations: 245.5 kB / 0.7492 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/1.175, allocations: 71.56 kB / 0.7493 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/1.177, allocations: 0.8697 MB / 0.7501 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/1.177, allocations: 11.98 kB / 0.7501 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/1.177, allocations: 0 / 0.7501 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/1.177, allocations: 0 / 0.7501 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/1.178, allocations: 1.216 MB / 0.7513 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/1.178, allocations: 4 kB / 0.7513 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/1.179, allocations: 211.8 kB / 0.7515 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.307e-05/1.18, allocations: 20.84 kB / 0.7515 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/1.18, allocations: 19.98 kB / 0.7516 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/1.181, allocations: 2.686 MB / 0.7542 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.181, allocations: 7.969 kB / 0.7542 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/1.182, allocations: 0.8221 MB / 0.755 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002545/1.182, allocations: 111.5 kB / 0.7551 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.184e-05/1.183, allocations: 19.88 kB / 0.7551 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003789/1.183, allocations: 15.98 kB / 0.7551 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.804e-05/1.183, allocations: 43.94 kB / 0.7552 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.535e-05/1.183, allocations: 43.98 kB / 0.7552 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004877/1.184, allocations: 443.1 kB / 0.7556 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.184, allocations: 0 / 0.7556 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009362/1.184, allocations: 251.8 kB / 0.7559 GB, free: 168.5 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.0008386/1.185, allocations: 292.4 kB / 0.7562 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009743/1.186, allocations: 0.5392 MB / 0.7567 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.186, allocations: 0 / 0.7567 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008493/1.187, allocations: 416 kB / 0.7571 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/1.189, allocations: 369.1 kB / 0.7574 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/1.19, allocations: 1.347 MB / 0.7587 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/1.191, allocations: 0.9416 MB / 0.7597 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008945/1.192, allocations: 462.4 kB / 0.7601 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002627/1.192, allocations: 115.4 kB / 0.7602 GB, free: 164 MB / 0.5606 GB Notification: Performance of SimCode: time 6.51e-07/1.192, allocations: 0 / 0.7602 GB, free: 164 MB / 0.5606 GB Notification: Performance of Templates: time 0.02613/1.218, allocations: 18.1 MB / 0.7779 GB, free: 146.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins/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: 6.7298884922638535]