Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.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.0008513/0.0008513, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.0009479/0.0009479, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9483/0.9483, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 272.9 MB, free: 1.578 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.286e-05, allocations: 2.312 kB / 272.9 MB, free: 1.574 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004985/0.005008, allocations: 4.635 MB / 277.6 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.006326, allocations: 1.81 MB / 279.4 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.817e-05/0.006375, allocations: 4 kB / 279.4 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000224/0.006599, allocations: 39.69 kB / 279.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002656/0.006864, allocations: 131.1 kB / 279.6 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006399/0.007504, allocations: 255.2 kB / 279.8 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002439/0.007748, allocations: 298.7 kB / 280.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.174e-05/0.00779, allocations: 9.312 kB / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002235/0.008013, allocations: 175.5 kB / 280.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.168e-05/0.008095, allocations: 67.8 kB / 280.4 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.008115, allocations: 8 kB / 280.4 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.008263, allocations: 95.91 kB / 280.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.664e-05/0.008319, allocations: 43.83 kB / 280.5 MB, free: 9.996 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.757e-05/0.008377, allocations: 55.91 kB / 280.6 MB, free: 9.941 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.008623, allocations: 215.3 kB / 280.8 MB, free: 9.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.008625, allocations: 0 / 280.8 MB, free: 9.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.008626, allocations: 0 / 280.8 MB, free: 9.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.00863, allocations: 0 / 280.8 MB, free: 9.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.0005811/0.009211, allocations: 0.5002 MB / 281.3 MB, free: 9.191 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.009244, allocations: 12.03 kB / 281.3 MB, free: 9.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.009381, allocations: 44.7 kB / 281.3 MB, free: 9.137 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.009542, allocations: 148.4 kB / 281.5 MB, free: 8.965 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.009554, allocations: 12.66 kB / 281.5 MB, free: 8.953 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.009586, allocations: 24.36 kB / 281.5 MB, free: 8.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.009878, allocations: 365.9 kB / 281.9 MB, free: 8.504 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.009889, allocations: 192 / 281.9 MB, free: 8.504 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.009909, allocations: 12.12 kB / 281.9 MB, free: 8.492 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.009917, allocations: 4 kB / 281.9 MB, free: 8.488 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.01005, allocations: 103.9 kB / 282 MB, free: 8.387 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008181/0.01087, allocations: 1.099 MB / 283.1 MB, free: 7.227 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.01105, allocations: 127.2 kB / 283.2 MB, free: 7.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.009e-05/0.0111, allocations: 35.67 kB / 283.2 MB, free: 7.051 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003032/0.0114, allocations: 412 kB / 283.6 MB, free: 6.629 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.01142, allocations: 41.33 kB / 283.7 MB, free: 6.578 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/0.01142, allocations: 0 / 283.7 MB, free: 6.578 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.001023/0.01245, allocations: 0.5552 MB / 284.2 MB, free: 5.988 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.01247, allocations: 59.34 kB / 284.3 MB, free: 5.918 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.01257, allocations: 228 kB / 284.5 MB, free: 5.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.01259, allocations: 29.7 kB / 284.5 MB, free: 5.645 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.759e-05/0.01266, allocations: 194.8 kB / 284.7 MB, free: 5.445 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.0127, allocations: 79.38 kB / 284.8 MB, free: 5.367 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.511e-05/0.01277, allocations: 67.3 kB / 284.9 MB, free: 5.293 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.01287, allocations: 0.4923 MB / 285.4 MB, free: 4.789 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.293e-05/0.01294, allocations: 55.97 kB / 285.4 MB, free: 4.734 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.01308, allocations: 202.7 kB / 285.6 MB, free: 4.469 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.0133, allocations: 286.1 kB / 285.9 MB, free: 4.125 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.0133, allocations: 0 / 285.9 MB, free: 4.125 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002761/0.01357, allocations: 265.6 kB / 286.2 MB, free: 3.859 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.01359, allocations: 15.97 kB / 286.2 MB, free: 3.844 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.01359, allocations: 4 kB / 286.2 MB, free: 3.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.01361, allocations: 7.938 kB / 286.2 MB, free: 3.832 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.01379, allocations: 79.89 kB / 286.3 MB, free: 3.754 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.0138, allocations: 7.984 kB / 286.3 MB, free: 3.746 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.742e-05/0.01389, allocations: 12 kB / 286.3 MB, free: 3.734 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.01391, allocations: 12 kB / 286.3 MB, free: 3.723 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.573e-05/0.01399, allocations: 180.4 kB / 286.5 MB, free: 3.535 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.01403, allocations: 15.95 kB / 286.5 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005192/0.01455, allocations: 190.7 kB / 286.7 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.01455, allocations: 11.92 kB / 286.7 MB, free: 3.312 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.01455, allocations: 3.938 kB / 286.7 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01456, allocations: 0 / 286.7 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000542/0.0151, allocations: 0.5235 MB / 287.2 MB, free: 2.727 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.0151, allocations: 8.031 kB / 287.2 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.01523, allocations: 47.91 kB / 287.3 MB, free: 2.672 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.01523, allocations: 4 kB / 287.3 MB, free: 2.668 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.01525, allocations: 7.984 kB / 287.3 MB, free: 2.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.01525, allocations: 0 / 287.3 MB, free: 2.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.01525, allocations: 4 kB / 287.3 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.01556, allocations: 398.8 kB / 287.7 MB, free: 2.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.253e-05/0.01561, allocations: 27.88 kB / 287.7 MB, free: 2.203 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.01563, allocations: 4 kB / 287.7 MB, free: 2.199 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.361e-05/0.01572, allocations: 11.98 kB / 287.7 MB, free: 2.188 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.01574, allocations: 11.98 kB / 287.7 MB, free: 2.176 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.01576, allocations: 11.98 kB / 287.7 MB, free: 2.164 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.129e-05/0.01581, allocations: 155 kB / 287.9 MB, free: 2.016 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01581, allocations: 0 / 287.9 MB, free: 2.016 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002333/0.01604, allocations: 67.92 kB / 288 MB, free: 1.949 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.000147/0.01619, allocations: 127.1 kB / 288.1 MB, free: 1.816 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002191/0.01641, allocations: 164.2 kB / 288.2 MB, free: 1.652 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01641, allocations: 0 / 288.2 MB, free: 1.652 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.853e-05/0.01649, allocations: 90.73 kB / 288.3 MB, free: 1.562 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.01674, allocations: 39.97 kB / 288.4 MB, free: 1.523 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008641/0.01761, allocations: 435.3 kB / 288.8 MB, free: 1.051 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.276e-05/0.01765, allocations: 80.19 kB / 288.9 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.01777, allocations: 41.94 kB / 288.9 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.364e-05/0.01784, allocations: 24.48 kB / 288.9 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01784, allocations: 0 / 288.9 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of Templates: time 0.004653/0.02249, allocations: 2.975 MB / 291.9 MB, free: 13.95 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.5910600470378995]