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.001607/0.001607, allocations: 102.8 kB / 17.16 MB, free: 6.32 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.001888/0.001888, allocations: 190 kB / 18.07 MB, free: 5.414 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.377/1.377, allocations: 205.1 MB / 223.9 MB, free: 12.39 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.001144/0.001144, allocations: 47.94 kB / 280 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07491/0.07606, allocations: 46.63 MB / 326.6 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005196/0.08129, allocations: 4.494 MB / 331.1 MB, free: 360 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.08309, allocations: 1.818 MB / 332.9 MB, free: 14.53 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.906e-05/0.08318, allocations: 3.938 kB / 332.9 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002139/0.0834, allocations: 31.81 kB / 332.9 MB, free: 14.49 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002713/0.08368, allocations: 123.3 kB / 333.1 MB, free: 14.37 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005361/0.08423, allocations: 227.5 kB / 333.3 MB, free: 14.15 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003835/0.08462, allocations: 366.8 kB / 333.6 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.928e-05/0.08468, allocations: 20.89 kB / 333.7 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/0.08493, allocations: 123.6 kB / 333.8 MB, free: 13.65 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.08505, allocations: 83.61 kB / 333.9 MB, free: 13.57 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.08509, allocations: 4 kB / 333.9 MB, free: 13.56 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000245/0.08534, allocations: 103.9 kB / 334 MB, free: 13.46 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.865e-05/0.08542, allocations: 35.89 kB / 334 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.246e-05/0.08553, allocations: 79.64 kB / 334.1 MB, free: 13.35 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003108/0.08584, allocations: 207.7 kB / 334.3 MB, free: 13.14 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.08586, allocations: 0 / 334.3 MB, free: 13.14 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.08587, allocations: 0 / 334.3 MB, free: 13.14 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.08588, allocations: 3.938 kB / 334.3 MB, free: 13.14 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.0009685/0.08685, allocations: 491.4 kB / 334.8 MB, free: 12.61 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.0869, allocations: 8.031 kB / 334.8 MB, free: 12.61 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/0.08709, allocations: 24.73 kB / 334.8 MB, free: 12.58 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.08733, allocations: 212.1 kB / 335 MB, free: 12.34 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.08735, allocations: 12.59 kB / 335 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/0.0874, allocations: 12.38 kB / 335 MB, free: 12.31 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004276/0.08783, allocations: 220.8 kB / 335.2 MB, free: 12.07 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.08785, allocations: 0 / 335.2 MB, free: 12.07 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.08789, allocations: 8 kB / 335.2 MB, free: 12.07 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.0879, allocations: 4 kB / 335.3 MB, free: 12.06 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003579/0.08826, allocations: 147.8 kB / 335.4 MB, free: 11.92 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.08952, allocations: 0.9402 MB / 336.3 MB, free: 10.9 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003942/0.08993, allocations: 150.7 kB / 336.5 MB, free: 10.75 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.09008, allocations: 52.83 kB / 336.5 MB, free: 10.69 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005191/0.09061, allocations: 0.5148 MB / 337.1 MB, free: 10.11 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.09065, allocations: 30.56 kB / 337.1 MB, free: 10.07 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.09065, allocations: 0 / 337.1 MB, free: 10.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.002586/0.09325, allocations: 0.7676 MB / 337.8 MB, free: 9.254 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.09331, allocations: 63.39 kB / 337.9 MB, free: 9.18 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.09343, allocations: 142.4 kB / 338 MB, free: 9.031 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.09346, allocations: 29.7 kB / 338.1 MB, free: 8.996 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.53e-05/0.09354, allocations: 147.8 kB / 338.2 MB, free: 8.848 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.561e-05/0.0936, allocations: 74.94 kB / 338.3 MB, free: 8.773 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.574e-05/0.0937, allocations: 53.7 kB / 338.3 MB, free: 8.715 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.09381, allocations: 326.8 kB / 338.7 MB, free: 8.387 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002509/0.09407, allocations: 87.94 kB / 338.8 MB, free: 8.301 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/0.0944, allocations: 201 kB / 338.9 MB, free: 8.055 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005648/0.09497, allocations: 290.2 kB / 339.2 MB, free: 7.723 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.09498, allocations: 0 / 339.2 MB, free: 7.723 MB / 286.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006833/0.09567, allocations: 324.9 kB / 339.6 MB, free: 7.398 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.0957, allocations: 8 kB / 339.6 MB, free: 7.391 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.09571, allocations: 4.469 kB / 339.6 MB, free: 7.387 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.09573, allocations: 8 kB / 339.6 MB, free: 7.379 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000391/0.09613, allocations: 87.88 kB / 339.7 MB, free: 7.293 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.09615, allocations: 4 kB / 339.7 MB, free: 7.289 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.09639, allocations: 15.98 kB / 339.7 MB, free: 7.273 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.09643, allocations: 16 kB / 339.7 MB, free: 7.258 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.0001284/0.09656, allocations: 141.6 kB / 339.8 MB, free: 7.109 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/0.09662, allocations: 19.81 kB / 339.8 MB, free: 7.09 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006619/0.09729, allocations: 238.6 kB / 340.1 MB, free: 6.855 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.0973, allocations: 0 / 340.1 MB, free: 6.855 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.09731, allocations: 0 / 340.1 MB, free: 6.855 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.09732, allocations: 3.984 kB / 340.1 MB, free: 6.852 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.09861, allocations: 0.603 MB / 340.7 MB, free: 6.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.09863, allocations: 4 kB / 340.7 MB, free: 6.176 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003063/0.09894, allocations: 51.89 kB / 340.7 MB, free: 6.125 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.09896, allocations: 0 / 340.7 MB, free: 6.125 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.09898, allocations: 12 kB / 340.8 MB, free: 6.113 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.099, allocations: 7.938 kB / 340.8 MB, free: 6.105 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.099, allocations: 0 / 340.8 MB, free: 6.105 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000832/0.09984, allocations: 406.6 kB / 341.2 MB, free: 5.68 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.622e-05/0.0999, allocations: 88.95 kB / 341.2 MB, free: 5.574 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.101e-05/0.09994, allocations: 11.94 kB / 341.3 MB, free: 5.562 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/0.1002, allocations: 15.98 kB / 341.3 MB, free: 5.547 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.186e-05/0.1002, allocations: 7.984 kB / 341.3 MB, free: 5.539 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-05/0.1003, allocations: 15.98 kB / 341.3 MB, free: 5.523 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.121e-05/0.1004, allocations: 107.2 kB / 341.4 MB, free: 5.418 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.374e-06/0.1004, allocations: 8.062 kB / 341.4 MB, free: 5.41 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003846/0.1008, allocations: 63.94 kB / 341.5 MB, free: 5.348 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.000268/0.101, allocations: 127.2 kB / 341.6 MB, free: 5.211 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005998/0.1016, allocations: 220.8 kB / 341.8 MB, free: 4.996 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1017, allocations: 0 / 341.8 MB, free: 4.996 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002476/0.1019, allocations: 101 kB / 341.9 MB, free: 4.898 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.1023, allocations: 47.97 kB / 342 MB, free: 4.852 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.1034, allocations: 0.5042 MB / 342.5 MB, free: 4.309 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.1037, allocations: 0.7284 MB / 343.2 MB, free: 3.555 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002774/0.104, allocations: 37.95 kB / 343.2 MB, free: 3.516 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.234e-05/0.1041, allocations: 23.42 kB / 343.3 MB, free: 3.492 MB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1041, allocations: 0 / 343.3 MB, free: 3.492 MB / 286.1 MB Notification: Performance of Templates: time 0.005548/0.1096, allocations: 2.589 MB / 345.8 MB, free: 0.9062 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