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.002235/0.002235, allocations: 196.7 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.645/1.645, allocations: 226.5 MB / 245.4 MB, free: 8.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008107/0.0008107, allocations: 100.5 kB / 297.5 MB, free: 6.922 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002673/0.0002674, allocations: 12 kB / 358.1 MB, free: 10.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2834, allocations: 51.29 MB / 409.4 MB, free: 27.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5046/0.788, allocations: 274.4 MB / 0.6678 GB, free: 7.723 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.7883, allocations: 67.56 kB / 0.6678 GB, free: 7.688 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2647/1.053, allocations: 9.681 MB / 0.6773 GB, free: 125.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.915e-06/1.053, allocations: 4.734 kB / 0.6773 GB, free: 125.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.448e-05/1.053, allocations: 4.562 kB / 0.6773 GB, free: 125.3 MB / 458.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.001022/1.054, allocations: 457.4 kB / 0.6777 GB, free: 124.9 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/1.054, allocations: 10.22 kB / 0.6777 GB, free: 124.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001955/1.054, allocations: 21.23 kB / 0.6778 GB, free: 124.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/1.055, allocations: 207.3 kB / 0.678 GB, free: 124.7 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/1.055, allocations: 10.44 kB / 0.678 GB, free: 124.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/1.055, allocations: 14.56 kB / 0.678 GB, free: 124.7 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004633/1.055, allocations: 217.9 kB / 0.6782 GB, free: 124.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/1.055, allocations: 3.688 kB / 0.6782 GB, free: 124.7 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.995e-05/1.055, allocations: 10.81 kB / 0.6782 GB, free: 124.6 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/1.055, allocations: 3.625 kB / 0.6782 GB, free: 124.6 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004018/1.056, allocations: 142.4 kB / 0.6783 GB, free: 124.6 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/1.057, allocations: 0.9379 MB / 0.6793 GB, free: 123.9 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004035/1.057, allocations: 147.8 kB / 0.6794 GB, free: 123.9 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/1.058, allocations: 54.95 kB / 0.6795 GB, free: 123.9 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004843/1.058, allocations: 0.5031 MB / 0.6799 GB, free: 123.4 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/1.058, allocations: 35.06 kB / 0.68 GB, free: 123.4 MB / 458.7 MB Notification: Performance of pre-optimization done (n=14): time 1.854e-06/1.058, allocations: 0 / 0.68 GB, free: 123.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=20): time 0.002329/1.06, allocations: 0.7688 MB / 0.6807 GB, free: 123.1 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/1.06, allocations: 60.81 kB / 0.6808 GB, free: 123 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/1.061, allocations: 148.7 kB / 0.6809 GB, free: 122.9 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/1.061, allocations: 29.02 kB / 0.681 GB, free: 122.9 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.404e-05/1.061, allocations: 138.8 kB / 0.6811 GB, free: 122.8 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/1.061, allocations: 76.88 kB / 0.6812 GB, free: 122.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.368e-05/1.061, allocations: 10.38 kB / 0.6812 GB, free: 122.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.149e-05/1.061, allocations: 324.8 kB / 0.6815 GB, free: 122.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/1.061, allocations: 81.84 kB / 0.6816 GB, free: 122.4 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/1.061, allocations: 190.5 kB / 0.6817 GB, free: 122.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004363/1.062, allocations: 293.1 kB / 0.682 GB, free: 122.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.062, allocations: 3.875 kB / 0.682 GB, free: 122.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005598/1.062, allocations: 314.9 kB / 0.6823 GB, free: 122.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/1.062, allocations: 7.719 kB / 0.6823 GB, free: 122.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.495e-06/1.062, allocations: 6.094 kB / 0.6823 GB, free: 122.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/1.062, allocations: 8.5 kB / 0.6824 GB, free: 122.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/1.063, allocations: 78.39 kB / 0.6824 GB, free: 122.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/1.063, allocations: 6.141 kB / 0.6824 GB, free: 122.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/1.063, allocations: 23.5 kB / 0.6825 GB, free: 122.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/1.063, allocations: 13.5 kB / 0.6825 GB, free: 122.1 MB / 458.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001008/1.063, allocations: 146.9 kB / 0.6826 GB, free: 122 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/1.063, allocations: 19.56 kB / 0.6826 GB, free: 122 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005787/1.064, allocations: 236.9 kB / 0.6829 GB, free: 121.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/1.064, allocations: 1.641 kB / 0.6829 GB, free: 121.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/1.064, allocations: 3.906 kB / 0.6829 GB, free: 121.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/1.064, allocations: 4 kB / 0.6829 GB, free: 121.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/1.065, allocations: 0.6007 MB / 0.6834 GB, free: 121.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/1.065, allocations: 3.938 kB / 0.6835 GB, free: 121.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/1.065, allocations: 52 kB / 0.6835 GB, free: 121.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/1.065, allocations: 3.812 kB / 0.6835 GB, free: 121.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.885e-05/1.065, allocations: 2.391 kB / 0.6835 GB, free: 121.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/1.065, allocations: 3.906 kB / 0.6835 GB, free: 121.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.065, allocations: 3.938 kB / 0.6835 GB, free: 121.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007034/1.066, allocations: 408.2 kB / 0.6839 GB, free: 121.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/1.066, allocations: 86.58 kB / 0.684 GB, free: 121.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.445e-05/1.066, allocations: 6.781 kB / 0.684 GB, free: 121.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/1.066, allocations: 22.56 kB / 0.684 GB, free: 121.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/1.066, allocations: 10.02 kB / 0.684 GB, free: 121.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/1.066, allocations: 14.17 kB / 0.684 GB, free: 121.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.717e-05/1.066, allocations: 113.9 kB / 0.6841 GB, free: 121.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.31e-07/1.066, allocations: 0 / 0.6841 GB, free: 121.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004028/1.067, allocations: 66.03 kB / 0.6842 GB, free: 121.2 MB / 458.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 (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.0003134/1.067, allocations: 145.9 kB / 0.6843 GB, free: 121.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005606/1.068, allocations: 211.4 kB / 0.6845 GB, free: 121.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.068, allocations: 0 / 0.6845 GB, free: 121.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002153/1.068, allocations: 94.67 kB / 0.6846 GB, free: 121.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/1.068, allocations: 43.3 kB / 0.6847 GB, free: 121.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/1.069, allocations: 0.5622 MB / 0.6852 GB, free: 120.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/1.07, allocations: 0.718 MB / 0.6859 GB, free: 120 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002739/1.07, allocations: 40.39 kB / 0.686 GB, free: 120 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.021e-05/1.07, allocations: 28.47 kB / 0.686 GB, free: 120 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/1.07, allocations: 0 / 0.686 GB, free: 120 MB / 458.7 MB Notification: Performance of Templates: time 0.006773/1.077, allocations: 2.751 MB / 0.6887 GB, free: 119.8 MB / 458.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/jenkins1/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