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.001603/0.001603, allocations: 196.6 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008908/0.0008908, allocations: 91.53 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.708e-05/2.71e-05, allocations: 8 kB / 350.5 MB, free: 2.551 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.105, allocations: 51.47 MB / 402 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7817/0.8868, allocations: 274.4 MB / 0.6606 GB, free: 73.12 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.8871, allocations: 66.25 kB / 0.6607 GB, free: 73.09 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02073/0.9078, allocations: 9.674 MB / 0.6701 GB, free: 65.23 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.9079, allocations: 0 / 0.6701 GB, free: 65.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.9079, allocations: 5.688 kB / 0.6701 GB, free: 65.23 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.0007445/0.9086, allocations: 452.7 kB / 0.6705 GB, free: 64.75 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.9087, allocations: 12.03 kB / 0.6706 GB, free: 64.74 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.9089, allocations: 17.16 kB / 0.6706 GB, free: 64.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.9091, allocations: 213.9 kB / 0.6708 GB, free: 64.49 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.9091, allocations: 12.53 kB / 0.6708 GB, free: 64.48 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/0.9092, allocations: 11.5 kB / 0.6708 GB, free: 64.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/0.9095, allocations: 211.5 kB / 0.671 GB, free: 64.3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.9095, allocations: 4 kB / 0.671 GB, free: 64.29 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.9096, allocations: 3.375 kB / 0.671 GB, free: 64.29 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.9096, allocations: 4 kB / 0.671 GB, free: 64.29 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002053/0.9098, allocations: 127.5 kB / 0.6711 GB, free: 64.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.9109, allocations: 0.9437 MB / 0.6721 GB, free: 63.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.9112, allocations: 126.7 kB / 0.6722 GB, free: 63.17 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.832e-05/0.9113, allocations: 50.78 kB / 0.6722 GB, free: 63.13 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004183/0.9117, allocations: 0.5085 MB / 0.6727 GB, free: 62.58 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.9117, allocations: 37.94 kB / 0.6728 GB, free: 62.54 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.9117, allocations: 4 kB / 0.6728 GB, free: 62.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.001511/0.9132, allocations: 0.6222 MB / 0.6734 GB, free: 61.96 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.9133, allocations: 59.36 kB / 0.6734 GB, free: 61.89 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.395e-05/0.9134, allocations: 144.7 kB / 0.6736 GB, free: 61.75 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.9134, allocations: 29.33 kB / 0.6736 GB, free: 61.72 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.857e-05/0.9135, allocations: 147 kB / 0.6737 GB, free: 61.58 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.9135, allocations: 69.56 kB / 0.6738 GB, free: 61.52 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.343e-05/0.9135, allocations: 3.438 kB / 0.6738 GB, free: 61.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.003e-05/0.9136, allocations: 329.9 kB / 0.6741 GB, free: 61.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.9137, allocations: 65.67 kB / 0.6742 GB, free: 61.15 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.9138, allocations: 173.7 kB / 0.6743 GB, free: 60.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.9139, allocations: 90.39 kB / 0.6744 GB, free: 60.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.914, allocations: 3.938 kB / 0.6744 GB, free: 60.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003592/0.9143, allocations: 280.7 kB / 0.6747 GB, free: 60.68 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.9143, allocations: 11.98 kB / 0.6747 GB, free: 60.67 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.9144, allocations: 4 kB / 0.6747 GB, free: 60.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.9144, allocations: 4 kB / 0.6747 GB, free: 60.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.9147, allocations: 79.89 kB / 0.6748 GB, free: 60.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.9147, allocations: 7.938 kB / 0.6748 GB, free: 60.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.9149, allocations: 23.91 kB / 0.6748 GB, free: 60.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.915, allocations: 15.81 kB / 0.6748 GB, free: 60.54 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 7.006e-05/0.9151, allocations: 121.3 kB / 0.675 GB, free: 60.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.9151, allocations: 19.8 kB / 0.675 GB, free: 60.41 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003473/0.9155, allocations: 210.7 kB / 0.6752 GB, free: 60.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.9155, allocations: 0 / 0.6752 GB, free: 60.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.9155, allocations: 1.594 kB / 0.6752 GB, free: 60.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.9155, allocations: 3.984 kB / 0.6752 GB, free: 60.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007827/0.9163, allocations: 0.5628 MB / 0.6757 GB, free: 59.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.9163, allocations: 0 / 0.6757 GB, free: 59.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.9166, allocations: 56.03 kB / 0.6758 GB, free: 59.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.9166, allocations: 7.938 kB / 0.6758 GB, free: 59.63 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.9166, allocations: 11.73 kB / 0.6758 GB, free: 59.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.9166, allocations: 4 kB / 0.6758 GB, free: 59.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.9166, allocations: 0 / 0.6758 GB, free: 59.62 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/0.917, allocations: 401.4 kB / 0.6762 GB, free: 59.24 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.958e-05/0.917, allocations: 92.95 kB / 0.6763 GB, free: 59.13 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.9171, allocations: 3.562 kB / 0.6763 GB, free: 59.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.9173, allocations: 18.36 kB / 0.6763 GB, free: 59.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-05/0.9173, allocations: 19.75 kB / 0.6763 GB, free: 59.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.9173, allocations: 7.984 kB / 0.6763 GB, free: 59.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.701e-05/0.9174, allocations: 110.4 kB / 0.6764 GB, free: 58.99 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.9174, allocations: 0 / 0.6764 GB, free: 58.99 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000318/0.9177, allocations: 68.25 kB / 0.6765 GB, free: 58.94 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.0001796/0.9179, allocations: 144.7 kB / 0.6766 GB, free: 58.79 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002831/0.9182, allocations: 183.5 kB / 0.6768 GB, free: 58.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.9182, allocations: 0 / 0.6768 GB, free: 58.66 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.445e-05/0.9183, allocations: 83.61 kB / 0.6769 GB, free: 58.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.9186, allocations: 29.02 kB / 0.6769 GB, free: 58.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005759/0.9192, allocations: 293.3 kB / 0.6772 GB, free: 58.29 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.9193, allocations: 0.7165 MB / 0.6779 GB, free: 57.54 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002537/0.9196, allocations: 50.98 kB / 0.6779 GB, free: 57.49 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.072e-05/0.9197, allocations: 27.11 kB / 0.678 GB, free: 57.47 MB / 442.7 MB Notification: Performance of SimCode: time 2.51e-07/0.9197, allocations: 0 / 0.678 GB, free: 57.47 MB / 442.7 MB Notification: Performance of Templates: time 0.005227/0.9249, allocations: 2.801 MB / 0.6807 GB, free: 54.73 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