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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.00186/0.00186, allocations: 180 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.896/1.896, allocations: 205.4 MB / 223.1 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 102.4 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004149/0.0004152, allocations: 7.984 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4049, allocations: 47.56 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6455/1.051, allocations: 272.7 MB / 0.6333 GB, free: 456 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/1.051, allocations: 66.78 kB / 0.6334 GB, free: 420 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02366/1.075, allocations: 9.442 MB / 0.6426 GB, free: 8.656 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.946e-06/1.075, allocations: 0 / 0.6426 GB, free: 8.656 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.267e-05/1.075, allocations: 0 / 0.6426 GB, free: 8.656 MB / 426.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.0009059/1.076, allocations: 458.8 kB / 0.643 GB, free: 8.168 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/1.076, allocations: 12.03 kB / 0.643 GB, free: 8.156 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/1.076, allocations: 19.81 kB / 0.6431 GB, free: 8.137 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/1.076, allocations: 213.1 kB / 0.6433 GB, free: 7.898 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/1.076, allocations: 8.219 kB / 0.6433 GB, free: 7.895 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/1.076, allocations: 11.38 kB / 0.6433 GB, free: 7.887 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004351/1.077, allocations: 223.1 kB / 0.6435 GB, free: 7.691 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/1.077, allocations: 0 / 0.6435 GB, free: 7.691 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/1.077, allocations: 7.938 kB / 0.6435 GB, free: 7.688 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/1.077, allocations: 4 kB / 0.6435 GB, free: 7.684 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003521/1.077, allocations: 140.8 kB / 0.6436 GB, free: 7.578 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/1.078, allocations: 0.9415 MB / 0.6446 GB, free: 6.648 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/1.079, allocations: 143.8 kB / 0.6447 GB, free: 6.531 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005674/1.079, allocations: 0.497 MB / 0.6452 GB, free: 5.996 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/1.079, allocations: 42.48 kB / 0.6452 GB, free: 5.945 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/1.079, allocations: 0 / 0.6452 GB, free: 5.945 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.002631/1.082, allocations: 0.7577 MB / 0.646 GB, free: 5.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/1.082, allocations: 55.41 kB / 0.646 GB, free: 5.203 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/1.082, allocations: 148.2 kB / 0.6462 GB, free: 5.062 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/1.082, allocations: 33.64 kB / 0.6462 GB, free: 5.023 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.647e-05/1.082, allocations: 147.1 kB / 0.6463 GB, free: 4.887 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.949e-05/1.083, allocations: 73.88 kB / 0.6464 GB, free: 4.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.626e-05/1.083, allocations: 7.188 kB / 0.6464 GB, free: 4.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/1.083, allocations: 322.4 kB / 0.6467 GB, free: 4.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/1.083, allocations: 84.5 kB / 0.6468 GB, free: 4.441 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003042/1.083, allocations: 196.1 kB / 0.647 GB, free: 4.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/1.084, allocations: 108.2 kB / 0.6471 GB, free: 4.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.084, allocations: 0 / 0.6471 GB, free: 4.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006357/1.084, allocations: 314.4 kB / 0.6474 GB, free: 3.914 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/1.084, allocations: 8 kB / 0.6474 GB, free: 3.906 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/1.084, allocations: 4 kB / 0.6474 GB, free: 3.902 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/1.084, allocations: 4 kB / 0.6474 GB, free: 3.898 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/1.085, allocations: 83.33 kB / 0.6475 GB, free: 3.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.639e-05/1.085, allocations: 12.14 kB / 0.6475 GB, free: 3.809 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/1.085, allocations: 15.62 kB / 0.6475 GB, free: 3.797 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-05/1.085, allocations: 19.94 kB / 0.6475 GB, free: 3.777 MB / 426.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.0001619/1.085, allocations: 132.3 kB / 0.6476 GB, free: 3.652 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.051e-05/1.085, allocations: 15.81 kB / 0.6477 GB, free: 3.637 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006749/1.086, allocations: 240.7 kB / 0.6479 GB, free: 3.453 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/1.086, allocations: 4 kB / 0.6479 GB, free: 3.449 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.086, allocations: 0 / 0.6479 GB, free: 3.449 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/1.086, allocations: 3.984 kB / 0.6479 GB, free: 3.445 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/1.087, allocations: 0.5868 MB / 0.6485 GB, free: 2.867 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/1.087, allocations: 4 kB / 0.6485 GB, free: 2.863 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/1.088, allocations: 47.97 kB / 0.6485 GB, free: 2.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/1.088, allocations: 12 kB / 0.6485 GB, free: 2.809 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/1.088, allocations: 15.81 kB / 0.6486 GB, free: 2.793 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.113e-06/1.088, allocations: 7.938 kB / 0.6486 GB, free: 2.785 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.088, allocations: 0 / 0.6486 GB, free: 2.785 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008673/1.089, allocations: 455.9 kB / 0.649 GB, free: 2.363 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.091e-05/1.089, allocations: 85.02 kB / 0.6491 GB, free: 2.262 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/1.089, allocations: 7.688 kB / 0.6491 GB, free: 2.258 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/1.089, allocations: 19.27 kB / 0.6491 GB, free: 2.242 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/1.089, allocations: 15.92 kB / 0.6491 GB, free: 2.227 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/1.089, allocations: 15.94 kB / 0.6491 GB, free: 2.211 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.397e-05/1.089, allocations: 109.2 kB / 0.6492 GB, free: 2.113 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.089, allocations: 4.062 kB / 0.6492 GB, free: 2.109 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003962/1.089, allocations: 69.92 kB / 0.6493 GB, free: 2.051 MB / 426.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.0002707/1.09, allocations: 138.5 kB / 0.6494 GB, free: 1.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005694/1.09, allocations: 217.9 kB / 0.6496 GB, free: 1.742 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.09, allocations: 0 / 0.6496 GB, free: 1.742 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002616/1.091, allocations: 92.38 kB / 0.6497 GB, free: 1.672 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/1.091, allocations: 35.59 kB / 0.6498 GB, free: 1.645 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/1.092, allocations: 0.5498 MB / 0.6503 GB, free: 1.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/1.092, allocations: 0.7206 MB / 0.651 GB, free: 352 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002797/1.093, allocations: 49.86 kB / 0.6511 GB, free: 300 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.911e-05/1.093, allocations: 31.42 kB / 0.6511 GB, free: 272 kB / 426.7 MB Notification: Performance of SimCode: time 2.144e-06/1.093, allocations: 0 / 0.6511 GB, free: 272 kB / 426.7 MB Notification: Performance of Templates: time 0.2682/1.361, allocations: 2.715 MB / 0.6537 GB, free: 161 MB / 426.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches