Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001863/0.001863, allocations: 112.3 kB / 20.48 MB, free: 1.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00236/0.00236, allocations: 214.6 kB / 23.78 MB, free: 4.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.558/1.558, allocations: 230.5 MB / 257.5 MB, free: 7.934 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2459/0.2459, allocations: 46.95 MB / 360.9 MB, free: 3.914 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002866/0.002866, allocations: 79.88 kB / 0.4967 GB, free: 6.988 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3608, allocations: 66.09 MB / 0.5613 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2087/0.5695, allocations: 153.9 MB / 0.7116 GB, free: 9.496 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008328/0.5779, allocations: 4.93 MB / 0.7164 GB, free: 4.555 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008215/0.5787, allocations: 27.75 kB / 0.7164 GB, free: 4.527 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.5798, allocations: 302 kB / 0.7167 GB, free: 4.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004293/0.5841, allocations: 1.289 MB / 0.7179 GB, free: 2.941 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003464/0.5876, allocations: 0.9837 MB / 0.7189 GB, free: 1.965 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002977/0.5905, allocations: 1.864 MB / 0.7207 GB, free: 96 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/0.5916, allocations: 393.6 kB / 0.7211 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00327/0.5949, allocations: 1.121 MB / 0.7222 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001656/0.5965, allocations: 0.6929 MB / 0.7229 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002699/0.5968, allocations: 60 kB / 0.7229 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001718/0.5985, allocations: 0.5462 MB / 0.7235 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004768/0.599, allocations: 275.2 kB / 0.7237 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007389/0.5997, allocations: 334.6 kB / 0.724 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002545/0.6023, allocations: 1.297 MB / 0.7253 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/0.6023, allocations: 4 kB / 0.7253 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6023, allocations: 0 / 0.7253 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.876e-05/0.6023, allocations: 0 / 0.7253 GB, free: 11.38 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.002788/0.6051, allocations: 1.045 MB / 0.7263 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.6051, allocations: 8.031 kB / 0.7263 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009625/0.6061, allocations: 143.4 kB / 0.7265 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.6072, allocations: 485.3 kB / 0.7269 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/0.6073, allocations: 151.8 kB / 0.7271 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.6074, allocations: 51.98 kB / 0.7271 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.6091, allocations: 1.136 MB / 0.7282 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/0.6091, allocations: 4 kB / 0.7282 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.903e-05/0.6092, allocations: 31.97 kB / 0.7283 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.2e-05/0.6093, allocations: 48.86 kB / 0.7283 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.6105, allocations: 0.6127 MB / 0.7289 GB, free: 7.438 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.005085/0.6156, allocations: 3.216 MB / 0.7321 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006357/0.6162, allocations: 339.7 kB / 0.7324 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002995/0.6165, allocations: 157.3 kB / 0.7325 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.544e-05/0.6166, allocations: 20.27 kB / 0.7326 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.6167, allocations: 38.84 kB / 0.7326 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.014e-06/0.6167, allocations: 4 kB / 0.7326 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006078/0.6228, allocations: 1.593 MB / 0.7342 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.542e-05/0.6229, allocations: 136.5 kB / 0.7343 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007168/0.6236, allocations: 0.5376 MB / 0.7348 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.18e-05/0.6236, allocations: 33.7 kB / 0.7348 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003153/0.624, allocations: 392.2 kB / 0.7352 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.6241, allocations: 146.8 kB / 0.7354 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/0.6244, allocations: 158.6 kB / 0.7355 GB, free: 456 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001869/0.6245, allocations: 366.8 kB / 0.7359 GB, free: 80 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2891/0.9137, allocations: 197.4 kB / 0.736 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006554/0.9143, allocations: 0.5897 MB / 0.7366 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.9154, allocations: 0.7503 MB / 0.7374 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.9154, allocations: 3.219 kB / 0.7374 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001733/0.9171, allocations: 0.8736 MB / 0.7382 GB, free: 174 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.9171, allocations: 11.09 kB / 0.7382 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.9171, allocations: 10.73 kB / 0.7382 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/0.9185, allocations: 318.2 kB / 0.7385 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003918/0.9189, allocations: 117.8 kB / 0.7386 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009257/0.9199, allocations: 0.9384 MB / 0.7396 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004742/0.9203, allocations: 21.09 kB / 0.7396 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.277e-05/0.9204, allocations: 70.28 kB / 0.7396 GB, free: 173.3 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.0002986/0.9207, allocations: 248.2 kB / 0.7399 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.9208, allocations: 64.95 kB / 0.7399 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/0.9223, allocations: 0.8537 MB / 0.7408 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.9223, allocations: 8.234 kB / 0.7408 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.9223, allocations: 0.875 kB / 0.7408 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.9223, allocations: 1.875 kB / 0.7408 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.9239, allocations: 1.089 MB / 0.7419 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.9239, allocations: 0 / 0.7419 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.9249, allocations: 214.8 kB / 0.7421 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.744e-05/0.9249, allocations: 24.19 kB / 0.7421 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.782e-05/0.925, allocations: 30.81 kB / 0.7421 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001323/0.9263, allocations: 2.619 MB / 0.7447 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.9263, allocations: 7.875 kB / 0.7447 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009739/0.9273, allocations: 0.8147 MB / 0.7455 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/0.9275, allocations: 108.3 kB / 0.7456 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.372e-05/0.9276, allocations: 15.56 kB / 0.7456 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003618/0.9279, allocations: 15.66 kB / 0.7456 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.222e-05/0.928, allocations: 38.53 kB / 0.7456 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.469e-05/0.9281, allocations: 43.66 kB / 0.7457 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003456/0.9284, allocations: 362.2 kB / 0.746 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.9284, allocations: 0 / 0.746 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008991/0.9293, allocations: 260.1 kB / 0.7463 GB, free: 168 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.0005299/0.9298, allocations: 270.1 kB / 0.7465 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009812/0.9308, allocations: 0.531 MB / 0.7471 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.9308, allocations: 8 kB / 0.7471 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008536/0.9317, allocations: 410.3 kB / 0.7475 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.933, allocations: 304.8 kB / 0.7477 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.9346, allocations: 1.338 MB / 0.749 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.9348, allocations: 337.1 kB / 0.7494 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007528/0.9355, allocations: 452.5 kB / 0.7498 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002509/0.9358, allocations: 112.4 kB / 0.7499 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of SimCode: time 5.21e-07/0.9358, allocations: 0 / 0.7499 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.01976/0.9555, allocations: 15.73 MB / 0.7653 GB, free: 148.9 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.589718154631555]