Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001921/0.001921, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001046/0.001046, allocations: 96.11 kB / 286.7 MB, free: 5.23 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.306e-05/2.309e-05, allocations: 4 kB / 343.7 MB, free: 8.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1137, allocations: 51.49 MB / 395.2 MB, free: 4.793 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7204/0.8342, allocations: 273.8 MB / 0.6532 GB, free: 82.16 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/0.8345, allocations: 67.16 kB / 0.6533 GB, free: 82.13 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01996/0.8544, allocations: 9.615 MB / 0.6627 GB, free: 74.39 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.8545, allocations: 0 / 0.6627 GB, free: 74.39 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.8545, allocations: 0 / 0.6627 GB, free: 74.39 MB / 442.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.0007343/0.8553, allocations: 457.5 kB / 0.6631 GB, free: 73.91 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.8553, allocations: 11.97 kB / 0.6631 GB, free: 73.9 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/0.8555, allocations: 17.59 kB / 0.6632 GB, free: 73.89 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.8557, allocations: 206.1 kB / 0.6634 GB, free: 73.66 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.8557, allocations: 4.859 kB / 0.6634 GB, free: 73.65 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.516e-05/0.8558, allocations: 19.86 kB / 0.6634 GB, free: 73.63 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002283/0.856, allocations: 116.3 kB / 0.6635 GB, free: 73.55 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.8562, allocations: 176.9 kB / 0.6637 GB, free: 73.39 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.8563, allocations: 3.938 kB / 0.6637 GB, free: 73.39 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.8563, allocations: 0 / 0.6637 GB, free: 73.39 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.8563, allocations: 4 kB / 0.6637 GB, free: 73.38 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.8574, allocations: 0.9034 MB / 0.6646 GB, free: 72.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.8577, allocations: 126.3 kB / 0.6647 GB, free: 72.39 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.006e-05/0.8578, allocations: 35.92 kB / 0.6647 GB, free: 72.37 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000474/0.8582, allocations: 0.5132 MB / 0.6652 GB, free: 71.81 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.8583, allocations: 34.31 kB / 0.6652 GB, free: 71.77 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.8583, allocations: 9.531 kB / 0.6652 GB, free: 71.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.001612/0.8599, allocations: 0.5855 MB / 0.6658 GB, free: 71.21 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.94e-05/0.8599, allocations: 55.41 kB / 0.6659 GB, free: 71.14 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.934e-05/0.86, allocations: 134.3 kB / 0.666 GB, free: 71.01 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.8601, allocations: 25.7 kB / 0.666 GB, free: 70.98 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.515e-05/0.8601, allocations: 150.5 kB / 0.6662 GB, free: 70.84 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.766e-05/0.8602, allocations: 66.12 kB / 0.6662 GB, free: 70.78 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.389e-05/0.8602, allocations: 0 / 0.6662 GB, free: 70.78 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.492e-05/0.8602, allocations: 333.7 kB / 0.6666 GB, free: 70.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.03e-05/0.8603, allocations: 57.81 kB / 0.6666 GB, free: 70.42 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.8605, allocations: 170.2 kB / 0.6668 GB, free: 70.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.8606, allocations: 83.08 kB / 0.6668 GB, free: 70.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.8606, allocations: 0 / 0.6668 GB, free: 70.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003387/0.861, allocations: 244.9 kB / 0.6671 GB, free: 69.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.861, allocations: 12.03 kB / 0.6671 GB, free: 69.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.861, allocations: 7.938 kB / 0.6671 GB, free: 69.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.861, allocations: 8 kB / 0.6671 GB, free: 69.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/0.8614, allocations: 84.94 kB / 0.6672 GB, free: 69.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.8614, allocations: 4 kB / 0.6672 GB, free: 69.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.8616, allocations: 11.98 kB / 0.6672 GB, free: 69.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.8616, allocations: 12 kB / 0.6672 GB, free: 69.85 MB / 442.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.479e-05/0.8617, allocations: 128.3 kB / 0.6673 GB, free: 69.72 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/0.8618, allocations: 15.81 kB / 0.6674 GB, free: 69.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003846/0.8622, allocations: 186 kB / 0.6675 GB, free: 69.56 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.8622, allocations: 4 kB / 0.6675 GB, free: 69.55 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.8622, allocations: 0 / 0.6675 GB, free: 69.55 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.8622, allocations: 0 / 0.6675 GB, free: 69.55 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008517/0.8631, allocations: 0.5269 MB / 0.668 GB, free: 69.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.8631, allocations: 0 / 0.668 GB, free: 69.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/0.8633, allocations: 47.91 kB / 0.6681 GB, free: 68.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.8634, allocations: 7.984 kB / 0.6681 GB, free: 68.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.8634, allocations: 8.125 kB / 0.6681 GB, free: 68.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.8634, allocations: 0 / 0.6681 GB, free: 68.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.8634, allocations: 7.953 kB / 0.6681 GB, free: 68.97 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003904/0.8638, allocations: 380.9 kB / 0.6685 GB, free: 68.61 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.238e-05/0.8638, allocations: 92.95 kB / 0.6686 GB, free: 68.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/0.8639, allocations: 0 / 0.6686 GB, free: 68.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.8641, allocations: 15.92 kB / 0.6686 GB, free: 68.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.215e-05/0.8641, allocations: 11.98 kB / 0.6686 GB, free: 68.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.8642, allocations: 15.98 kB / 0.6686 GB, free: 68.46 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.364e-05/0.8642, allocations: 105.6 kB / 0.6687 GB, free: 68.36 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8642, allocations: 0 / 0.6687 GB, free: 68.36 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003319/0.8646, allocations: 52 kB / 0.6688 GB, free: 68.31 MB / 442.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002072/0.8648, allocations: 146.7 kB / 0.6689 GB, free: 68.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002513/0.865, allocations: 159.5 kB / 0.6691 GB, free: 68.05 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.865, allocations: 3.562 kB / 0.6691 GB, free: 68.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.083e-05/0.8651, allocations: 82.05 kB / 0.6691 GB, free: 67.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.8654, allocations: 27.59 kB / 0.6692 GB, free: 67.96 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006777/0.8661, allocations: 282.4 kB / 0.6694 GB, free: 67.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/0.8663, allocations: 0.7165 MB / 0.6701 GB, free: 66.94 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002477/0.8666, allocations: 42.08 kB / 0.6702 GB, free: 66.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.924e-05/0.8667, allocations: 31.36 kB / 0.6702 GB, free: 66.87 MB / 442.7 MB Notification: Performance of SimCode: time 2.4e-07/0.8667, allocations: 0 / 0.6702 GB, free: 66.87 MB / 442.7 MB Notification: Performance of Templates: time 0.004921/0.8716, allocations: 2.583 MB / 0.6727 GB, free: 64.35 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches