Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000798/0.000798, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00113/0.001928, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006806/0.0006806, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009535/0.001634, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9328/0.9328, allocations: 173.3 MB / 185.8 MB, free: 8.996 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07942/1.012, allocations: 52.51 MB / 238.3 MB, free: 4.43 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 239.5 MB, free: 3.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.136e-06/9.458e-06, allocations: 6.25 kB / 239.5 MB, free: 3.195 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2449/0.2449, allocations: 142 MB / 381.6 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.2469, allocations: 2.551 MB / 384.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.227e-05/0.247, allocations: 0 / 384.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 9.853e-05/0.2471, allocations: 21.86 kB / 384.1 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005823/0.2477, allocations: 320.9 kB / 384.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001171/0.2478, allocations: 66.27 kB / 384.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 8.643e-05/0.2479, allocations: 79.48 kB / 384.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.349e-05/0.2479, allocations: 7.938 kB / 384.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.248, allocations: 47.88 kB / 384.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.423e-05/0.2481, allocations: 23.91 kB / 384.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.2481, allocations: 4 kB / 384.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004716/0.2486, allocations: 359.3 kB / 385 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.235e-05/0.2486, allocations: 7.938 kB / 385 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.42e-05/0.2486, allocations: 16 kB / 385 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003372/0.2489, allocations: 291.3 kB / 385.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.541e-05/0.2489, allocations: 3.938 kB / 385.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2489, allocations: 0 / 385.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.249, allocations: 0 / 385.3 MB, free: 14.66 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005503/0.2495, allocations: 441.1 kB / 385.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.86e-05/0.2495, allocations: 8.031 kB / 385.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002407/0.2519, allocations: 0.5155 MB / 386.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.058e-05/0.252, allocations: 113.7 kB / 386.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.252, allocations: 4.562 kB / 386.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.675e-05/0.2521, allocations: 15.94 kB / 386.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.2524, allocations: 258 kB / 386.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.2524, allocations: 0 / 386.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.2524, allocations: 8 kB / 386.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.2524, allocations: 4 kB / 386.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002023/0.2526, allocations: 158.7 kB / 386.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004139/0.253, allocations: 248.1 kB / 387.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003006/0.2533, allocations: 122.4 kB / 387.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.511e-05/0.2534, allocations: 44.84 kB / 387.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.2534, allocations: 0 / 387.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.2534, allocations: 42.55 kB / 387.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.532e-06/0.2534, allocations: 0 / 387.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004984/0.2539, allocations: 250.8 kB / 387.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.2539, allocations: 51.41 kB / 387.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.227e-05/0.254, allocations: 122.6 kB / 387.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.254, allocations: 25.7 kB / 387.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.842e-05/0.254, allocations: 92.05 kB / 387.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.2541, allocations: 63.41 kB / 387.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.969e-05/0.2541, allocations: 45.67 kB / 387.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.329e-05/0.2542, allocations: 318.8 kB / 388.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.358e-05/0.2543, allocations: 31.98 kB / 388.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.408e-05/0.2543, allocations: 79.06 kB / 388.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.2544, allocations: 112.2 kB / 388.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.2544, allocations: 0 / 388.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001522/0.2546, allocations: 148.1 kB / 388.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.2546, allocations: 4 kB / 388.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2546, allocations: 4 kB / 388.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.2546, allocations: 3.938 kB / 388.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.2548, allocations: 67.81 kB / 388.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.2548, allocations: 4 kB / 388.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.788e-05/0.2549, allocations: 4 kB / 388.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.2549, allocations: 17.23 kB / 388.7 MB, free: 11.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.186e-05/0.2549, allocations: 110 kB / 388.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.255, allocations: 19.98 kB / 388.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002212/0.2552, allocations: 162.2 kB / 389 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2552, allocations: 7.938 kB / 389 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.2552, allocations: 4 kB / 389 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2552, allocations: 3.984 kB / 389 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003816/0.2556, allocations: 340.6 kB / 389.3 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2556, allocations: 0.625 kB / 389.3 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.2557, allocations: 51.83 kB / 389.4 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-06/0.2557, allocations: 12 kB / 389.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2557, allocations: 8 kB / 389.4 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.2558, allocations: 6.75 kB / 389.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.2558, allocations: 4 kB / 389.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2558, allocations: 1.875 kB / 389.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.2559, allocations: 234.6 kB / 389.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.256, allocations: 3.984 kB / 389.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.086e-05/0.256, allocations: 12 kB / 389.7 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.092e-05/0.2561, allocations: 11.97 kB / 389.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.2561, allocations: 8 kB / 389.7 MB, free: 10.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.058e-05/0.2561, allocations: 12.84 kB / 389.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2561, allocations: 0 / 389.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000177/0.2563, allocations: 55.92 kB / 389.7 MB, free: 9.984 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001457/0.2564, allocations: 108.3 kB / 389.9 MB, free: 9.871 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001489/0.2566, allocations: 106 kB / 390 MB, free: 9.766 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.2566, allocations: 4 kB / 390 MB, free: 9.762 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.368e-05/0.2566, allocations: 69.31 kB / 390 MB, free: 9.691 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.2568, allocations: 62.06 kB / 390.1 MB, free: 9.633 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.2583, allocations: 266 kB / 390.4 MB, free: 9.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.769e-05/0.2583, allocations: 63.86 kB / 390.4 MB, free: 9.258 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001705/0.2585, allocations: 53.62 kB / 390.5 MB, free: 9.207 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.2586, allocations: 107.3 kB / 390.6 MB, free: 9.102 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.2586, allocations: 0 / 390.6 MB, free: 9.102 MB / 362.7 MB Notification: Performance of Templates: time 0.004674/0.2633, allocations: 3.765 MB / 394.3 MB, free: 5.375 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.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: 2.684185029938817]