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.001365/0.001365, allocations: 98.02 kB / 16.94 MB, free: 6.445 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.001645/0.001645, allocations: 184.6 kB / 17.83 MB, free: 6.039 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.395/1.395, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004512/0.0004512, allocations: 11.44 kB / 280.7 MB, free: 3.766 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09383/0.09429, allocations: 47.58 MB / 328.3 MB, free: 4.117 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004694/0.09902, allocations: 3.699 MB / 332 MB, free: 396 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.1007, allocations: 1.516 MB / 333.5 MB, free: 14.87 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.084e-05/0.1007, allocations: 0 / 333.5 MB, free: 14.87 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.101, allocations: 35.8 kB / 333.6 MB, free: 14.83 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002702/0.1013, allocations: 111.7 kB / 333.7 MB, free: 14.72 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005755/0.1019, allocations: 219.5 kB / 333.9 MB, free: 14.51 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002448/0.1021, allocations: 183.6 kB / 334.1 MB, free: 14.33 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.645e-05/0.1022, allocations: 12.89 kB / 334.1 MB, free: 14.32 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002289/0.1024, allocations: 111.7 kB / 334.2 MB, free: 14.21 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.83e-05/0.1025, allocations: 63.75 kB / 334.3 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.1025, allocations: 4 kB / 334.3 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.1028, allocations: 95.83 kB / 334.3 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.938e-05/0.1028, allocations: 31.89 kB / 334.4 MB, free: 14.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.849e-05/0.1029, allocations: 57.64 kB / 334.4 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.1031, allocations: 143.9 kB / 334.6 MB, free: 13.81 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1031, allocations: 0 / 334.6 MB, free: 13.81 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1031, allocations: 0 / 334.6 MB, free: 13.81 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.1032, allocations: 0 / 334.6 MB, free: 13.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.0008425/0.104, allocations: 455.2 kB / 335 MB, free: 13.32 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.104, allocations: 8.031 kB / 335 MB, free: 13.31 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.1042, allocations: 23.81 kB / 335.1 MB, free: 13.29 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.1045, allocations: 206.9 kB / 335.3 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.1045, allocations: 8.281 kB / 335.3 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.1045, allocations: 16 kB / 335.3 MB, free: 13.02 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000383/0.1049, allocations: 208.6 kB / 335.5 MB, free: 12.8 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.1049, allocations: 4 kB / 335.5 MB, free: 12.79 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/0.105, allocations: 4 kB / 335.5 MB, free: 12.79 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.105, allocations: 4 kB / 335.5 MB, free: 12.79 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003351/0.1053, allocations: 159.8 kB / 335.7 MB, free: 12.63 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.1066, allocations: 0.94 MB / 336.6 MB, free: 11.61 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.107, allocations: 150.7 kB / 336.7 MB, free: 11.46 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005119/0.1075, allocations: 0.5113 MB / 337.2 MB, free: 10.88 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.1076, allocations: 38.52 kB / 337.3 MB, free: 10.84 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.1076, allocations: 0 / 337.3 MB, free: 10.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.002425/0.11, allocations: 0.7479 MB / 338 MB, free: 10.04 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.1101, allocations: 63.34 kB / 338.1 MB, free: 9.961 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.1102, allocations: 154.8 kB / 338.2 MB, free: 9.801 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.1102, allocations: 29.7 kB / 338.3 MB, free: 9.766 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.955e-05/0.1103, allocations: 143.9 kB / 338.4 MB, free: 9.621 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.446e-05/0.1104, allocations: 70.95 kB / 338.5 MB, free: 9.551 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.594e-05/0.1104, allocations: 8 kB / 338.5 MB, free: 9.543 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1105, allocations: 322.8 kB / 338.8 MB, free: 9.219 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/0.1107, allocations: 83.94 kB / 338.9 MB, free: 9.137 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.1111, allocations: 193.4 kB / 339.1 MB, free: 8.898 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.1114, allocations: 108.8 kB / 339.2 MB, free: 8.793 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1114, allocations: 0 / 339.2 MB, free: 8.793 MB / 286.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006608/0.1121, allocations: 315.1 kB / 339.5 MB, free: 8.48 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1121, allocations: 8 kB / 339.5 MB, free: 8.473 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.1121, allocations: 7.953 kB / 339.5 MB, free: 8.465 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.1121, allocations: 7.938 kB / 339.5 MB, free: 8.457 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003565/0.1125, allocations: 92.3 kB / 339.6 MB, free: 8.367 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.1125, allocations: 4 kB / 339.6 MB, free: 8.363 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.1127, allocations: 15.98 kB / 339.6 MB, free: 8.348 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.1128, allocations: 19.98 kB / 339.6 MB, free: 8.328 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000117/0.1129, allocations: 133.9 kB / 339.8 MB, free: 8.188 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/0.1129, allocations: 15.81 kB / 339.8 MB, free: 8.172 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006337/0.1136, allocations: 246.6 kB / 340 MB, free: 7.93 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1136, allocations: 0 / 340 MB, free: 7.93 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.1136, allocations: 3.984 kB / 340 MB, free: 7.926 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1136, allocations: 3.953 kB / 340 MB, free: 7.922 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.1149, allocations: 0.5988 MB / 340.6 MB, free: 7.258 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1149, allocations: 8.062 kB / 340.6 MB, free: 7.25 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002822/0.1152, allocations: 59.89 kB / 340.7 MB, free: 7.191 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1152, allocations: 0 / 340.7 MB, free: 7.191 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.1152, allocations: 7.984 kB / 340.7 MB, free: 7.184 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.1152, allocations: 0 / 340.7 MB, free: 7.184 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1152, allocations: 4 kB / 340.7 MB, free: 7.18 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008271/0.1161, allocations: 457.5 kB / 341.2 MB, free: 6.68 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.897e-05/0.1161, allocations: 96.94 kB / 341.3 MB, free: 6.566 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.1162, allocations: 4 kB / 341.3 MB, free: 6.562 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.1164, allocations: 23.88 kB / 341.3 MB, free: 6.539 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.1165, allocations: 11.98 kB / 341.3 MB, free: 6.527 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.1165, allocations: 8.062 kB / 341.3 MB, free: 6.52 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.522e-05/0.1166, allocations: 115.2 kB / 341.4 MB, free: 6.406 MB / 286.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1166, allocations: 0 / 341.4 MB, free: 6.406 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003587/0.1169, allocations: 52 kB / 341.5 MB, free: 6.355 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 (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.0001881/0.1171, allocations: 127.2 kB / 341.6 MB, free: 6.219 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005479/0.1177, allocations: 215.7 kB / 341.8 MB, free: 6.008 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.1177, allocations: 0.9375 kB / 341.8 MB, free: 6.008 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.118, allocations: 103.9 kB / 341.9 MB, free: 5.906 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.1183, allocations: 35.92 kB / 341.9 MB, free: 5.871 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009448/0.1192, allocations: 0.5529 MB / 342.5 MB, free: 5.281 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.1195, allocations: 0.7206 MB / 343.2 MB, free: 4.535 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002549/0.1198, allocations: 45.88 kB / 343.3 MB, free: 4.488 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.278e-05/0.1199, allocations: 27.42 kB / 343.3 MB, free: 4.461 MB / 286.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1199, allocations: 0 / 343.3 MB, free: 4.461 MB / 286.1 MB Notification: Performance of Templates: time 0.005325/0.1252, allocations: 2.469 MB / 345.8 MB, free: 1.992 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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