Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001331/0.00133, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.876/1.876, allocations: 205.4 MB / 223.6 MB, free: 9.043 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.0008734/0.0008734, allocations: 85.42 kB / 271.9 MB, free: 8.277 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003538, allocations: 8 kB / 328.1 MB, free: 15.97 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3133, allocations: 47.57 MB / 375.7 MB, free: 45.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5418/0.8552, allocations: 272.8 MB / 0.6333 GB, free: 260 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002023/0.8554, allocations: 72.03 kB / 0.6333 GB, free: 220 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0224/0.8778, allocations: 9.407 MB / 0.6425 GB, free: 8.484 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.8779, allocations: 0 / 0.6425 GB, free: 8.484 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.8779, allocations: 4 kB / 0.6425 GB, free: 8.48 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.0009557/0.8789, allocations: 458.7 kB / 0.643 GB, free: 7.992 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.8789, allocations: 12.03 kB / 0.643 GB, free: 7.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002341/0.8792, allocations: 24.73 kB / 0.643 GB, free: 7.957 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.8795, allocations: 207.3 kB / 0.6432 GB, free: 7.723 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.8795, allocations: 11.66 kB / 0.6432 GB, free: 7.719 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.851e-05/0.8795, allocations: 11.81 kB / 0.6432 GB, free: 7.711 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000466/0.88, allocations: 216.1 kB / 0.6434 GB, free: 7.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.88, allocations: 8.094 kB / 0.6434 GB, free: 7.512 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/0.8801, allocations: 10.62 kB / 0.6434 GB, free: 7.508 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.8801, allocations: 4 kB / 0.6434 GB, free: 7.504 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003601/0.8805, allocations: 144.1 kB / 0.6436 GB, free: 7.395 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.8818, allocations: 0.9302 MB / 0.6445 GB, free: 6.477 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003957/0.8822, allocations: 147.4 kB / 0.6446 GB, free: 6.355 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.8824, allocations: 55.33 kB / 0.6447 GB, free: 6.312 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005864/0.8831, allocations: 0.5082 MB / 0.6452 GB, free: 5.766 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.8831, allocations: 30.56 kB / 0.6452 GB, free: 5.727 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.8831, allocations: 4 kB / 0.6452 GB, free: 5.723 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.002546/0.8856, allocations: 0.7608 MB / 0.646 GB, free: 5.047 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.8857, allocations: 59.41 kB / 0.646 GB, free: 4.977 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.8859, allocations: 152.6 kB / 0.6462 GB, free: 4.828 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.8859, allocations: 33.33 kB / 0.6462 GB, free: 4.793 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.953e-05/0.886, allocations: 143.2 kB / 0.6463 GB, free: 4.656 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.51e-05/0.8861, allocations: 73.56 kB / 0.6464 GB, free: 4.594 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.956e-05/0.8861, allocations: 7.75 kB / 0.6464 GB, free: 4.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.8862, allocations: 322.1 kB / 0.6467 GB, free: 4.273 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.8864, allocations: 88.94 kB / 0.6468 GB, free: 4.207 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002909/0.8868, allocations: 196.9 kB / 0.647 GB, free: 3.996 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005355/0.8873, allocations: 285.4 kB / 0.6473 GB, free: 3.734 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.8873, allocations: 4 kB / 0.6473 GB, free: 3.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006598/0.888, allocations: 313.5 kB / 0.6476 GB, free: 3.484 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.888, allocations: 15.88 kB / 0.6476 GB, free: 3.469 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.888, allocations: 0 / 0.6476 GB, free: 3.469 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.8881, allocations: 8.469 kB / 0.6476 GB, free: 3.461 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/0.8884, allocations: 83.52 kB / 0.6477 GB, free: 3.383 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.8884, allocations: 4 kB / 0.6477 GB, free: 3.379 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.8887, allocations: 19.92 kB / 0.6477 GB, free: 3.363 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/0.8887, allocations: 15.5 kB / 0.6477 GB, free: 3.352 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.0001382/0.8889, allocations: 140.1 kB / 0.6478 GB, free: 3.215 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-05/0.8889, allocations: 19.75 kB / 0.6479 GB, free: 3.195 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006454/0.8896, allocations: 236.3 kB / 0.6481 GB, free: 3.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.8896, allocations: 0 / 0.6481 GB, free: 3.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.8896, allocations: 4 kB / 0.6481 GB, free: 3.016 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.8896, allocations: 0 / 0.6481 GB, free: 3.016 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.8909, allocations: 0.5904 MB / 0.6487 GB, free: 2.438 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.8909, allocations: 4.031 kB / 0.6487 GB, free: 2.434 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002735/0.8911, allocations: 55.89 kB / 0.6487 GB, free: 2.379 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.8912, allocations: 0 / 0.6487 GB, free: 2.379 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.8912, allocations: 11.48 kB / 0.6487 GB, free: 2.371 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/0.8912, allocations: 8 kB / 0.6487 GB, free: 2.363 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.8912, allocations: 7.922 kB / 0.6487 GB, free: 2.355 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007934/0.892, allocations: 408.2 kB / 0.6491 GB, free: 2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.926e-05/0.8921, allocations: 92.94 kB / 0.6492 GB, free: 1.891 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.8921, allocations: 11.81 kB / 0.6492 GB, free: 1.883 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.8924, allocations: 15.92 kB / 0.6492 GB, free: 1.867 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.8924, allocations: 11.61 kB / 0.6493 GB, free: 1.859 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.8925, allocations: 8 kB / 0.6493 GB, free: 1.852 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.686e-05/0.8925, allocations: 113.6 kB / 0.6494 GB, free: 1.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8925, allocations: 3.938 kB / 0.6494 GB, free: 1.746 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003896/0.8929, allocations: 70.94 kB / 0.6494 GB, free: 1.684 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.0002774/0.8932, allocations: 146.3 kB / 0.6496 GB, free: 1.531 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005582/0.8938, allocations: 215.7 kB / 0.6498 GB, free: 1.367 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.8938, allocations: 0 / 0.6498 GB, free: 1.367 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.8941, allocations: 94.5 kB / 0.6499 GB, free: 1.293 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.8945, allocations: 35.84 kB / 0.6499 GB, free: 1.266 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.8956, allocations: 0.5748 MB / 0.6505 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2063/1.102, allocations: 0.7109 MB / 0.6512 GB, free: 161 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/1.102, allocations: 29.05 kB / 0.6512 GB, free: 161 MB / 426.7 MB Notification: Performance of SimCode: time 1.122e-06/1.102, allocations: 2.219 kB / 0.6512 GB, free: 161 MB / 426.7 MB Notification: Performance of Templates: time 0.005429/1.108, allocations: 2.728 MB / 0.6539 GB, free: 161 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches