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.001346/0.001346, allocations: 76.81 kB / 22.29 MB, free: 2.191 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.001002/0.001002, allocations: 158.9 kB / 25.69 MB, free: 8.77 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 0.8409/0.8409, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.694e-06/1.694e-06, allocations: 0 / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.831e-05, allocations: 2.312 kB / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2643/0.2644, allocations: 142.8 MB / 394.4 MB, free: 9.422 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.2656, allocations: 1.559 MB / 395.9 MB, free: 9.309 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.221e-05/0.2656, allocations: 0 / 395.9 MB, free: 9.309 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.2658, allocations: 18.2 kB / 396 MB, free: 9.305 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007888/0.2666, allocations: 328.6 kB / 396.3 MB, free: 9.258 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.2667, allocations: 67.97 kB / 396.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.2668, allocations: 81.02 kB / 396.4 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.324e-05/0.2669, allocations: 2.875 kB / 396.4 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.267, allocations: 50.97 kB / 396.5 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.855e-05/0.267, allocations: 17.75 kB / 396.5 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.528e-06/0.2671, allocations: 5.328 kB / 396.5 MB, free: 9.238 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005292/0.2676, allocations: 359.4 kB / 396.9 MB, free: 9.223 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.2676, allocations: 7.047 kB / 396.9 MB, free: 9.223 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.818e-05/0.2676, allocations: 22.61 kB / 396.9 MB, free: 9.223 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.268, allocations: 339.5 kB / 397.2 MB, free: 9.199 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.268, allocations: 0 / 397.2 MB, free: 9.199 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.268, allocations: 0 / 397.2 MB, free: 9.199 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.268, allocations: 0 / 397.2 MB, free: 9.199 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.0004732/0.2685, allocations: 336.2 kB / 397.5 MB, free: 8.938 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.2685, allocations: 12.8 kB / 397.6 MB, free: 8.934 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002626/0.2711, allocations: 0.5138 MB / 398.1 MB, free: 8.898 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.984e-05/0.2712, allocations: 111.4 kB / 398.2 MB, free: 8.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.2712, allocations: 9.969 kB / 398.2 MB, free: 8.766 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.373e-05/0.2712, allocations: 6.188 kB / 398.2 MB, free: 8.766 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.2715, allocations: 276.1 kB / 398.5 MB, free: 8.707 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.2715, allocations: 0 / 398.5 MB, free: 8.707 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.2716, allocations: 3.5 kB / 398.5 MB, free: 8.707 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.2716, allocations: 2.781 kB / 398.5 MB, free: 8.707 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.2718, allocations: 155.2 kB / 398.6 MB, free: 8.703 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.2722, allocations: 249.4 kB / 398.9 MB, free: 8.531 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.2725, allocations: 127.6 kB / 399 MB, free: 8.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.396e-05/0.2725, allocations: 39.84 kB / 399 MB, free: 8.469 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.2725, allocations: 2.094 kB / 399 MB, free: 8.469 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.38e-05/0.2725, allocations: 33.97 kB / 399.1 MB, free: 8.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.2725, allocations: 0 / 399.1 MB, free: 8.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.000497/0.273, allocations: 262.4 kB / 399.3 MB, free: 8.336 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.887e-05/0.2731, allocations: 55.61 kB / 399.4 MB, free: 8.273 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.502e-05/0.2731, allocations: 106.8 kB / 399.5 MB, free: 8.164 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.2731, allocations: 29.14 kB / 399.5 MB, free: 8.133 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.392e-05/0.2731, allocations: 94.84 kB / 399.6 MB, free: 8.039 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.2732, allocations: 63.66 kB / 399.7 MB, free: 7.996 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.446e-05/0.2732, allocations: 37.16 kB / 399.7 MB, free: 7.973 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.444e-05/0.2732, allocations: 330.7 kB / 400 MB, free: 7.648 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.265e-05/0.2733, allocations: 37.83 kB / 400.1 MB, free: 7.641 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.164e-05/0.2733, allocations: 66.75 kB / 400.1 MB, free: 7.598 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.2734, allocations: 121.2 kB / 400.2 MB, free: 7.539 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2734, allocations: 4 kB / 400.2 MB, free: 7.535 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001462/0.2736, allocations: 136.6 kB / 400.4 MB, free: 7.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.2736, allocations: 5.219 kB / 400.4 MB, free: 7.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.2736, allocations: 2.906 kB / 400.4 MB, free: 7.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.2736, allocations: 2.812 kB / 400.4 MB, free: 7.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.2738, allocations: 48.86 kB / 400.4 MB, free: 7.465 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.2738, allocations: 11.06 kB / 400.4 MB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.502e-05/0.2739, allocations: 12.98 kB / 400.5 MB, free: 7.453 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.2739, allocations: 8.812 kB / 400.5 MB, free: 7.453 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 5.485e-05/0.2739, allocations: 112.6 kB / 400.6 MB, free: 7.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.274, allocations: 15.95 kB / 400.6 MB, free: 7.336 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002118/0.2742, allocations: 176.5 kB / 400.8 MB, free: 7.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.2742, allocations: 3.547 kB / 400.8 MB, free: 7.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.2742, allocations: 3.938 kB / 400.8 MB, free: 7.246 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.2742, allocations: 192 / 400.8 MB, free: 7.246 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003733/0.2746, allocations: 353.2 kB / 401.1 MB, free: 7.004 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2746, allocations: 3.984 kB / 401.1 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.2747, allocations: 42.22 kB / 401.2 MB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2747, allocations: 3.938 kB / 401.2 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.2747, allocations: 9.953 kB / 401.2 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.2747, allocations: 3.031 kB / 401.2 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2747, allocations: 0 / 401.2 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/0.2749, allocations: 232.5 kB / 401.4 MB, free: 6.812 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-06/0.2749, allocations: 15.95 kB / 401.4 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.2749, allocations: 9.969 kB / 401.4 MB, free: 6.797 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.208e-05/0.275, allocations: 12.89 kB / 401.4 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.275, allocations: 9.203 kB / 401.5 MB, free: 6.789 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.275, allocations: 9.891 kB / 401.5 MB, free: 6.785 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.975e-06/0.275, allocations: 9.047 kB / 401.5 MB, free: 6.777 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.275, allocations: 0 / 401.5 MB, free: 6.777 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002005/0.2752, allocations: 48.94 kB / 401.5 MB, free: 6.773 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.0001396/0.2754, allocations: 103.3 kB / 401.6 MB, free: 6.695 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001567/0.2755, allocations: 121.4 kB / 401.7 MB, free: 6.664 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2755, allocations: 4 kB / 401.7 MB, free: 6.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.823e-05/0.2756, allocations: 66.72 kB / 401.8 MB, free: 6.641 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.2758, allocations: 49.61 kB / 401.9 MB, free: 6.629 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005212/0.2763, allocations: 254.5 kB / 402.1 MB, free: 6.441 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.747e-05/0.2763, allocations: 63.84 kB / 402.2 MB, free: 6.367 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001683/0.2765, allocations: 59.38 kB / 402.2 MB, free: 6.332 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.2767, allocations: 89.81 kB / 402.3 MB, free: 6.273 MB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2767, allocations: 0 / 402.3 MB, free: 6.273 MB / 330.7 MB Notification: Performance of Templates: time 0.004231/0.2809, allocations: 3.696 MB / 406 MB, free: 4.355 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 -s gbode -gbm=radauIIA3 -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.703941462095827]