Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.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.001181/0.001181, allocations: 85.95 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001177/0.001177, allocations: 161.2 kB / 25.6 MB, free: 8.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.016/1.016, allocations: 158.6 MB / 187.5 MB, free: 2.812 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 251.4 MB, free: 7.371 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.767e-05, allocations: 2.312 kB / 251.4 MB, free: 7.367 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2703/0.2703, allocations: 140.7 MB / 392.1 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.2715, allocations: 1.531 MB / 393.6 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.737e-05/0.2716, allocations: 0 / 393.6 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.2717, allocations: 28.02 kB / 393.7 MB, free: 10.65 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007738/0.2725, allocations: 333.3 kB / 394 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001463/0.2726, allocations: 56.77 kB / 394.1 MB, free: 10.6 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 9.234e-05/0.2727, allocations: 81.22 kB / 394.1 MB, free: 10.6 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.621e-05/0.2728, allocations: 6.531 kB / 394.1 MB, free: 10.6 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.2729, allocations: 44.75 kB / 394.2 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.251e-05/0.2729, allocations: 23.67 kB / 394.2 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.2729, allocations: 6.781 kB / 394.2 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004999/0.2734, allocations: 338.4 kB / 394.5 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.2734, allocations: 9.469 kB / 394.6 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.844e-05/0.2735, allocations: 23.84 kB / 394.6 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003718/0.2738, allocations: 334 kB / 394.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2739, allocations: 0 / 394.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2739, allocations: 0 / 394.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.2739, allocations: 0 / 394.9 MB, free: 10.55 MB / 330.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.0005022/0.2744, allocations: 466.4 kB / 395.4 MB, free: 10.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.2744, allocations: 12.42 kB / 395.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002658/0.2771, allocations: 458.5 kB / 395.8 MB, free: 10.13 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.584e-05/0.2771, allocations: 114.9 kB / 395.9 MB, free: 9.996 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.2771, allocations: 6.531 kB / 395.9 MB, free: 9.996 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-05/0.2772, allocations: 12.56 kB / 396 MB, free: 9.996 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/0.2775, allocations: 278.9 kB / 396.2 MB, free: 9.938 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2775, allocations: 0 / 396.2 MB, free: 9.938 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/0.2775, allocations: 3.984 kB / 396.2 MB, free: 9.934 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2775, allocations: 3.484 kB / 396.2 MB, free: 9.934 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002188/0.2777, allocations: 202.8 kB / 396.4 MB, free: 9.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004919/0.2782, allocations: 375.7 kB / 396.8 MB, free: 9.672 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003467/0.2786, allocations: 143.7 kB / 396.9 MB, free: 9.637 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.332e-05/0.2786, allocations: 47.81 kB / 397 MB, free: 9.625 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.2787, allocations: 8.203 kB / 397 MB, free: 9.625 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.2787, allocations: 36.23 kB / 397 MB, free: 9.582 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.2787, allocations: 4 kB / 397 MB, free: 9.578 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.000668/0.2794, allocations: 304.6 kB / 397.3 MB, free: 9.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.2794, allocations: 52.61 kB / 397.4 MB, free: 9.457 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.717e-05/0.2794, allocations: 166.7 kB / 397.5 MB, free: 9.289 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.2795, allocations: 31.88 kB / 397.6 MB, free: 9.258 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.2795, allocations: 147.1 kB / 397.7 MB, free: 9.113 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.2795, allocations: 60.45 kB / 397.8 MB, free: 9.074 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.157e-05/0.2796, allocations: 51.23 kB / 397.8 MB, free: 9.047 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.809e-05/0.2796, allocations: 0.4969 MB / 398.3 MB, free: 8.551 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.357e-05/0.2797, allocations: 41.88 kB / 398.4 MB, free: 8.547 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.069e-05/0.2798, allocations: 92.89 kB / 398.5 MB, free: 8.477 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.2799, allocations: 141.6 kB / 398.6 MB, free: 8.406 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.2799, allocations: 0 / 398.6 MB, free: 8.406 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002045/0.2801, allocations: 184.5 kB / 398.8 MB, free: 8.34 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.2801, allocations: 8.031 kB / 398.8 MB, free: 8.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2801, allocations: 0 / 398.8 MB, free: 8.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.2801, allocations: 6.562 kB / 398.8 MB, free: 8.336 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.2803, allocations: 45.5 kB / 398.8 MB, free: 8.324 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.2803, allocations: 6.719 kB / 398.8 MB, free: 8.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.275e-05/0.2804, allocations: 12.73 kB / 398.9 MB, free: 8.316 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.2804, allocations: 5.75 kB / 398.9 MB, free: 8.316 MB / 330.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.617e-05/0.2805, allocations: 168.6 kB / 399 MB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/0.2805, allocations: 16.28 kB / 399 MB, free: 8.145 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002731/0.2808, allocations: 208.1 kB / 399.2 MB, free: 8.059 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.2808, allocations: 8.062 kB / 399.2 MB, free: 8.055 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.2808, allocations: 3.094 kB / 399.3 MB, free: 8.055 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.2808, allocations: 3.984 kB / 399.3 MB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.2813, allocations: 482.7 kB / 399.7 MB, free: 7.703 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2813, allocations: 0 / 399.7 MB, free: 7.703 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.2814, allocations: 35.62 kB / 399.8 MB, free: 7.695 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.2814, allocations: 10.83 kB / 399.8 MB, free: 7.688 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.2814, allocations: 6.469 kB / 399.8 MB, free: 7.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2814, allocations: 2.562 kB / 399.8 MB, free: 7.688 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2814, allocations: 3.938 kB / 399.8 MB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/0.2816, allocations: 334.4 kB / 400.1 MB, free: 7.445 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.057e-05/0.2816, allocations: 14.48 kB / 400.1 MB, free: 7.434 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.2817, allocations: 3.312 kB / 400.1 MB, free: 7.434 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.79e-05/0.2818, allocations: 6.859 kB / 400.1 MB, free: 7.434 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.502e-05/0.2818, allocations: 17.81 kB / 400.2 MB, free: 7.426 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.2818, allocations: 11.58 kB / 400.2 MB, free: 7.422 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.866e-05/0.2818, allocations: 122.3 kB / 400.3 MB, free: 7.305 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2818, allocations: 0 / 400.3 MB, free: 7.305 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002313/0.282, allocations: 45.53 kB / 400.3 MB, free: 7.305 MB / 330.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.0001654/0.2822, allocations: 125.3 kB / 400.4 MB, free: 7.203 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001843/0.2824, allocations: 136.9 kB / 400.6 MB, free: 7.164 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2824, allocations: 6.844 kB / 400.6 MB, free: 7.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.208e-05/0.2825, allocations: 80.8 kB / 400.7 MB, free: 7.129 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.2827, allocations: 51.56 kB / 400.7 MB, free: 7.113 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005856/0.2833, allocations: 265.8 kB / 401 MB, free: 6.914 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.78e-05/0.2833, allocations: 67.69 kB / 401 MB, free: 6.836 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001656/0.2835, allocations: 52.5 kB / 401.1 MB, free: 6.805 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.2837, allocations: 121.9 kB / 401.2 MB, free: 6.719 MB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2837, allocations: 0 / 401.2 MB, free: 6.719 MB / 330.7 MB Notification: Performance of Templates: time 0.004564/0.2882, allocations: 3.704 MB / 404.9 MB, free: 4.789 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.924819692969322]