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.000909/0.000909, allocations: 80.05 kB / 20.72 MB, free: 3.77 MB / 18.57 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.001128/0.001128, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 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.007/1.007, allocations: 158.6 MB / 186 MB, free: 2.73 MB / 170.7 MB " [Timeout remaining time 179] 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.1517/0.1517, allocations: 32.38 MB / 270.7 MB, free: 14.59 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 299.1 MB, free: 2.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.871e-05, allocations: 2.312 kB / 299.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.329/0.3291, allocations: 146.4 MB / 445.5 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007813/0.3369, allocations: 5.059 MB / 450.5 MB, free: 6.379 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007606/0.3376, allocations: 31.75 kB / 450.5 MB, free: 6.348 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007295/0.3384, allocations: 218.4 kB / 450.8 MB, free: 6.133 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003221/0.3416, allocations: 1.15 MB / 451.9 MB, free: 4.977 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002407/0.344, allocations: 0.8378 MB / 452.7 MB, free: 4.137 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002516/0.3465, allocations: 1.906 MB / 454.6 MB, free: 2.223 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.3476, allocations: 422.6 kB / 455.1 MB, free: 1.809 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003004/0.3506, allocations: 1.134 MB / 456.2 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001222/0.3518, allocations: 0.5531 MB / 456.7 MB, free: 120 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001777/0.352, allocations: 60 kB / 456.8 MB, free: 60 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2314/0.5834, allocations: 469.8 kB / 457.3 MB, free: 6.031 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004929/0.5838, allocations: 286.7 kB / 457.5 MB, free: 6.031 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000913/0.5848, allocations: 288.6 kB / 457.8 MB, free: 6.031 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002647/0.5874, allocations: 1.007 MB / 458.8 MB, free: 6.031 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.5874, allocations: 0.5312 kB / 458.8 MB, free: 6.031 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.917e-06/0.5874, allocations: 2.703 kB / 458.8 MB, free: 6.031 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.717e-05/0.5874, allocations: 0 / 458.8 MB, free: 6.031 MB / 410.7 MB 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.002396/0.5898, allocations: 0.9898 MB / 459.8 MB, free: 5.535 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.5899, allocations: 10.84 kB / 459.8 MB, free: 5.535 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000714/0.5906, allocations: 203.7 kB / 460 MB, free: 5.512 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008562/0.5915, allocations: 421.2 kB / 460.4 MB, free: 5.312 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.5916, allocations: 154.1 kB / 460.6 MB, free: 5.188 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.5917, allocations: 58.95 kB / 460.7 MB, free: 5.184 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.5929, allocations: 0.9181 MB / 461.6 MB, free: 4.504 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.5929, allocations: 5.312 kB / 461.6 MB, free: 4.504 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.66e-05/0.593, allocations: 24.03 kB / 461.6 MB, free: 4.504 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.81e-05/0.5931, allocations: 38.91 kB / 461.6 MB, free: 4.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006549/0.5937, allocations: 228.8 kB / 461.9 MB, free: 4.488 MB / 410.7 MB 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.003662/0.5974, allocations: 2.665 MB / 464.5 MB, free: 18.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/0.5977, allocations: 165.3 kB / 464.7 MB, free: 18.58 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.5978, allocations: 60.05 kB / 464.8 MB, free: 18.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003221/0.5981, allocations: 133.9 kB / 464.9 MB, free: 18.56 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.5981, allocations: 37.97 kB / 464.9 MB, free: 18.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 2.715e-06/0.5981, allocations: 0.8438 kB / 464.9 MB, free: 18.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.002648/0.6008, allocations: 0.9299 MB / 465.8 MB, free: 18.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.6008, allocations: 136.6 kB / 466 MB, free: 18.03 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004094/0.6012, allocations: 479.2 kB / 466.5 MB, free: 17.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/0.6013, allocations: 36.58 kB / 466.5 MB, free: 17.85 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.6014, allocations: 343.7 kB / 466.8 MB, free: 17.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.667e-05/0.6015, allocations: 152.2 kB / 467 MB, free: 17.53 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.6017, allocations: 142.3 kB / 467.1 MB, free: 17.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.6018, allocations: 377.2 kB / 467.5 MB, free: 17.19 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.602, allocations: 66.48 kB / 467.5 MB, free: 17.19 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/0.6023, allocations: 489.4 kB / 468 MB, free: 16.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005769/0.6029, allocations: 0.5312 MB / 468.6 MB, free: 16.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.6029, allocations: 8.094 kB / 468.6 MB, free: 16.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007074/0.6036, allocations: 494.1 kB / 469 MB, free: 16.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.6037, allocations: 10.16 kB / 469.1 MB, free: 16.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.6037, allocations: 15.69 kB / 469.1 MB, free: 16.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006922/0.6044, allocations: 230.8 kB / 469.3 MB, free: 16.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.6046, allocations: 126 kB / 469.4 MB, free: 16.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008089/0.6054, allocations: 0.6767 MB / 470.1 MB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003922/0.6058, allocations: 24.28 kB / 470.1 MB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.528e-05/0.6059, allocations: 54.52 kB / 470.2 MB, free: 15.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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.0002416/0.6061, allocations: 164.5 kB / 470.3 MB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.912e-05/0.6062, allocations: 53.28 kB / 470.4 MB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005739/0.6068, allocations: 398.8 kB / 470.8 MB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.6068, allocations: 2.531 kB / 470.8 MB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.6068, allocations: 0.9688 kB / 470.8 MB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.6068, allocations: 7.172 kB / 470.8 MB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.6079, allocations: 0.7222 MB / 471.5 MB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.6079, allocations: 2.688 kB / 471.5 MB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000426/0.6083, allocations: 168.7 kB / 471.7 MB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.159e-05/0.6084, allocations: 21.5 kB / 471.7 MB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.6085, allocations: 17.75 kB / 471.7 MB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/0.6097, allocations: 2.393 MB / 474.1 MB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.6097, allocations: 2.156 kB / 474.1 MB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004447/0.6102, allocations: 421.9 kB / 474.5 MB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.6103, allocations: 76.55 kB / 474.6 MB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.196e-05/0.6104, allocations: 11.22 kB / 474.6 MB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.6106, allocations: 13.34 kB / 474.6 MB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.205e-05/0.6106, allocations: 39.42 kB / 474.7 MB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/0.6107, allocations: 28.06 kB / 474.7 MB, free: 12.65 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000163/0.6108, allocations: 204.8 kB / 474.9 MB, free: 12.63 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.6108, allocations: 0.8438 kB / 474.9 MB, free: 12.63 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000894/0.6117, allocations: 251.1 kB / 475.1 MB, free: 12.61 MB / 426.7 MB 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 (38): * Single equations (assignments): 36 * 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.0006506/0.6124, allocations: 281.9 kB / 475.4 MB, free: 12.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005755/0.6129, allocations: 329.8 kB / 475.7 MB, free: 12.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.117e-05/0.613, allocations: 9.781 kB / 475.7 MB, free: 12.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004043/0.6134, allocations: 286.5 kB / 476 MB, free: 12.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007481/0.6141, allocations: 312.4 kB / 476.3 MB, free: 12.35 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.6158, allocations: 1.096 MB / 477.4 MB, free: 11.81 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.6159, allocations: 170.6 kB / 477.6 MB, free: 11.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005024/0.6164, allocations: 167 kB / 477.7 MB, free: 11.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005075/0.6169, allocations: 303.9 kB / 478 MB, free: 11.64 MB / 426.7 MB Notification: Performance of SimCode: time 1.242e-06/0.6169, allocations: 0 / 478 MB, free: 11.64 MB / 426.7 MB Notification: Performance of Templates: time 0.02231/0.6392, allocations: 16.71 MB / 494.8 MB, free: 9.93 MB / 426.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9428437761962414]