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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008094/0.0008095, allocations: 92.47 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008733/0.0008732, allocations: 175.4 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 223.3 MB / 241.6 MB, free: 196 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002715/0.0002715, allocations: 11.94 kB / 301.4 MB, free: 6.141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08549/0.08578, allocations: 50.41 MB / 351.8 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004876/0.0907, allocations: 4.115 MB / 355.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.09276, allocations: 1.799 MB / 357.7 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.093e-05/0.09288, allocations: 0 / 357.7 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002326/0.09312, allocations: 43.73 kB / 357.8 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003472/0.09348, allocations: 115.3 kB / 357.9 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006233/0.09411, allocations: 234.4 kB / 358.1 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004442/0.09457, allocations: 362.8 kB / 358.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.032e-05/0.09463, allocations: 13.11 kB / 358.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002631/0.0949, allocations: 123.6 kB / 358.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.09505, allocations: 79.67 kB / 358.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.09508, allocations: 11.98 kB / 358.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002502/0.09534, allocations: 103.9 kB / 358.8 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.079e-05/0.09542, allocations: 27.91 kB / 358.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.09554, allocations: 105.3 kB / 358.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003197/0.09586, allocations: 207.7 kB / 359.1 MB, free: 12.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.09588, allocations: 0 / 359.1 MB, free: 12.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.09588, allocations: 0 / 359.1 MB, free: 12.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.09589, allocations: 4 kB / 359.1 MB, free: 12.36 MB / 302.1 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.0008677/0.09677, allocations: 447.4 kB / 359.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.09681, allocations: 8.031 kB / 359.6 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.097, allocations: 24.75 kB / 359.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.09724, allocations: 208.1 kB / 359.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.09726, allocations: 12.66 kB / 359.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.917e-05/0.09731, allocations: 24.31 kB / 359.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004261/0.09774, allocations: 221.5 kB / 360.1 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.09777, allocations: 4 kB / 360.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.0978, allocations: 8 kB / 360.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.09781, allocations: 7.984 kB / 360.1 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003675/0.09819, allocations: 151.8 kB / 360.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.09949, allocations: 0.9324 MB / 361.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003909/0.09989, allocations: 158.7 kB / 361.3 MB, free: 9.988 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.1, allocations: 52.83 kB / 361.4 MB, free: 9.934 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000513/0.1006, allocations: 0.5109 MB / 361.9 MB, free: 9.359 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.1006, allocations: 34.56 kB / 361.9 MB, free: 9.316 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.1006, allocations: 4 kB / 361.9 MB, free: 9.312 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.00248/0.1031, allocations: 0.7541 MB / 362.7 MB, free: 8.508 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.1032, allocations: 59.34 kB / 362.7 MB, free: 8.438 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.1033, allocations: 153.5 kB / 362.9 MB, free: 8.281 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.1033, allocations: 29.7 kB / 362.9 MB, free: 8.246 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.266e-05/0.1034, allocations: 151.8 kB / 363 MB, free: 8.094 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.734e-05/0.1035, allocations: 74.89 kB / 363.1 MB, free: 8.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.457e-05/0.1035, allocations: 29.7 kB / 363.1 MB, free: 7.984 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1036, allocations: 326.8 kB / 363.5 MB, free: 7.656 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/0.1039, allocations: 79.94 kB / 363.5 MB, free: 7.578 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/0.1042, allocations: 194 kB / 363.7 MB, free: 7.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005671/0.1048, allocations: 303 kB / 364 MB, free: 6.996 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1048, allocations: 0 / 364 MB, free: 6.996 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006859/0.1055, allocations: 313.3 kB / 364.3 MB, free: 6.684 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1055, allocations: 8 kB / 364.3 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.1055, allocations: 4 kB / 364.3 MB, free: 6.672 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1055, allocations: 4 kB / 364.4 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000371/0.1059, allocations: 83.88 kB / 364.4 MB, free: 6.586 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.1059, allocations: 12.22 kB / 364.4 MB, free: 6.574 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.1062, allocations: 23.89 kB / 364.5 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/0.1062, allocations: 12 kB / 364.5 MB, free: 6.539 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.1064, allocations: 133.7 kB / 364.6 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.1064, allocations: 11.91 kB / 364.6 MB, free: 6.387 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006685/0.1071, allocations: 250.5 kB / 364.9 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1071, allocations: 0 / 364.9 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1071, allocations: 0 / 364.9 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.1071, allocations: 3.984 kB / 364.9 MB, free: 6.133 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.1084, allocations: 0.5907 MB / 365.5 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.1084, allocations: 4 kB / 365.5 MB, free: 5.473 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003013/0.1087, allocations: 59.89 kB / 365.5 MB, free: 5.414 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.1087, allocations: 4.125 kB / 365.5 MB, free: 5.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.1088, allocations: 4 kB / 365.5 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.1088, allocations: 7.938 kB / 365.5 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1088, allocations: 3.938 kB / 365.5 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008679/0.1096, allocations: 415.1 kB / 366 MB, free: 4.965 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-05/0.1097, allocations: 88.95 kB / 366 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/0.1097, allocations: 11.94 kB / 366 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.11, allocations: 16.05 kB / 366.1 MB, free: 4.832 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.11, allocations: 11.98 kB / 366.1 MB, free: 4.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.1101, allocations: 11.98 kB / 366.1 MB, free: 4.809 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.452e-05/0.1101, allocations: 107.2 kB / 366.2 MB, free: 4.703 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1101, allocations: 0 / 366.2 MB, free: 4.703 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003845/0.1105, allocations: 64 kB / 366.3 MB, free: 4.641 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002418/0.1108, allocations: 143 kB / 366.4 MB, free: 4.492 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005909/0.1114, allocations: 223 kB / 366.6 MB, free: 4.277 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1114, allocations: 0 / 366.6 MB, free: 4.277 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002504/0.1117, allocations: 91.81 kB / 366.7 MB, free: 4.188 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.1121, allocations: 48.53 kB / 366.8 MB, free: 4.141 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009921/0.1131, allocations: 0.5654 MB / 367.3 MB, free: 3.535 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.1134, allocations: 0.7129 MB / 368 MB, free: 2.797 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002666/0.1136, allocations: 45.88 kB / 368.1 MB, free: 2.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.076e-05/0.1137, allocations: 27.42 kB / 368.1 MB, free: 2.723 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1137, allocations: 0 / 368.1 MB, free: 2.723 MB / 302.1 MB Notification: Performance of Templates: time 0.005673/0.1194, allocations: 2.547 MB / 370.6 MB, free: 192 kB / 302.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches