Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001992/0.001992, allocations: 180.2 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.617/1.617, allocations: 223.2 MB / 240.3 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 101.6 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003021/0.0003021, allocations: 15.92 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3244, allocations: 50.39 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5961/0.9205, allocations: 273.7 MB / 0.6593 GB, free: 1.52 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/0.9209, allocations: 66.41 kB / 0.6594 GB, free: 1.484 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02386/0.9448, allocations: 9.663 MB / 0.6688 GB, free: 9.523 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.9449, allocations: 0 / 0.6688 GB, free: 9.523 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.9449, allocations: 4 kB / 0.6688 GB, free: 9.52 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.0009474/0.9458, allocations: 458.2 kB / 0.6693 GB, free: 9.035 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.9459, allocations: 8.031 kB / 0.6693 GB, free: 9.027 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.9461, allocations: 27.75 kB / 0.6693 GB, free: 9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.9464, allocations: 206.2 kB / 0.6695 GB, free: 8.766 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.9464, allocations: 11.47 kB / 0.6695 GB, free: 8.762 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/0.9464, allocations: 11.5 kB / 0.6695 GB, free: 8.754 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004424/0.9469, allocations: 208 kB / 0.6697 GB, free: 8.57 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.9469, allocations: 0 / 0.6697 GB, free: 8.57 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/0.9469, allocations: 15.69 kB / 0.6697 GB, free: 8.562 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.947, allocations: 7.953 kB / 0.6698 GB, free: 8.555 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003535/0.9473, allocations: 136.6 kB / 0.6699 GB, free: 8.453 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.9487, allocations: 0.9455 MB / 0.6708 GB, free: 7.52 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003772/0.9491, allocations: 150.8 kB / 0.671 GB, free: 7.395 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006234/0.9497, allocations: 0.5082 MB / 0.6715 GB, free: 6.848 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.9498, allocations: 34.56 kB / 0.6715 GB, free: 6.805 MB / 458.7 MB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.9498, allocations: 0 / 0.6715 GB, free: 6.805 MB / 458.7 MB Notification: Performance of matching and sorting (n=20): time 0.002606/0.9524, allocations: 0.7603 MB / 0.6722 GB, free: 6.125 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.9525, allocations: 55.41 kB / 0.6723 GB, free: 6.059 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.9526, allocations: 143.6 kB / 0.6724 GB, free: 5.922 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.9527, allocations: 29.7 kB / 0.6724 GB, free: 5.887 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.571e-05/0.9528, allocations: 131.3 kB / 0.6726 GB, free: 5.758 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.439e-05/0.9528, allocations: 78 kB / 0.6726 GB, free: 5.691 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.538e-05/0.9529, allocations: 3.938 kB / 0.6726 GB, free: 5.691 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.953, allocations: 325.7 kB / 0.673 GB, free: 5.371 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/0.9533, allocations: 81.88 kB / 0.673 GB, free: 5.312 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003131/0.9536, allocations: 198 kB / 0.6732 GB, free: 5.102 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/0.9539, allocations: 100.4 kB / 0.6733 GB, free: 5.035 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.78e-06/0.9539, allocations: 0 / 0.6733 GB, free: 5.035 MB / 458.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006672/0.9546, allocations: 320.9 kB / 0.6736 GB, free: 4.785 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.9546, allocations: 8 kB / 0.6736 GB, free: 4.777 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.9546, allocations: 8.469 kB / 0.6736 GB, free: 4.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.9547, allocations: 8 kB / 0.6737 GB, free: 4.762 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/0.9551, allocations: 87.81 kB / 0.6737 GB, free: 4.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.9551, allocations: 7.938 kB / 0.6737 GB, free: 4.672 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.9553, allocations: 15.17 kB / 0.6738 GB, free: 4.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.9554, allocations: 15.94 kB / 0.6738 GB, free: 4.648 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.0001476/0.9555, allocations: 136.2 kB / 0.6739 GB, free: 4.516 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.827e-05/0.9556, allocations: 27.69 kB / 0.6739 GB, free: 4.488 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000657/0.9562, allocations: 234.2 kB / 0.6742 GB, free: 4.316 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.9563, allocations: 4 kB / 0.6742 GB, free: 4.312 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.9563, allocations: 0 / 0.6742 GB, free: 4.312 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.9563, allocations: 7.922 kB / 0.6742 GB, free: 4.305 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.9577, allocations: 0.6009 MB / 0.6747 GB, free: 3.715 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.9577, allocations: 0 / 0.6747 GB, free: 3.715 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003102/0.958, allocations: 47.95 kB / 0.6748 GB, free: 3.668 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.958, allocations: 4 kB / 0.6748 GB, free: 3.664 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.9581, allocations: 7.688 kB / 0.6748 GB, free: 3.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.9581, allocations: 3.938 kB / 0.6748 GB, free: 3.656 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.9581, allocations: 0 / 0.6748 GB, free: 3.656 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00086/0.9589, allocations: 460 kB / 0.6752 GB, free: 3.227 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/0.959, allocations: 85.05 kB / 0.6753 GB, free: 3.125 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.475e-05/0.9591, allocations: 7.125 kB / 0.6753 GB, free: 3.121 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.9593, allocations: 11.67 kB / 0.6753 GB, free: 3.113 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.774e-05/0.9593, allocations: 19.98 kB / 0.6754 GB, free: 3.094 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/0.9594, allocations: 15.48 kB / 0.6754 GB, free: 3.082 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.802e-05/0.9595, allocations: 108.4 kB / 0.6755 GB, free: 2.984 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.9595, allocations: 0 / 0.6755 GB, free: 2.984 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003831/0.9599, allocations: 62.44 kB / 0.6755 GB, free: 2.934 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.0002744/0.9602, allocations: 153.7 kB / 0.6757 GB, free: 2.777 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005714/0.9607, allocations: 217.3 kB / 0.6759 GB, free: 2.609 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.9608, allocations: 4 kB / 0.6759 GB, free: 2.605 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.961, allocations: 91.12 kB / 0.676 GB, free: 2.535 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.9613, allocations: 31.17 kB / 0.676 GB, free: 2.512 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.9625, allocations: 0.5608 MB / 0.6766 GB, free: 1.945 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.9629, allocations: 0.7245 MB / 0.6773 GB, free: 1.195 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002694/0.9632, allocations: 37.95 kB / 0.6773 GB, free: 1.16 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.555e-05/0.9633, allocations: 27.42 kB / 0.6773 GB, free: 1.137 MB / 458.7 MB Notification: Performance of SimCode: time 3.31e-07/0.9633, allocations: 0 / 0.6773 GB, free: 1.137 MB / 458.7 MB Notification: Performance of Templates: time 0.2434/1.207, allocations: 2.735 MB / 0.68 GB, free: 179.5 MB / 458.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches