Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 107.3 kB / 18.35 MB, free: 4.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 192 kB / 19.29 MB, free: 3.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.271/1.271, allocations: 205.1 MB / 225.2 MB, free: 12.28 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 47.92 kB / 282.1 MB, free: 2.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07173/0.07291, allocations: 46.63 MB / 328.7 MB, free: 3.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005155/0.0781, allocations: 4.479 MB / 333.2 MB, free: 15.27 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.07986, allocations: 1.818 MB / 335 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.038e-05/0.07995, allocations: 0 / 335 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002133/0.08017, allocations: 39.69 kB / 335.1 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002929/0.08048, allocations: 119.2 kB / 335.2 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005875/0.08108, allocations: 251.3 kB / 335.4 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003028/0.08139, allocations: 283 kB / 335.7 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.438e-05/0.08144, allocations: 13.09 kB / 335.7 MB, free: 12.76 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.08167, allocations: 139.5 kB / 335.8 MB, free: 12.62 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.0818, allocations: 79.67 kB / 335.9 MB, free: 12.54 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.08183, allocations: 8 kB / 335.9 MB, free: 12.54 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002241/0.08206, allocations: 99.88 kB / 336 MB, free: 12.44 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.625e-05/0.08213, allocations: 31.89 kB / 336.1 MB, free: 12.41 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.146e-05/0.08223, allocations: 79.66 kB / 336.1 MB, free: 12.33 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.08253, allocations: 219.2 kB / 336.3 MB, free: 12.12 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.08254, allocations: 0 / 336.3 MB, free: 12.12 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.08255, allocations: 0 / 336.3 MB, free: 12.12 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.08256, allocations: 0 / 336.3 MB, free: 12.12 MB / 286.1 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.0008652/0.08343, allocations: 483.3 kB / 336.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.08347, allocations: 12.03 kB / 336.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.08366, allocations: 24.73 kB / 336.9 MB, free: 11.56 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.08392, allocations: 208.1 kB / 337.1 MB, free: 11.32 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.08395, allocations: 12.66 kB / 337.1 MB, free: 11.31 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/0.08399, allocations: 16.36 kB / 337.1 MB, free: 11.29 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.08438, allocations: 216.8 kB / 337.3 MB, free: 11.06 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.0844, allocations: 0 / 337.3 MB, free: 11.06 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.08443, allocations: 8 kB / 337.3 MB, free: 11.05 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.08445, allocations: 8 kB / 337.3 MB, free: 11.04 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003417/0.08479, allocations: 151.8 kB / 337.5 MB, free: 10.89 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.086, allocations: 0.944 MB / 338.4 MB, free: 9.875 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003962/0.08641, allocations: 154.7 kB / 338.6 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.08656, allocations: 52.83 kB / 338.6 MB, free: 9.66 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004972/0.08707, allocations: 0.5109 MB / 339.1 MB, free: 9.086 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.0871, allocations: 34.56 kB / 339.2 MB, free: 9.043 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.08711, allocations: 0 / 339.2 MB, free: 9.043 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.002461/0.08958, allocations: 0.7714 MB / 339.9 MB, free: 8.219 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.08962, allocations: 55.41 kB / 340 MB, free: 8.152 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.08975, allocations: 150.4 kB / 340.1 MB, free: 7.996 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.08978, allocations: 29.7 kB / 340.2 MB, free: 7.961 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.311e-05/0.08986, allocations: 139.8 kB / 340.3 MB, free: 7.82 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.95e-05/0.08991, allocations: 74.94 kB / 340.4 MB, free: 7.746 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.051e-05/0.09001, allocations: 61.69 kB / 340.4 MB, free: 7.68 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.09012, allocations: 326.8 kB / 340.7 MB, free: 7.352 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.09036, allocations: 83.94 kB / 340.8 MB, free: 7.27 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/0.09066, allocations: 189.4 kB / 341 MB, free: 7.035 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005238/0.09119, allocations: 298.1 kB / 341.3 MB, free: 6.695 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.0912, allocations: 0 / 341.3 MB, free: 6.695 MB / 286.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006541/0.09186, allocations: 321.1 kB / 341.6 MB, free: 6.375 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.09189, allocations: 8 kB / 341.6 MB, free: 6.367 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.0919, allocations: 4 kB / 341.6 MB, free: 6.363 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.09192, allocations: 4 kB / 341.6 MB, free: 6.359 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/0.0923, allocations: 83.83 kB / 341.7 MB, free: 6.277 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.09233, allocations: 15.97 kB / 341.7 MB, free: 6.262 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.09256, allocations: 16.28 kB / 341.7 MB, free: 6.246 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.425e-05/0.0926, allocations: 19.98 kB / 341.8 MB, free: 6.227 MB / 286.1 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 0.0001139/0.09272, allocations: 141.6 kB / 341.9 MB, free: 6.078 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.09277, allocations: 15.81 kB / 341.9 MB, free: 6.062 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006289/0.09341, allocations: 246.7 kB / 342.2 MB, free: 5.82 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.09342, allocations: 0 / 342.2 MB, free: 5.82 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.09343, allocations: 0 / 342.2 MB, free: 5.82 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.09344, allocations: 0 / 342.2 MB, free: 5.82 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.09466, allocations: 0.5926 MB / 342.7 MB, free: 5.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.09468, allocations: 3.984 kB / 342.8 MB, free: 5.156 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000303/0.09499, allocations: 55.91 kB / 342.8 MB, free: 5.102 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.09501, allocations: 3.938 kB / 342.8 MB, free: 5.098 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.09504, allocations: 7.984 kB / 342.8 MB, free: 5.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.09505, allocations: 12.06 kB / 342.8 MB, free: 5.078 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.09505, allocations: 0 / 342.8 MB, free: 5.078 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000777/0.09584, allocations: 403 kB / 343.2 MB, free: 4.656 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.545e-05/0.09589, allocations: 89 kB / 343.3 MB, free: 4.551 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.699e-05/0.09594, allocations: 11.94 kB / 343.3 MB, free: 4.539 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/0.09618, allocations: 11.98 kB / 343.3 MB, free: 4.527 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.528e-05/0.09622, allocations: 16.05 kB / 343.4 MB, free: 4.512 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.09625, allocations: 15.98 kB / 343.4 MB, free: 4.496 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.306e-05/0.09633, allocations: 107.2 kB / 343.5 MB, free: 4.391 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.09634, allocations: 0 / 343.5 MB, free: 4.391 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003668/0.09671, allocations: 63.94 kB / 343.5 MB, free: 4.328 MB / 286.1 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.0002025/0.09692, allocations: 135.2 kB / 343.7 MB, free: 4.184 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005601/0.09749, allocations: 212.2 kB / 343.9 MB, free: 3.977 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.0975, allocations: 4.312 kB / 343.9 MB, free: 3.973 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002345/0.09774, allocations: 95.81 kB / 344 MB, free: 3.879 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.09818, allocations: 36.81 kB / 344 MB, free: 3.844 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009634/0.09916, allocations: 467.8 kB / 344.5 MB, free: 3.348 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.09943, allocations: 0.7209 MB / 345.2 MB, free: 2.602 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002326/0.09968, allocations: 57.8 kB / 345.2 MB, free: 2.543 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.9e-05/0.09978, allocations: 27.42 kB / 345.3 MB, free: 2.516 MB / 286.1 MB Notification: Performance of SimCode: time 3e-07/0.09978, allocations: 0 / 345.3 MB, free: 2.516 MB / 286.1 MB Notification: Performance of Templates: time 0.005518/0.1053, allocations: 2.693 MB / 348 MB, free: 15.82 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches