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.001564/0.001564, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.001604/0.001604, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.569/1.569, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 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.35/0.35, allocations: 34.25 MB / 295.2 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 179] 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 1.964e-06/1.964e-06, allocations: 0 / 377.2 MB, free: 2.867 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.361e-05/3.558e-05, allocations: 4.141 kB / 377.2 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.389/0.389, allocations: 153.8 MB / 0.5186 GB, free: 9.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006565/0.3956, allocations: 4.911 MB / 0.5234 GB, free: 6.461 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006965/0.3963, allocations: 28.94 kB / 0.5234 GB, free: 6.445 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009702/0.3973, allocations: 308.3 kB / 0.5237 GB, free: 6.277 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003433/0.4007, allocations: 1.32 MB / 0.525 GB, free: 5.559 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002469/0.4032, allocations: 1.006 MB / 0.526 GB, free: 5.051 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002179/0.4054, allocations: 1.88 MB / 0.5278 GB, free: 4.191 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005484/0.4059, allocations: 419.1 kB / 0.5282 GB, free: 3.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002135/0.408, allocations: 1.344 MB / 0.5295 GB, free: 3.355 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000887/0.4089, allocations: 0.6362 MB / 0.5302 GB, free: 3.168 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.409, allocations: 65.59 kB / 0.5302 GB, free: 3.164 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.4102, allocations: 0.5563 MB / 0.5308 GB, free: 3.008 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000243/0.4105, allocations: 286.2 kB / 0.531 GB, free: 2.875 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003002/0.4108, allocations: 288.5 kB / 0.5313 GB, free: 2.766 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.4124, allocations: 1.388 MB / 0.5327 GB, free: 2.293 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4124, allocations: 0 / 0.5327 GB, free: 2.293 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.4124, allocations: 0 / 0.5327 GB, free: 2.293 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.4124, allocations: 0 / 0.5327 GB, free: 2.293 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.002047/0.4144, allocations: 1.04 MB / 0.5337 GB, free: 1.625 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.4145, allocations: 7.969 kB / 0.5337 GB, free: 1.625 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009212/0.4154, allocations: 230.3 kB / 0.5339 GB, free: 1.523 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007943/0.4162, allocations: 494.7 kB / 0.5344 GB, free: 1.234 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.4163, allocations: 165.5 kB / 0.5346 GB, free: 1.078 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.4164, allocations: 57.03 kB / 0.5346 GB, free: 1.059 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.4176, allocations: 1.14 MB / 0.5357 GB, free: 84 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.4176, allocations: 5.5 kB / 0.5357 GB, free: 84 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.593e-05/0.4177, allocations: 28.14 kB / 0.5358 GB, free: 64 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.848e-05/0.4178, allocations: 42.12 kB / 0.5358 GB, free: 52 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.4188, allocations: 0.6164 MB / 0.5364 GB, free: 15.75 MB / 426.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.005076/0.4239, allocations: 3.217 MB / 0.5395 GB, free: 13.06 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006419/0.4246, allocations: 341 kB / 0.5399 GB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003047/0.4249, allocations: 162.1 kB / 0.54 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.776e-05/0.425, allocations: 13.72 kB / 0.54 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/0.425, allocations: 41.73 kB / 0.5401 GB, free: 12.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 1.613e-06/0.425, allocations: 0 / 0.5401 GB, free: 12.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.005818/0.4308, allocations: 1.578 MB / 0.5416 GB, free: 11.81 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.4309, allocations: 134.4 kB / 0.5417 GB, free: 11.65 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006917/0.4316, allocations: 0.5328 MB / 0.5423 GB, free: 11.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.864e-05/0.4317, allocations: 32.33 kB / 0.5423 GB, free: 11.28 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003559/0.432, allocations: 384 kB / 0.5427 GB, free: 10.94 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.4322, allocations: 147.9 kB / 0.5428 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002337/0.4324, allocations: 156.3 kB / 0.5429 GB, free: 10.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002399/0.4327, allocations: 371.9 kB / 0.5433 GB, free: 10.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003784/0.4331, allocations: 201.7 kB / 0.5435 GB, free: 10.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007481/0.4338, allocations: 0.5852 MB / 0.5441 GB, free: 9.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.4349, allocations: 0.7457 MB / 0.5448 GB, free: 9.031 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.4349, allocations: 2.969 kB / 0.5448 GB, free: 9.031 MB / 426.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00158/0.4365, allocations: 0.887 MB / 0.5457 GB, free: 8.578 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.4365, allocations: 8.281 kB / 0.5457 GB, free: 8.578 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.4365, allocations: 10.97 kB / 0.5457 GB, free: 8.578 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001396/0.4379, allocations: 305.7 kB / 0.546 GB, free: 8.449 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003967/0.4383, allocations: 124.1 kB / 0.5461 GB, free: 8.422 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.4397, allocations: 0.9201 MB / 0.547 GB, free: 7.699 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005218/0.4402, allocations: 31.45 kB / 0.547 GB, free: 7.684 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.947e-05/0.4403, allocations: 54.81 kB / 0.5471 GB, free: 7.68 MB / 426.7 MB 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.0004548/0.4407, allocations: 249.7 kB / 0.5473 GB, free: 7.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.4409, allocations: 74.34 kB / 0.5474 GB, free: 7.441 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/0.4425, allocations: 0.8133 MB / 0.5482 GB, free: 6.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.4425, allocations: 5.281 kB / 0.5482 GB, free: 6.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.4425, allocations: 6.312 kB / 0.5482 GB, free: 6.977 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.4425, allocations: 0 / 0.5482 GB, free: 6.977 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002119/0.4446, allocations: 1.057 MB / 0.5492 GB, free: 5.977 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.4446, allocations: 0 / 0.5492 GB, free: 5.977 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/0.4457, allocations: 207.9 kB / 0.5494 GB, free: 5.773 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001159/0.4459, allocations: 24.84 kB / 0.5494 GB, free: 5.746 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.543e-05/0.4459, allocations: 16 kB / 0.5495 GB, free: 5.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002662/0.4486, allocations: 2.63 MB / 0.552 GB, free: 2.898 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4486, allocations: 0 / 0.552 GB, free: 2.898 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.4501, allocations: 0.8103 MB / 0.5528 GB, free: 2.055 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002916/0.4504, allocations: 99.59 kB / 0.5529 GB, free: 1.957 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.079e-05/0.4505, allocations: 16 kB / 0.5529 GB, free: 1.941 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004193/0.4509, allocations: 19.92 kB / 0.5529 GB, free: 1.922 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.451, allocations: 36.11 kB / 0.553 GB, free: 1.887 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.435e-05/0.4511, allocations: 39.98 kB / 0.553 GB, free: 1.848 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005987/0.4517, allocations: 358.8 kB / 0.5534 GB, free: 1.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4517, allocations: 7.938 kB / 0.5534 GB, free: 1.492 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00127/0.4529, allocations: 251.7 kB / 0.5536 GB, free: 1.246 MB / 426.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.00084/0.4538, allocations: 288.4 kB / 0.5539 GB, free: 0.957 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001366/0.4551, allocations: 0.5154 MB / 0.5544 GB, free: 452 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4551, allocations: 0 / 0.5544 GB, free: 452 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.4563, allocations: 395.4 kB / 0.5548 GB, free: 44 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/0.4578, allocations: 327.8 kB / 0.5551 GB, free: 15.74 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.4602, allocations: 1.244 MB / 0.5563 GB, free: 14.45 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.4606, allocations: 336.2 kB / 0.5566 GB, free: 14.09 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001042/0.4616, allocations: 434.4 kB / 0.557 GB, free: 13.67 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003094/0.4619, allocations: 100.4 kB / 0.5571 GB, free: 13.57 MB / 442.7 MB Notification: Performance of SimCode: time 1.132e-06/0.4619, allocations: 0 / 0.5571 GB, free: 13.57 MB / 442.7 MB Notification: Performance of Templates: time 0.02997/0.4919, allocations: 15.37 MB / 0.5721 GB, free: 14.43 MB / 458.7 MB " [Timeout remaining time 660] 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: 5.967073759995401]