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.001857/0.001857, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002128/0.002128, allocations: 210.8 kB / 23.73 MB, free: 4.387 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.522/1.522, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.242/0.242, allocations: 44.94 MB / 358.8 MB, free: 6.156 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.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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002983/0.002983, allocations: 71.89 kB / 0.4935 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4025, allocations: 65.48 MB / 0.5575 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2206/0.6231, allocations: 153.9 MB / 0.7077 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01204/0.6351, allocations: 4.93 MB / 0.7126 GB, free: 8.074 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.6362, allocations: 23.75 kB / 0.7126 GB, free: 8.051 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.6377, allocations: 314 kB / 0.7129 GB, free: 7.742 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00551/0.6433, allocations: 1.288 MB / 0.7141 GB, free: 6.457 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004293/0.6475, allocations: 0.981 MB / 0.7151 GB, free: 5.48 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003847/0.6514, allocations: 1.867 MB / 0.7169 GB, free: 3.605 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.6526, allocations: 389.6 kB / 0.7173 GB, free: 3.223 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004233/0.6568, allocations: 1.121 MB / 0.7184 GB, free: 2.098 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/0.6584, allocations: 0.689 MB / 0.7191 GB, free: 1.406 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002592/0.6587, allocations: 60 kB / 0.7191 GB, free: 1.348 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001675/0.6604, allocations: 0.5501 MB / 0.7196 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004562/0.6608, allocations: 275.1 kB / 0.7199 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007887/0.6616, allocations: 326.7 kB / 0.7202 GB, free: 212 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002642/0.6643, allocations: 1.316 MB / 0.7215 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6643, allocations: 0 / 0.7215 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.913e-06/0.6643, allocations: 0 / 0.7215 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.744e-05/0.6643, allocations: 0 / 0.7215 GB, free: 14.89 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.00297/0.6673, allocations: 1.041 MB / 0.7225 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.6673, allocations: 16.02 kB / 0.7225 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009247/0.6682, allocations: 139.4 kB / 0.7227 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.6694, allocations: 473.5 kB / 0.7231 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/0.6696, allocations: 155.8 kB / 0.7233 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.6697, allocations: 55.98 kB / 0.7233 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/0.6714, allocations: 1.14 MB / 0.7244 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.6714, allocations: 0 / 0.7244 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.04e-05/0.6715, allocations: 27.98 kB / 0.7245 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-05/0.6716, allocations: 44.92 kB / 0.7245 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.6728, allocations: 0.6204 MB / 0.7251 GB, free: 10.95 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.005054/0.6778, allocations: 3.211 MB / 0.7282 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006692/0.6785, allocations: 339.6 kB / 0.7286 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/0.6788, allocations: 161.3 kB / 0.7287 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.6789, allocations: 16.27 kB / 0.7287 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.6789, allocations: 42.78 kB / 0.7288 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.973e-06/0.679, allocations: 0 / 0.7288 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006148/0.6851, allocations: 1.589 MB / 0.7303 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.6852, allocations: 144.4 kB / 0.7305 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008074/0.686, allocations: 0.5377 MB / 0.731 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.679e-05/0.6861, allocations: 37.7 kB / 0.731 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003546/0.6864, allocations: 384.2 kB / 0.7314 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/0.6866, allocations: 146.8 kB / 0.7315 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/0.6868, allocations: 154.6 kB / 0.7317 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001979/0.687, allocations: 366.8 kB / 0.732 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003976/0.6874, allocations: 205.9 kB / 0.7322 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006911/0.6881, allocations: 0.5878 MB / 0.7328 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.6893, allocations: 0.7563 MB / 0.7335 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/0.6893, allocations: 4 kB / 0.7335 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001646/0.691, allocations: 0.8687 MB / 0.7344 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.691, allocations: 8 kB / 0.7344 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.691, allocations: 8 kB / 0.7344 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001353/0.6923, allocations: 311 kB / 0.7347 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004499/0.6928, allocations: 123.8 kB / 0.7348 GB, free: 432 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3237/1.016, allocations: 0.9311 MB / 0.7357 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/1.018, allocations: 28.95 kB / 0.7358 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002166/1.018, allocations: 64.38 kB / 0.7358 GB, free: 177.5 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.0006115/1.018, allocations: 249.8 kB / 0.7361 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000216/1.019, allocations: 62.7 kB / 0.7361 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003077/1.022, allocations: 0.8548 MB / 0.737 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/1.022, allocations: 4.266 kB / 0.737 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/1.022, allocations: 4.562 kB / 0.737 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/1.022, allocations: 6.203 kB / 0.737 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003186/1.025, allocations: 1.088 MB / 0.738 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/1.025, allocations: 0 / 0.738 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001734/1.027, allocations: 210 kB / 0.7382 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001411/1.027, allocations: 28.56 kB / 0.7383 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.591e-05/1.027, allocations: 22.03 kB / 0.7383 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002213/1.029, allocations: 2.632 MB / 0.7409 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/1.029, allocations: 4.625 kB / 0.7409 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/1.031, allocations: 0.8153 MB / 0.7417 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003949/1.031, allocations: 106.1 kB / 0.7418 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/1.031, allocations: 13.44 kB / 0.7418 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005899/1.032, allocations: 19.5 kB / 0.7418 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/1.032, allocations: 45.44 kB / 0.7418 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.19e-05/1.032, allocations: 45.31 kB / 0.7419 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006146/1.033, allocations: 357.2 kB / 0.7422 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.11e-07/1.033, allocations: 3.469 kB / 0.7422 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001445/1.034, allocations: 248.5 kB / 0.7425 GB, free: 173.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.0008593/1.035, allocations: 286.7 kB / 0.7427 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00157/1.037, allocations: 0.5298 MB / 0.7432 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/1.037, allocations: 0 / 0.7432 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001444/1.038, allocations: 412.1 kB / 0.7436 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002199/1.04, allocations: 307.1 kB / 0.7439 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002924/1.043, allocations: 1.343 MB / 0.7452 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/1.044, allocations: 333.2 kB / 0.7456 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001508/1.045, allocations: 453.6 kB / 0.746 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004945/1.046, allocations: 103.4 kB / 0.7461 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of SimCode: time 8.21e-07/1.046, allocations: 0 / 0.7461 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.0324/1.078, allocations: 16.69 MB / 0.7624 GB, free: 153.8 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.517245516180992]