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.0007734/0.0007734, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00562/0.006394, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0008919/0.0008919, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00118/0.002072, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.038/1.038, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1282/1.166, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.3725/0.3725, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.036/0.4085, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.7 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: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 0 / 290.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.87e-05/4.105e-05, allocations: 5.188 kB / 290.6 MB, free: 7.652 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.1747/0.1748, allocations: 148.6 MB / 439.2 MB, free: 3.172 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003632/0.1784, allocations: 2.642 MB / 441.8 MB, free: 0.5195 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002826/0.1787, allocations: 27.75 kB / 441.8 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004631/0.1791, allocations: 218.5 kB / 442.1 MB, free: 284 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.2538/0.433, allocations: 1.051 MB / 443.1 MB, free: 4.031 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002221/0.4352, allocations: 0.8107 MB / 443.9 MB, free: 4.031 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003253/0.4385, allocations: 1.928 MB / 445.8 MB, free: 4.031 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.4395, allocations: 416.6 kB / 446.3 MB, free: 4.016 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002988/0.4425, allocations: 1.18 MB / 447.4 MB, free: 4 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00121/0.4437, allocations: 0.5641 MB / 448 MB, free: 4 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001786/0.4439, allocations: 62.7 kB / 448.1 MB, free: 4 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001231/0.4451, allocations: 478.8 kB / 448.5 MB, free: 3.992 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002916/0.4454, allocations: 238.2 kB / 448.8 MB, free: 3.992 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003869/0.4458, allocations: 226.1 kB / 449 MB, free: 3.992 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001507/0.4473, allocations: 0.8698 MB / 449.9 MB, free: 3.922 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-05/0.4473, allocations: 0 / 449.9 MB, free: 3.922 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.4473, allocations: 0.8438 kB / 449.9 MB, free: 3.922 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.469e-05/0.4474, allocations: 0 / 449.9 MB, free: 3.922 MB / 426.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.00233/0.4497, allocations: 1.243 MB / 451.1 MB, free: 19.33 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.4497, allocations: 9.656 kB / 451.1 MB, free: 19.33 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006454/0.4504, allocations: 210.4 kB / 451.3 MB, free: 19.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006966/0.4511, allocations: 414.4 kB / 451.7 MB, free: 19.1 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.4512, allocations: 159.9 kB / 451.9 MB, free: 18.98 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.872e-05/0.4513, allocations: 51.59 kB / 451.9 MB, free: 18.98 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000823/0.4521, allocations: 0.8914 MB / 452.8 MB, free: 18.33 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/0.4521, allocations: 10.72 kB / 452.8 MB, free: 18.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.25e-05/0.4522, allocations: 22.47 kB / 452.8 MB, free: 18.32 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.599e-05/0.4522, allocations: 37.8 kB / 452.9 MB, free: 18.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003733/0.4526, allocations: 232.6 kB / 453.1 MB, free: 18.31 MB / 442.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.00277/0.4554, allocations: 2.658 MB / 455.8 MB, free: 16.42 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.4557, allocations: 165.6 kB / 455.9 MB, free: 16.39 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.614e-05/0.4557, allocations: 59.44 kB / 456 MB, free: 16.39 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002145/0.456, allocations: 47 kB / 456 MB, free: 16.38 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.456, allocations: 38.38 kB / 456.1 MB, free: 16.34 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 3.867e-06/0.456, allocations: 0 / 456.1 MB, free: 16.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.002705/0.4587, allocations: 0.9143 MB / 457 MB, free: 16.01 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.4587, allocations: 56.91 kB / 457 MB, free: 15.95 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004569/0.4592, allocations: 486.1 kB / 457.5 MB, free: 15.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.559e-05/0.4592, allocations: 36.11 kB / 457.5 MB, free: 15.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.4594, allocations: 336.3 kB / 457.9 MB, free: 15.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.338e-05/0.4595, allocations: 152.7 kB / 458 MB, free: 15.45 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.4597, allocations: 143.5 kB / 458.2 MB, free: 15.42 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.4598, allocations: 378 kB / 458.5 MB, free: 15.11 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.716e-05/0.4599, allocations: 66.38 kB / 458.6 MB, free: 15.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003147/0.4602, allocations: 493.9 kB / 459.1 MB, free: 14.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004782/0.4607, allocations: 0.5254 MB / 459.6 MB, free: 14.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/0.4607, allocations: 3.719 kB / 459.6 MB, free: 14.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007031/0.4614, allocations: 494.3 kB / 460.1 MB, free: 14.17 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/0.4615, allocations: 12.14 kB / 460.1 MB, free: 14.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/0.4615, allocations: 14.27 kB / 460.1 MB, free: 14.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007062/0.4622, allocations: 214.4 kB / 460.3 MB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003147/0.4625, allocations: 147.4 kB / 460.5 MB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006708/0.4632, allocations: 0.6803 MB / 461.2 MB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000401/0.4636, allocations: 24.41 kB / 461.2 MB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.09e-05/0.4636, allocations: 52.34 kB / 461.2 MB, free: 13.62 MB / 442.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.0002524/0.4639, allocations: 164.8 kB / 461.4 MB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.56e-05/0.464, allocations: 49.52 kB / 461.4 MB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008892/0.4649, allocations: 0.5695 MB / 462 MB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.106e-06/0.4649, allocations: 5.812 kB / 462 MB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.4649, allocations: 4.031 kB / 462 MB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.4649, allocations: 4.328 kB / 462 MB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.4661, allocations: 0.7202 MB / 462.7 MB, free: 13.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.4661, allocations: 3 kB / 462.7 MB, free: 13.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006778/0.4668, allocations: 197.6 kB / 462.9 MB, free: 13.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.467, allocations: 73.89 kB / 463 MB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001062/0.4671, allocations: 17.55 kB / 463 MB, free: 13.06 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.175e-05/0.4671, allocations: 21.55 kB / 463 MB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/0.4688, allocations: 2.403 MB / 465.5 MB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.4688, allocations: 0 / 465.5 MB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005785/0.4693, allocations: 471.9 kB / 465.9 MB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.318e-05/0.4694, allocations: 6.219 kB / 465.9 MB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.4697, allocations: 16.59 kB / 465.9 MB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.607e-05/0.4697, allocations: 39.77 kB / 466 MB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.464e-05/0.4698, allocations: 28.28 kB / 466 MB, free: 10.45 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002026/0.47, allocations: 201.3 kB / 466.2 MB, free: 10.43 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.47, allocations: 0.6562 kB / 466.2 MB, free: 10.43 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008932/0.4709, allocations: 246.4 kB / 466.4 MB, free: 10.41 MB / 442.7 MB 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 (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.0004987/0.4714, allocations: 236.5 kB / 466.7 MB, free: 10.33 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006076/0.472, allocations: 326.1 kB / 467 MB, free: 10.32 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.172e-05/0.472, allocations: 13.12 kB / 467 MB, free: 10.31 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004928/0.4725, allocations: 306.5 kB / 467.3 MB, free: 10.17 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009926/0.4735, allocations: 386.5 kB / 467.7 MB, free: 10.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.4837, allocations: 1.152 MB / 468.8 MB, free: 9.574 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.4839, allocations: 169.4 kB / 469 MB, free: 9.496 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008894/0.4848, allocations: 363.4 kB / 469.3 MB, free: 9.449 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000668/0.4855, allocations: 319.2 kB / 469.7 MB, free: 9.395 MB / 442.7 MB Notification: Performance of SimCode: time 1.473e-06/0.4855, allocations: 0 / 469.7 MB, free: 9.395 MB / 442.7 MB Notification: Performance of Templates: time 0.02475/0.5102, allocations: 16.52 MB / 486.2 MB, free: 7.391 MB / 442.7 MB " [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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 240] 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","",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.9750001849606633]