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.001743/0.001743, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.636/1.636, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0008572/0.0008572, allocations: 86.66 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.137e-05/3.15e-05, allocations: 0 / 322.4 MB, free: 17.37 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1033, allocations: 47.57 MB / 370 MB, free: 1.734 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7467/0.85, allocations: 272.6 MB / 0.6276 GB, free: 50.45 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002185/0.8503, allocations: 67.41 kB / 0.6276 GB, free: 50.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02056/0.8709, allocations: 9.401 MB / 0.6368 GB, free: 42.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.8709, allocations: 0 / 0.6368 GB, free: 42.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.8709, allocations: 4 kB / 0.6368 GB, free: 42.7 MB / 410.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.0006546/0.8716, allocations: 455 kB / 0.6372 GB, free: 42.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.8716, allocations: 8.031 kB / 0.6372 GB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.8718, allocations: 19.89 kB / 0.6373 GB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.872, allocations: 214.3 kB / 0.6375 GB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.872, allocations: 8.094 kB / 0.6375 GB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.8721, allocations: 15.62 kB / 0.6375 GB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.8723, allocations: 207.2 kB / 0.6377 GB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.8724, allocations: 0 / 0.6377 GB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/0.8724, allocations: 11.5 kB / 0.6377 GB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.8724, allocations: 4 kB / 0.6377 GB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.8726, allocations: 118.9 kB / 0.6378 GB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009866/0.8736, allocations: 0.94 MB / 0.6387 GB, free: 40.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.8738, allocations: 133.2 kB / 0.6389 GB, free: 40.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.575e-05/0.8739, allocations: 45.44 kB / 0.6389 GB, free: 40.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004574/0.8744, allocations: 0.5142 MB / 0.6394 GB, free: 40.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.8744, allocations: 34.56 kB / 0.6394 GB, free: 40 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.8744, allocations: 0 / 0.6394 GB, free: 40 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001537/0.8759, allocations: 0.6397 MB / 0.6401 GB, free: 39.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.876, allocations: 63.36 kB / 0.6401 GB, free: 39.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.727e-05/0.8761, allocations: 141.4 kB / 0.6403 GB, free: 39.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.8761, allocations: 29.58 kB / 0.6403 GB, free: 39.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.835e-05/0.8762, allocations: 143.5 kB / 0.6404 GB, free: 39.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.8762, allocations: 74.12 kB / 0.6405 GB, free: 38.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.464e-05/0.8762, allocations: 7.562 kB / 0.6405 GB, free: 38.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.093e-05/0.8763, allocations: 320.6 kB / 0.6408 GB, free: 38.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.8764, allocations: 65.19 kB / 0.6409 GB, free: 38.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.8765, allocations: 174.5 kB / 0.641 GB, free: 38.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.8767, allocations: 88.84 kB / 0.6411 GB, free: 38.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.8767, allocations: 4 kB / 0.6411 GB, free: 38.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003501/0.877, allocations: 288.1 kB / 0.6414 GB, free: 38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.8771, allocations: 4 kB / 0.6414 GB, free: 37.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.8771, allocations: 4 kB / 0.6414 GB, free: 37.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.8771, allocations: 8 kB / 0.6414 GB, free: 37.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003353/0.8774, allocations: 79.89 kB / 0.6415 GB, free: 37.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.8775, allocations: 7.984 kB / 0.6415 GB, free: 37.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.8777, allocations: 23.94 kB / 0.6415 GB, free: 37.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.8777, allocations: 12 kB / 0.6415 GB, free: 37.86 MB / 410.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.172e-05/0.8778, allocations: 128.9 kB / 0.6417 GB, free: 37.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.8778, allocations: 15.81 kB / 0.6417 GB, free: 37.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003625/0.8782, allocations: 202.4 kB / 0.6419 GB, free: 37.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.8782, allocations: 0 / 0.6419 GB, free: 37.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.8782, allocations: 4 kB / 0.6419 GB, free: 37.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.8782, allocations: 3.984 kB / 0.6419 GB, free: 37.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008423/0.8791, allocations: 0.5639 MB / 0.6424 GB, free: 36.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.8791, allocations: 7.938 kB / 0.6424 GB, free: 36.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002648/0.8794, allocations: 55.89 kB / 0.6425 GB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.8794, allocations: 4.125 kB / 0.6425 GB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.8794, allocations: 11.95 kB / 0.6425 GB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.8794, allocations: 7.984 kB / 0.6425 GB, free: 36.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.8794, allocations: 0 / 0.6425 GB, free: 36.78 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004107/0.8798, allocations: 406.3 kB / 0.6429 GB, free: 36.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.907e-05/0.8799, allocations: 88.92 kB / 0.643 GB, free: 36.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/0.8799, allocations: 11.98 kB / 0.643 GB, free: 36.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/0.8802, allocations: 11.98 kB / 0.643 GB, free: 36.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.8802, allocations: 20 kB / 0.643 GB, free: 36.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.8802, allocations: 12 kB / 0.643 GB, free: 36.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.524e-05/0.8803, allocations: 103.3 kB / 0.6431 GB, free: 36.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8803, allocations: 4 kB / 0.6431 GB, free: 36.06 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003449/0.8806, allocations: 67.94 kB / 0.6432 GB, free: 36 MB / 410.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.0001998/0.8809, allocations: 139.6 kB / 0.6433 GB, free: 35.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002799/0.8811, allocations: 184.4 kB / 0.6435 GB, free: 35.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.8812, allocations: 0 / 0.6435 GB, free: 35.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.427e-05/0.8813, allocations: 79.86 kB / 0.6436 GB, free: 35.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.8815, allocations: 32.94 kB / 0.6436 GB, free: 35.56 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006367/0.8822, allocations: 290.2 kB / 0.6439 GB, free: 35.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001862/0.8824, allocations: 0.7243 MB / 0.6446 GB, free: 34.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002535/0.8827, allocations: 53.92 kB / 0.6447 GB, free: 34.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.462e-05/0.8827, allocations: 27.42 kB / 0.6447 GB, free: 34.42 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.8828, allocations: 0 / 0.6447 GB, free: 34.42 MB / 410.7 MB Notification: Performance of Templates: time 0.006064/0.8888, allocations: 2.796 MB / 0.6474 GB, free: 31.62 MB / 410.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