Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.00741/0.00741, allocations: 106.1 kB / 21.98 MB, free: 5.223 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.001789/0.001789, allocations: 214.3 kB / 25.29 MB, free: 3.203 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.443/1.443, allocations: 230.5 MB / 258.9 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2405/0.2405, allocations: 46.93 MB / 362.3 MB, free: 4.184 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002362/0.002362, allocations: 83.84 kB / 0.4982 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3537, allocations: 66.08 MB / 0.5627 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1978/0.5515, allocations: 151.2 MB / 0.7104 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008714/0.5602, allocations: 5.638 MB / 0.7159 GB, free: 6.809 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008635/0.5611, allocations: 31.69 kB / 0.7159 GB, free: 6.777 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001121/0.5622, allocations: 330 kB / 0.7162 GB, free: 6.453 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002462/0.5647, allocations: 0.894 MB / 0.7171 GB, free: 5.555 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003225/0.5679, allocations: 1.062 MB / 0.7181 GB, free: 4.504 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002827/0.5707, allocations: 1.821 MB / 0.7199 GB, free: 2.676 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007317/0.5715, allocations: 393.4 kB / 0.7203 GB, free: 2.293 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001658/0.5731, allocations: 0.7902 MB / 0.7211 GB, free: 1.5 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.5745, allocations: 0.7592 MB / 0.7218 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.5747, allocations: 64 kB / 0.7219 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001525/0.5762, allocations: 0.5887 MB / 0.7224 GB, free: 88 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003536/0.5766, allocations: 263.3 kB / 0.7227 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005183/0.5771, allocations: 402.2 kB / 0.7231 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001941/0.579, allocations: 1.178 MB / 0.7242 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.579, allocations: 0 / 0.7242 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.054e-06/0.579, allocations: 4 kB / 0.7242 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.579, allocations: 4 kB / 0.7242 GB, free: 14.25 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.002324/0.5814, allocations: 0.995 MB / 0.7252 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.5814, allocations: 8.031 kB / 0.7252 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003902/0.5818, allocations: 96.41 kB / 0.7253 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009773/0.5828, allocations: 478.8 kB / 0.7258 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.5829, allocations: 104.9 kB / 0.7259 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.251e-05/0.583, allocations: 44.38 kB / 0.7259 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.5844, allocations: 0.8188 MB / 0.7267 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/0.5844, allocations: 7.938 kB / 0.7267 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.566e-05/0.5844, allocations: 19.98 kB / 0.7267 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.047e-05/0.5845, allocations: 36.98 kB / 0.7268 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.5856, allocations: 0.6595 MB / 0.7274 GB, free: 10.86 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.005253/0.5909, allocations: 3.912 MB / 0.7312 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008564/0.5917, allocations: 404.2 kB / 0.7316 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003307/0.5921, allocations: 193.4 kB / 0.7318 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003012/0.5924, allocations: 64.27 kB / 0.7319 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/0.5924, allocations: 38.89 kB / 0.7319 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 2.876e-06/0.5924, allocations: 0 / 0.7319 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.00343/0.5958, allocations: 1.41 MB / 0.7333 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.5959, allocations: 132.5 kB / 0.7334 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007557/0.5967, allocations: 0.5694 MB / 0.734 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.218e-05/0.5968, allocations: 33.7 kB / 0.734 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002932/0.597, allocations: 363.9 kB / 0.7343 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.5972, allocations: 174.6 kB / 0.7345 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/0.5974, allocations: 138.6 kB / 0.7346 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002026/0.5976, allocations: 370.8 kB / 0.735 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/0.598, allocations: 213.9 kB / 0.7352 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006648/0.5986, allocations: 0.5208 MB / 0.7357 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.5997, allocations: 0.764 MB / 0.7364 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.5997, allocations: 4 kB / 0.7364 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001681/0.6014, allocations: 0.9065 MB / 0.7373 GB, free: 16 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.6014, allocations: 11.94 kB / 0.7373 GB, free: 4 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3017/0.9031, allocations: 12.75 kB / 0.7374 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00185/0.905, allocations: 280 kB / 0.7376 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005893/0.9055, allocations: 123.4 kB / 0.7377 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/0.9068, allocations: 0.8868 MB / 0.7386 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006227/0.9074, allocations: 27.98 kB / 0.7386 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.541e-05/0.9075, allocations: 38.16 kB / 0.7387 GB, free: 174.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004466/0.9079, allocations: 249.3 kB / 0.7389 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/0.9081, allocations: 70.3 kB / 0.739 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.9097, allocations: 0.696 MB / 0.7397 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.9097, allocations: 5.25 kB / 0.7397 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.9097, allocations: 0.625 kB / 0.7397 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.9097, allocations: 5.203 kB / 0.7397 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001938/0.9116, allocations: 1.311 MB / 0.7409 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.9117, allocations: 5.781 kB / 0.7409 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.9127, allocations: 197.6 kB / 0.7411 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.203e-05/0.9127, allocations: 25.36 kB / 0.7412 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.9128, allocations: 13.84 kB / 0.7412 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/0.9143, allocations: 2.673 MB / 0.7438 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.9143, allocations: 5.609 kB / 0.7438 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.9155, allocations: 0.9449 MB / 0.7447 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003405/0.9158, allocations: 131.6 kB / 0.7448 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.799e-05/0.9159, allocations: 13.95 kB / 0.7449 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000384/0.9163, allocations: 19.42 kB / 0.7449 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.9164, allocations: 37.92 kB / 0.7449 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.201e-05/0.9164, allocations: 25.28 kB / 0.7449 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005924/0.917, allocations: 433.5 kB / 0.7453 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.917, allocations: 0 / 0.7453 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00104/0.9181, allocations: 222.5 kB / 0.7456 GB, free: 169.7 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0005017/0.9186, allocations: 247.4 kB / 0.7458 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001352/0.9199, allocations: 0.5805 MB / 0.7464 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.9199, allocations: 0 / 0.7464 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009473/0.9209, allocations: 436.9 kB / 0.7468 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/0.9223, allocations: 377.1 kB / 0.7471 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.9243, allocations: 1.436 MB / 0.7485 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.9246, allocations: 0.9345 MB / 0.7494 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.9247, allocations: 71.36 kB / 0.7495 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.9247, allocations: 0 / 0.7495 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.0171/0.9418, allocations: 16.01 MB / 0.7651 GB, free: 150.5 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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: 10.639737833058462]