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.001335/0.001335, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.001116/0.001116, allocations: 146.2 kB / 24.89 MB, free: 8.742 MB / 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.8808/0.8808, allocations: 173.4 MB / 201.5 MB, free: 9.211 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.373e-06/1.373e-06, allocations: 0 / 268.4 MB, free: 6.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012e-05/1.149e-05, allocations: 2.312 kB / 268.4 MB, free: 6.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004001/0.004013, allocations: 4.547 MB / 273 MB, free: 1.648 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.005598, allocations: 1.825 MB / 274.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.205e-05/0.00566, allocations: 4 kB / 274.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.005857, allocations: 35.75 kB / 274.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.006143, allocations: 135 kB / 275 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.006562, allocations: 255.2 kB / 275.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000234/0.006796, allocations: 286.8 kB / 275.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.617e-05/0.006832, allocations: 9.969 kB / 275.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.007045, allocations: 171.6 kB / 275.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.567e-05/0.007131, allocations: 71.8 kB / 275.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.00715, allocations: 8 kB / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.007301, allocations: 103.7 kB / 275.9 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.518e-05/0.007357, allocations: 39.89 kB / 275.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.067e-05/0.007407, allocations: 51.91 kB / 276 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.007629, allocations: 199.3 kB / 276.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.007631, allocations: 4 kB / 276.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.007632, allocations: 0 / 276.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.956e-06/0.007635, allocations: 0 / 276.2 MB, free: 14.47 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.0005068/0.008142, allocations: 384.5 kB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.734e-05/0.008169, allocations: 8.922 kB / 276.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.008292, allocations: 44.73 kB / 276.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.008433, allocations: 141.6 kB / 276.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.008445, allocations: 12.66 kB / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.008473, allocations: 16.38 kB / 276.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.008701, allocations: 342.9 kB / 277.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.008713, allocations: 8.078 kB / 277.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.00873, allocations: 12.12 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.008736, allocations: 8 kB / 277.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.095e-05/0.008826, allocations: 74.72 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006311/0.009458, allocations: 0.7444 MB / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.009605, allocations: 133.3 kB / 278.1 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.32e-05/0.009638, allocations: 32.84 kB / 278.1 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002624/0.0099, allocations: 346.2 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.009921, allocations: 34.56 kB / 278.5 MB, free: 11.97 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.042e-06/0.009922, allocations: 0 / 278.5 MB, free: 11.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.001164/0.01109, allocations: 0.6135 MB / 279.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.01111, allocations: 51.41 kB / 279.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.593e-05/0.01118, allocations: 169.6 kB / 279.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.0112, allocations: 33.7 kB / 279.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.774e-05/0.01125, allocations: 140.1 kB / 279.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.01129, allocations: 83.3 kB / 279.5 MB, free: 10.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.667e-05/0.01135, allocations: 53.67 kB / 279.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.151e-05/0.01142, allocations: 326.8 kB / 279.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.419e-05/0.01146, allocations: 34.81 kB / 280 MB, free: 10.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.018e-05/0.01155, allocations: 153.4 kB / 280.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.01171, allocations: 226.5 kB / 280.3 MB, free: 9.938 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01171, allocations: 4 kB / 280.3 MB, free: 9.934 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001829/0.0119, allocations: 204.4 kB / 280.5 MB, free: 9.727 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.01191, allocations: 8.031 kB / 280.5 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.01191, allocations: 8 kB / 280.5 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.01193, allocations: 4 kB / 280.5 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.01209, allocations: 79.89 kB / 280.6 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.0121, allocations: 11.92 kB / 280.6 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.232e-05/0.01218, allocations: 15.94 kB / 280.7 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.0122, allocations: 12 kB / 280.7 MB, free: 9.59 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 6.795e-05/0.01226, allocations: 124.6 kB / 280.8 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.01229, allocations: 15.98 kB / 280.8 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001703/0.01246, allocations: 153.6 kB / 281 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.01247, allocations: 3.984 kB / 281 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.01247, allocations: 0 / 281 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.01247, allocations: 7.922 kB / 281 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006163/0.01309, allocations: 429.6 kB / 281.4 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.01309, allocations: 4.031 kB / 281.4 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.0132, allocations: 39.97 kB / 281.4 MB, free: 8.773 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.0132, allocations: 4 kB / 281.4 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.01322, allocations: 11.94 kB / 281.4 MB, free: 8.758 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.01322, allocations: 11.86 kB / 281.5 MB, free: 8.746 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.01322, allocations: 4 kB / 281.5 MB, free: 8.742 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.01344, allocations: 314 kB / 281.8 MB, free: 8.406 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/0.01345, allocations: 15.94 kB / 281.8 MB, free: 8.391 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.01347, allocations: 11.94 kB / 281.8 MB, free: 8.379 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.273e-05/0.01356, allocations: 7.984 kB / 281.8 MB, free: 8.371 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.784e-05/0.01357, allocations: 15.92 kB / 281.8 MB, free: 8.355 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.01359, allocations: 11.98 kB / 281.8 MB, free: 8.344 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.158e-05/0.01361, allocations: 28.02 kB / 281.9 MB, free: 8.316 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01361, allocations: 0 / 281.9 MB, free: 8.316 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002105/0.01382, allocations: 63.94 kB / 281.9 MB, free: 8.254 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.0001376/0.01396, allocations: 112.3 kB / 282 MB, free: 8.137 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001547/0.01411, allocations: 141.3 kB / 282.2 MB, free: 7.996 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.01412, allocations: 8.125 kB / 282.2 MB, free: 7.988 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.349e-05/0.01417, allocations: 60.75 kB / 282.2 MB, free: 7.926 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.01436, allocations: 47.95 kB / 282.3 MB, free: 7.879 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006809/0.01504, allocations: 412 kB / 282.7 MB, free: 7.434 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.758e-05/0.01507, allocations: 68.84 kB / 282.7 MB, free: 7.348 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001222/0.0152, allocations: 45.88 kB / 282.8 MB, free: 7.305 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.01534, allocations: 99.33 kB / 282.9 MB, free: 7.207 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01534, allocations: 0 / 282.9 MB, free: 7.207 MB / 266.7 MB Notification: Performance of Templates: time 0.004078/0.01942, allocations: 3.025 MB / 285.9 MB, free: 4.211 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.561286062002182]