Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.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.001562/0.001562, allocations: 84.47 kB / 20.68 MB, free: 1.027 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.001874/0.001874, allocations: 164.2 kB / 23.95 MB, free: 4.156 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.437/1.437, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.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.1999/0.1999, allocations: 32.82 MB / 293.5 MB, free: 24 kB / 270.1 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.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 3.938 kB / 440.1 MB, free: 8.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.078e-05/3.21e-05, allocations: 6.219 kB / 440.1 MB, free: 8.172 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3474/0.3475, allocations: 131.4 MB / 0.558 GB, free: 6.617 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.349, allocations: 0.8759 MB / 0.5589 GB, free: 5.754 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.806e-05/0.3491, allocations: 0 / 0.5589 GB, free: 5.754 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.3494, allocations: 27.77 kB / 0.5589 GB, free: 5.727 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008429/0.3502, allocations: 257.3 kB / 0.5592 GB, free: 5.477 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.3506, allocations: 119.6 kB / 0.5593 GB, free: 5.359 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002851/0.3509, allocations: 167.2 kB / 0.5594 GB, free: 5.195 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.965e-05/0.3509, allocations: 7.938 kB / 0.5595 GB, free: 5.188 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002667/0.3512, allocations: 119.6 kB / 0.5596 GB, free: 5.07 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.3513, allocations: 43.89 kB / 0.5596 GB, free: 5.027 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.3513, allocations: 4 kB / 0.5596 GB, free: 5.023 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005445/0.3519, allocations: 263.5 kB / 0.5599 GB, free: 4.766 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.274e-05/0.3519, allocations: 23.89 kB / 0.5599 GB, free: 4.742 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.274e-05/0.352, allocations: 28 kB / 0.5599 GB, free: 4.715 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005728/0.3526, allocations: 327.1 kB / 0.5602 GB, free: 4.395 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3526, allocations: 0 / 0.5602 GB, free: 4.395 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3526, allocations: 0 / 0.5602 GB, free: 4.395 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.3526, allocations: 0 / 0.5602 GB, free: 4.395 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000585/0.3532, allocations: 345.8 kB / 0.5606 GB, free: 4.027 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.3532, allocations: 8.031 kB / 0.5606 GB, free: 4.02 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002296/0.3555, allocations: 204.6 kB / 0.5608 GB, free: 3.82 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.3558, allocations: 149.4 kB / 0.5609 GB, free: 3.652 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.3559, allocations: 8.562 kB / 0.5609 GB, free: 3.645 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.917e-05/0.3559, allocations: 11.89 kB / 0.5609 GB, free: 3.633 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006566/0.3566, allocations: 313.2 kB / 0.5612 GB, free: 3.297 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.3566, allocations: 0 / 0.5612 GB, free: 3.297 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.889e-05/0.3566, allocations: 0 / 0.5612 GB, free: 3.297 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.3566, allocations: 4 kB / 0.5612 GB, free: 3.293 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004945/0.3571, allocations: 171.8 kB / 0.5614 GB, free: 3.125 MB / 462.1 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.001176/0.3583, allocations: 0.5026 MB / 0.5619 GB, free: 2.586 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003833/0.3587, allocations: 138.5 kB / 0.562 GB, free: 2.441 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.3588, allocations: 65.95 kB / 0.5621 GB, free: 2.375 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.3589, allocations: 0 / 0.5621 GB, free: 2.375 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.3589, allocations: 46.55 kB / 0.5621 GB, free: 2.32 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.3589, allocations: 0 / 0.5621 GB, free: 2.32 MB / 462.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005613/0.3645, allocations: 1.149 MB / 0.5632 GB, free: 1.121 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.3646, allocations: 55.41 kB / 0.5633 GB, free: 1.055 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.3647, allocations: 117.7 kB / 0.5634 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.3647, allocations: 29.7 kB / 0.5634 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.3648, allocations: 100 kB / 0.5635 GB, free: 0.793 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.365, allocations: 67.38 kB / 0.5636 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/0.3652, allocations: 53.69 kB / 0.5636 GB, free: 0.668 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003032/0.3655, allocations: 318.8 kB / 0.5639 GB, free: 356 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002896/0.3658, allocations: 75.83 kB / 0.564 GB, free: 280 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004952/0.3663, allocations: 101.8 kB / 0.5641 GB, free: 168 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007608/0.367, allocations: 195.2 kB / 0.5643 GB, free: 15.96 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.367, allocations: 0 / 0.5643 GB, free: 15.96 MB / 478.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007448/0.3678, allocations: 257.4 kB / 0.5645 GB, free: 15.7 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3678, allocations: 8 kB / 0.5646 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.3678, allocations: 0 / 0.5646 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001992/0.368, allocations: 52.92 kB / 0.5646 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003817/0.3684, allocations: 64.7 kB / 0.5647 GB, free: 15.58 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005038/0.3689, allocations: 0.5563 MB / 0.5652 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.3691, allocations: 8.031 kB / 0.5652 GB, free: 14.99 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.307e-05/0.3691, allocations: 27.94 kB / 0.5652 GB, free: 14.96 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001448/0.3693, allocations: 126.4 kB / 0.5654 GB, free: 14.83 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.312e-05/0.3693, allocations: 7.953 kB / 0.5654 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000826/0.3701, allocations: 346.8 kB / 0.5657 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.3702, allocations: 0 / 0.5657 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.3702, allocations: 4 kB / 0.5657 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.3702, allocations: 3.984 kB / 0.5657 GB, free: 14.47 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.3712, allocations: 0.5447 MB / 0.5662 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3712, allocations: 0 / 0.5662 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003637/0.3716, allocations: 71.92 kB / 0.5663 GB, free: 13.81 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.076e-05/0.3717, allocations: 20.84 kB / 0.5663 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.563e-05/0.3717, allocations: 15.98 kB / 0.5663 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/0.3728, allocations: 1.243 MB / 0.5676 GB, free: 12.42 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.3728, allocations: 4.031 kB / 0.5676 GB, free: 12.42 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007554/0.3736, allocations: 430.7 kB / 0.568 GB, free: 11.97 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.678e-05/0.3736, allocations: 11.92 kB / 0.568 GB, free: 11.96 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/0.3736, allocations: 8 kB / 0.568 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.3738, allocations: 8 kB / 0.568 GB, free: 11.94 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.609e-05/0.3739, allocations: 31.89 kB / 0.568 GB, free: 11.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.194e-05/0.374, allocations: 20 kB / 0.5681 GB, free: 11.89 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.464e-05/0.374, allocations: 91.27 kB / 0.5681 GB, free: 11.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.374, allocations: 0 / 0.5681 GB, free: 11.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004222/0.3744, allocations: 83.88 kB / 0.5682 GB, free: 11.72 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (21): * Single equations (assignments): 20 * 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): 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.0003975/0.3748, allocations: 154.1 kB / 0.5684 GB, free: 11.56 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005309/0.3754, allocations: 203.3 kB / 0.5686 GB, free: 11.36 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3754, allocations: 3.938 kB / 0.5686 GB, free: 11.36 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003614/0.3757, allocations: 210.6 kB / 0.5688 GB, free: 11.14 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.3762, allocations: 60.3 kB / 0.5688 GB, free: 11.09 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008646/0.3771, allocations: 405.1 kB / 0.5692 GB, free: 10.65 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.3772, allocations: 98.09 kB / 0.5693 GB, free: 10.54 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003022/0.3775, allocations: 73.45 kB / 0.5694 GB, free: 10.47 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.3777, allocations: 52.47 kB / 0.5694 GB, free: 10.42 MB / 478.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3777, allocations: 0 / 0.5694 GB, free: 10.42 MB / 478.1 MB Notification: Performance of Templates: time 0.01086/0.3885, allocations: 5.556 MB / 0.5748 GB, free: 4.902 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.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: 4.930765323340893]