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/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 3.2.3+maint.om/package.mo", uses=false) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 113.3 kB / 17.28 MB, free: 6.207 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.001785/0.001785, allocations: 189.3 kB / 18.2 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.334/1.334, allocations: 205.1 MB / 224.1 MB, free: 12.18 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 51.92 kB / 280.1 MB, free: 3.469 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07782/0.0789, allocations: 46.63 MB / 326.8 MB, free: 4.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005484/0.08442, allocations: 4.498 MB / 331.3 MB, free: 236 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.08623, allocations: 1.81 MB / 333.1 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.268e-05/0.08629, allocations: 3.938 kB / 333.1 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002135/0.08653, allocations: 39.81 kB / 333.1 MB, free: 14.37 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002698/0.08681, allocations: 111.4 kB / 333.2 MB, free: 14.26 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005322/0.08735, allocations: 227.5 kB / 333.5 MB, free: 14.04 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.08765, allocations: 286.9 kB / 333.7 MB, free: 13.76 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.392e-05/0.08771, allocations: 16.88 kB / 333.7 MB, free: 13.74 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000215/0.08793, allocations: 131.5 kB / 333.9 MB, free: 13.61 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.08806, allocations: 83.67 kB / 334 MB, free: 13.53 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.08809, allocations: 15.92 kB / 334 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.0883, allocations: 103.9 kB / 334.1 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.346e-05/0.08837, allocations: 31.91 kB / 334.1 MB, free: 13.38 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.059e-05/0.08846, allocations: 79.7 kB / 334.2 MB, free: 13.3 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002794/0.08875, allocations: 211.6 kB / 334.4 MB, free: 13.1 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.08876, allocations: 0 / 334.4 MB, free: 13.1 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.08877, allocations: 0 / 334.4 MB, free: 13.1 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.08878, allocations: 0 / 334.4 MB, free: 13.1 MB / 286.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.0008613/0.08965, allocations: 491.3 kB / 334.9 MB, free: 12.57 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.08969, allocations: 12.03 kB / 334.9 MB, free: 12.56 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.08986, allocations: 20.75 kB / 334.9 MB, free: 12.54 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.09007, allocations: 204.1 kB / 335.1 MB, free: 12.3 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.09009, allocations: 12.66 kB / 335.1 MB, free: 12.29 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/0.09013, allocations: 16.38 kB / 335.1 MB, free: 12.27 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003873/0.09052, allocations: 216.8 kB / 335.3 MB, free: 12.04 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.09054, allocations: 0 / 335.3 MB, free: 12.04 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.09058, allocations: 12 kB / 335.4 MB, free: 12.03 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.09059, allocations: 4 kB / 335.4 MB, free: 12.02 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003318/0.09092, allocations: 151.8 kB / 335.5 MB, free: 11.88 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.09211, allocations: 0.9402 MB / 336.4 MB, free: 10.86 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003637/0.09248, allocations: 154.7 kB / 336.6 MB, free: 10.7 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.09262, allocations: 48.83 kB / 336.6 MB, free: 10.65 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004876/0.09312, allocations: 0.5186 MB / 337.2 MB, free: 10.07 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.09316, allocations: 30.56 kB / 337.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.09317, allocations: 0 / 337.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.002471/0.09564, allocations: 0.7713 MB / 338 MB, free: 9.203 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.0957, allocations: 51.41 kB / 338 MB, free: 9.141 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.09583, allocations: 150.4 kB / 338.2 MB, free: 8.984 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.09586, allocations: 25.7 kB / 338.2 MB, free: 8.953 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.534e-05/0.09594, allocations: 143.8 kB / 338.3 MB, free: 8.809 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.388e-05/0.096, allocations: 74.94 kB / 338.4 MB, free: 8.734 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.402e-05/0.0961, allocations: 61.69 kB / 338.5 MB, free: 8.668 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.726e-05/0.09621, allocations: 330.8 kB / 338.8 MB, free: 8.336 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/0.09644, allocations: 83.94 kB / 338.9 MB, free: 8.254 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002908/0.09674, allocations: 193.1 kB / 339.1 MB, free: 8.016 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000519/0.09727, allocations: 298.1 kB / 339.3 MB, free: 7.676 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.09728, allocations: 0 / 339.3 MB, free: 7.676 MB / 286.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006319/0.09792, allocations: 329.3 kB / 339.7 MB, free: 7.348 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.09794, allocations: 8 kB / 339.7 MB, free: 7.34 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.09796, allocations: 8 kB / 339.7 MB, free: 7.332 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.09798, allocations: 7.984 kB / 339.7 MB, free: 7.324 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003591/0.09835, allocations: 75.89 kB / 339.8 MB, free: 7.25 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.09837, allocations: 15.92 kB / 339.8 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/0.09859, allocations: 12 kB / 339.8 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/0.09863, allocations: 24.05 kB / 339.8 MB, free: 7.199 MB / 286.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.0001155/0.09875, allocations: 137.7 kB / 339.9 MB, free: 7.055 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.784e-05/0.0988, allocations: 15.81 kB / 340 MB, free: 7.039 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006089/0.09942, allocations: 234.8 kB / 340.2 MB, free: 6.809 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.09943, allocations: 7.938 kB / 340.2 MB, free: 6.801 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.09944, allocations: 4 kB / 340.2 MB, free: 6.797 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.09945, allocations: 0 / 340.2 MB, free: 6.797 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.1006, allocations: 0.599 MB / 340.8 MB, free: 6.129 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.1007, allocations: 3.984 kB / 340.8 MB, free: 6.125 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/0.1009, allocations: 47.97 kB / 340.9 MB, free: 6.078 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.101, allocations: 0 / 340.9 MB, free: 6.078 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.101, allocations: 11.98 kB / 340.9 MB, free: 6.066 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.101, allocations: 7.938 kB / 340.9 MB, free: 6.059 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.101, allocations: 8.062 kB / 340.9 MB, free: 6.051 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007423/0.1017, allocations: 394.6 kB / 341.3 MB, free: 5.637 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.407e-05/0.1018, allocations: 100.8 kB / 341.4 MB, free: 5.52 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.1018, allocations: 7.938 kB / 341.4 MB, free: 5.512 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.1021, allocations: 11.98 kB / 341.4 MB, free: 5.5 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.1021, allocations: 19.98 kB / 341.4 MB, free: 5.48 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.1022, allocations: 12 kB / 341.4 MB, free: 5.469 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.632e-05/0.1022, allocations: 107.2 kB / 341.5 MB, free: 5.363 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1022, allocations: 0 / 341.5 MB, free: 5.363 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003498/0.1026, allocations: 60 kB / 341.6 MB, free: 5.305 MB / 286.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.0002525/0.1028, allocations: 135.2 kB / 341.7 MB, free: 5.16 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005628/0.1034, allocations: 224.2 kB / 341.9 MB, free: 4.941 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.1034, allocations: 8.25 kB / 341.9 MB, free: 4.934 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002239/0.1037, allocations: 89.08 kB / 342 MB, free: 4.848 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.1041, allocations: 43.89 kB / 342.1 MB, free: 4.805 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009688/0.105, allocations: 0.5156 MB / 342.6 MB, free: 4.25 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.1053, allocations: 0.7166 MB / 343.3 MB, free: 3.508 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002661/0.1055, allocations: 49.88 kB / 343.4 MB, free: 3.457 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.397e-05/0.1056, allocations: 27.42 kB / 343.4 MB, free: 3.43 MB / 286.1 MB Notification: Performance of SimCode: time 2.836e-06/0.1056, allocations: 0 / 343.4 MB, free: 3.43 MB / 286.1 MB Notification: Performance of Templates: time 0.005235/0.1109, allocations: 2.667 MB / 346 MB, free: 0.7656 MB / 286.1 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