Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.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.0009165/0.0009165, allocations: 79.91 kB / 21.18 MB, free: 3.395 MB / 18.57 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.0008395/0.0008395, allocations: 141.5 kB / 24.54 MB, free: 40 kB / 18.57 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.8826/0.8826, allocations: 173.4 MB / 201.1 MB, free: 9.355 MB / 186.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.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 268 MB, free: 6.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.396e-05/1.53e-05, allocations: 2.312 kB / 268 MB, free: 6.48 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.003821/0.003836, allocations: 4.553 MB / 272.5 MB, free: 1.898 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.005126, allocations: 1.813 MB / 274.3 MB, free: 84 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.783e-05/0.005184, allocations: 7.938 kB / 274.3 MB, free: 76 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002282/0.005412, allocations: 27.77 kB / 274.4 MB, free: 48 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000292/0.005704, allocations: 135 kB / 274.5 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004434/0.006148, allocations: 255.1 kB / 274.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002577/0.006405, allocations: 298.8 kB / 275 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.403e-05/0.006439, allocations: 5.312 kB / 275 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.006669, allocations: 167.6 kB / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.868e-05/0.006758, allocations: 71.78 kB / 275.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.006781, allocations: 12 kB / 275.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.006938, allocations: 91.86 kB / 275.4 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.861e-05/0.006997, allocations: 43.83 kB / 275.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.907e-05/0.007056, allocations: 55.91 kB / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.007297, allocations: 203.3 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.007299, allocations: 0 / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.0073, allocations: 0 / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.007304, allocations: 0 / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006076/0.007911, allocations: 0.4963 MB / 276.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.007944, allocations: 8.922 kB / 276.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.008088, allocations: 48.7 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.008249, allocations: 152.4 kB / 276.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.008261, allocations: 8.656 kB / 276.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.008293, allocations: 20.38 kB / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/0.008595, allocations: 369 kB / 276.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.008607, allocations: 4.188 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.008625, allocations: 8.125 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.008632, allocations: 8 kB / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.008771, allocations: 95.86 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008167/0.009587, allocations: 1.099 MB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.009782, allocations: 123.2 kB / 278.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.067e-05/0.009833, allocations: 39.61 kB / 278.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000307/0.01014, allocations: 419.9 kB / 278.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.01016, allocations: 41.33 kB / 278.6 MB, free: 11.58 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.01016, allocations: 0 / 278.6 MB, free: 11.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.001047/0.01121, allocations: 0.5598 MB / 279.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.01123, allocations: 51.41 kB / 279.2 MB, free: 10.92 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.01133, allocations: 220.7 kB / 279.4 MB, free: 10.69 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.01135, allocations: 37.7 kB / 279.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.01142, allocations: 186.8 kB / 279.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.032e-05/0.01146, allocations: 71.39 kB / 279.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.488e-05/0.01153, allocations: 67.3 kB / 279.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.01163, allocations: 0.4962 MB / 280.3 MB, free: 9.805 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.805e-05/0.01171, allocations: 47.97 kB / 280.3 MB, free: 9.758 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.01184, allocations: 214.4 kB / 280.5 MB, free: 9.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.01207, allocations: 289.8 kB / 280.8 MB, free: 9.133 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.01207, allocations: 4 kB / 280.8 MB, free: 9.129 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002864/0.01236, allocations: 269.4 kB / 281.1 MB, free: 8.859 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.01237, allocations: 11.94 kB / 281.1 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.01238, allocations: 4 kB / 281.1 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.01239, allocations: 7.984 kB / 281.1 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.01258, allocations: 75.91 kB / 281.2 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.01258, allocations: 7.984 kB / 281.2 MB, free: 8.754 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.047e-05/0.01267, allocations: 12 kB / 281.2 MB, free: 8.742 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.0127, allocations: 16 kB / 281.2 MB, free: 8.727 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (37): * Single equations (assignments): 37 * 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 8.058e-05/0.01278, allocations: 176.6 kB / 281.4 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.811e-05/0.01281, allocations: 27.84 kB / 281.4 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002528/0.01307, allocations: 186.7 kB / 281.6 MB, free: 8.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.01307, allocations: 4 kB / 281.6 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.01307, allocations: 0 / 281.6 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.01308, allocations: 3.938 kB / 281.6 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005433/0.01362, allocations: 0.5312 MB / 282.1 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.01362, allocations: 4 kB / 282.1 MB, free: 7.719 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.01375, allocations: 47.91 kB / 282.2 MB, free: 7.672 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.01375, allocations: 0 / 282.2 MB, free: 7.672 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.01377, allocations: 11.98 kB / 282.2 MB, free: 7.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.01377, allocations: 0 / 282.2 MB, free: 7.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.01377, allocations: 4 kB / 282.2 MB, free: 7.656 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.01409, allocations: 398 kB / 282.6 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.166e-05/0.0141, allocations: 7.953 kB / 282.6 MB, free: 7.227 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.01413, allocations: 11.98 kB / 282.6 MB, free: 7.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.349e-05/0.01422, allocations: 8 kB / 282.6 MB, free: 7.207 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.122e-05/0.01424, allocations: 11.92 kB / 282.6 MB, free: 7.195 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.01426, allocations: 15.98 kB / 282.6 MB, free: 7.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.346e-05/0.01431, allocations: 150.3 kB / 282.8 MB, free: 7.035 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01431, allocations: 0 / 282.8 MB, free: 7.035 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002361/0.01455, allocations: 63.94 kB / 282.8 MB, free: 6.973 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (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 (20): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001509/0.0147, allocations: 139 kB / 283 MB, free: 6.828 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000227/0.01493, allocations: 175.9 kB / 283.2 MB, free: 6.652 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01493, allocations: 0 / 283.2 MB, free: 6.652 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.643e-05/0.015, allocations: 79.52 kB / 283.2 MB, free: 6.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.01525, allocations: 39.97 kB / 283.3 MB, free: 6.531 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007898/0.01604, allocations: 415.8 kB / 283.7 MB, free: 6.078 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.232e-05/0.01608, allocations: 76.83 kB / 283.8 MB, free: 5.984 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.01621, allocations: 41.94 kB / 283.8 MB, free: 5.945 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.575e-05/0.01628, allocations: 24.48 kB / 283.8 MB, free: 5.922 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01628, allocations: 3.938 kB / 283.8 MB, free: 5.918 MB / 266.7 MB Notification: Performance of Templates: time 0.00432/0.0206, allocations: 2.972 MB / 286.8 MB, free: 2.996 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.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.448154805228114]