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.001367/0.001367, allocations: 97.98 kB / 17.58 MB, free: 5.418 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.001846/0.001846, allocations: 192 kB / 18.51 MB, free: 4.508 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.352/1.352, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001414/0.001414, allocations: 52.34 kB / 280.6 MB, free: 3.199 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09254/0.09397, allocations: 46.63 MB / 327.3 MB, free: 4.5 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006429/0.1004, allocations: 4.476 MB / 331.7 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002108/0.1026, allocations: 1.814 MB / 333.6 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.1027, allocations: 4 kB / 333.6 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.103, allocations: 51.66 kB / 333.6 MB, free: 14.11 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003573/0.1034, allocations: 111.3 kB / 333.7 MB, free: 14 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006758/0.1041, allocations: 259.2 kB / 334 MB, free: 13.74 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003713/0.1044, allocations: 286.9 kB / 334.3 MB, free: 13.46 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.908e-05/0.1045, allocations: 16.89 kB / 334.3 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002752/0.1048, allocations: 131.6 kB / 334.4 MB, free: 13.32 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.1049, allocations: 79.62 kB / 334.5 MB, free: 13.24 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.105, allocations: 12 kB / 334.5 MB, free: 13.23 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002581/0.1052, allocations: 95.94 kB / 334.6 MB, free: 13.13 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.659e-05/0.1053, allocations: 31.89 kB / 334.6 MB, free: 13.1 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.1054, allocations: 83.64 kB / 334.7 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003311/0.1058, allocations: 211.7 kB / 334.9 MB, free: 12.81 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1058, allocations: 0 / 334.9 MB, free: 12.81 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1058, allocations: 0 / 334.9 MB, free: 12.81 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.1058, allocations: 0 / 334.9 MB, free: 12.81 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.0008993/0.1067, allocations: 491.3 kB / 335.4 MB, free: 12.29 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.1067, allocations: 12.03 kB / 335.4 MB, free: 12.27 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.1069, allocations: 20.75 kB / 335.4 MB, free: 12.25 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.1072, allocations: 208.1 kB / 335.6 MB, free: 12.01 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.1072, allocations: 12.66 kB / 335.6 MB, free: 12 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/0.1072, allocations: 12.38 kB / 335.6 MB, free: 11.99 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003892/0.1076, allocations: 220.8 kB / 335.9 MB, free: 11.75 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1077, allocations: 0 / 335.9 MB, free: 11.75 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.382e-05/0.1077, allocations: 8 kB / 335.9 MB, free: 11.74 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.1077, allocations: 7.938 kB / 335.9 MB, free: 11.73 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003514/0.1081, allocations: 151.8 kB / 336 MB, free: 11.59 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.1093, allocations: 0.9363 MB / 337 MB, free: 10.57 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003809/0.1097, allocations: 150.7 kB / 337.1 MB, free: 10.42 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.1099, allocations: 56.83 kB / 337.2 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005066/0.1104, allocations: 0.5108 MB / 337.7 MB, free: 9.785 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.1105, allocations: 34.56 kB / 337.7 MB, free: 9.742 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.1105, allocations: 0 / 337.7 MB, free: 9.742 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.002486/0.1129, allocations: 0.7713 MB / 338.5 MB, free: 8.918 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.113, allocations: 51.41 kB / 338.5 MB, free: 8.855 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.1131, allocations: 150.4 kB / 338.7 MB, free: 8.699 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.1132, allocations: 29.7 kB / 338.7 MB, free: 8.664 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.521e-05/0.1133, allocations: 139.8 kB / 338.8 MB, free: 8.523 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.776e-05/0.1133, allocations: 78.92 kB / 338.9 MB, free: 8.445 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.758e-05/0.1134, allocations: 61.69 kB / 339 MB, free: 8.379 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1135, allocations: 326.8 kB / 339.3 MB, free: 8.051 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/0.1138, allocations: 79.94 kB / 339.4 MB, free: 7.973 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003165/0.1141, allocations: 193.2 kB / 339.6 MB, free: 7.734 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005807/0.1147, allocations: 302.1 kB / 339.9 MB, free: 7.391 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1147, allocations: 0 / 339.9 MB, free: 7.391 MB / 286.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007067/0.1154, allocations: 321.1 kB / 340.2 MB, free: 7.07 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.1155, allocations: 8 kB / 340.2 MB, free: 7.062 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.1155, allocations: 7.938 kB / 340.2 MB, free: 7.055 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.1155, allocations: 4 kB / 340.2 MB, free: 7.051 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003777/0.1159, allocations: 83.83 kB / 340.3 MB, free: 6.969 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.1159, allocations: 8 kB / 340.3 MB, free: 6.961 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.1161, allocations: 20.27 kB / 340.3 MB, free: 6.941 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.889e-05/0.1162, allocations: 23.98 kB / 340.3 MB, free: 6.918 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.0001202/0.1163, allocations: 133.7 kB / 340.4 MB, free: 6.777 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.201e-05/0.1164, allocations: 15.81 kB / 340.5 MB, free: 6.762 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006698/0.117, allocations: 246.7 kB / 340.7 MB, free: 6.52 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1171, allocations: 4 kB / 340.7 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1171, allocations: 3.938 kB / 340.7 MB, free: 6.512 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.1171, allocations: 3.984 kB / 340.7 MB, free: 6.508 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.1183, allocations: 0.5874 MB / 341.3 MB, free: 5.852 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1183, allocations: 0 / 341.3 MB, free: 5.852 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/0.1186, allocations: 59.89 kB / 341.4 MB, free: 5.793 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1186, allocations: 0 / 341.4 MB, free: 5.793 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.1187, allocations: 12.11 kB / 341.4 MB, free: 5.781 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.1187, allocations: 3.938 kB / 341.4 MB, free: 5.777 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1187, allocations: 4 kB / 341.4 MB, free: 5.773 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008135/0.1195, allocations: 407.8 kB / 341.8 MB, free: 5.348 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.1196, allocations: 89 kB / 341.9 MB, free: 5.242 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.1196, allocations: 11.94 kB / 341.9 MB, free: 5.23 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.1198, allocations: 11.98 kB / 341.9 MB, free: 5.219 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.471e-05/0.1199, allocations: 16.05 kB / 341.9 MB, free: 5.203 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.1199, allocations: 8 kB / 341.9 MB, free: 5.195 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.535e-05/0.12, allocations: 111.2 kB / 342 MB, free: 5.086 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.12, allocations: 0 / 342 MB, free: 5.086 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003645/0.1204, allocations: 64 kB / 342.1 MB, free: 5.023 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.0002519/0.1206, allocations: 127.2 kB / 342.2 MB, free: 4.887 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006163/0.1213, allocations: 232.4 kB / 342.4 MB, free: 4.66 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.1213, allocations: 0 / 342.4 MB, free: 4.66 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002432/0.1215, allocations: 95.75 kB / 342.5 MB, free: 4.566 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.1219, allocations: 31.97 kB / 342.6 MB, free: 4.535 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.1229, allocations: 484 kB / 343 MB, free: 4.023 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.1232, allocations: 0.7169 MB / 343.8 MB, free: 3.281 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002627/0.1235, allocations: 49.94 kB / 343.8 MB, free: 3.23 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.085e-05/0.1236, allocations: 23.42 kB / 343.8 MB, free: 3.207 MB / 286.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1236, allocations: 0 / 343.8 MB, free: 3.207 MB / 286.1 MB Notification: Performance of Templates: time 0.005939/0.1296, allocations: 2.694 MB / 346.5 MB, free: 0.5156 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches