Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.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.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 96.19 kB / 16.93 MB, free: 5.984 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.001102/0.001102, allocations: 174.4 kB / 17.82 MB, free: 5.652 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.468/1.468, allocations: 205.4 MB / 224 MB, free: 13.17 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.000486/0.000486, allocations: 8 kB / 280.7 MB, free: 3.77 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.118, allocations: 47.59 MB / 328.3 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.005521/0.1236, allocations: 3.86 MB / 332.2 MB, free: 232 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003414/0.1271, allocations: 1.361 MB / 333.5 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004988/0.1276, allocations: 7.938 kB / 333.6 MB, free: 14.85 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003742/0.128, allocations: 99.22 kB / 333.7 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008737/0.1289, allocations: 363 kB / 334 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000488/0.1294, allocations: 155.8 kB / 334.2 MB, free: 14.24 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009167/0.1303, allocations: 0.7173 MB / 334.9 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004092/0.1307, allocations: 233.7 kB / 335.1 MB, free: 13.27 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004336/0.1312, allocations: 334.9 kB / 335.4 MB, free: 12.95 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004259/0.1316, allocations: 378.4 kB / 335.8 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.039e-05/0.1317, allocations: 51.98 kB / 335.9 MB, free: 12.52 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.1318, allocations: 52 kB / 335.9 MB, free: 12.47 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.132, allocations: 147.4 kB / 336 MB, free: 12.33 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000181/0.1322, allocations: 185.3 kB / 336.2 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006861/0.1329, allocations: 0.7401 MB / 337 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1329, allocations: 0 / 337 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.1329, allocations: 0 / 337 MB, free: 11.4 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.1329, allocations: 0 / 337 MB, free: 11.4 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002153/0.1351, allocations: 1.084 MB / 338.1 MB, free: 10.25 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/0.1351, allocations: 8.031 kB / 338.1 MB, free: 10.24 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002157/0.1354, allocations: 98.97 kB / 338.2 MB, free: 10.14 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007799/0.1362, allocations: 455.5 kB / 338.6 MB, free: 9.656 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001877/0.1364, allocations: 104.7 kB / 338.7 MB, free: 9.539 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.1365, allocations: 55.94 kB / 338.8 MB, free: 9.484 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.1379, allocations: 0.7965 MB / 339.6 MB, free: 8.582 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.569e-05/0.138, allocations: 3.938 kB / 339.6 MB, free: 8.578 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.427e-05/0.1381, allocations: 24 kB / 339.6 MB, free: 8.555 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.1381, allocations: 12 kB / 339.6 MB, free: 8.543 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.1393, allocations: 0.5348 MB / 340.1 MB, free: 8.012 MB / 286.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003407/0.1427, allocations: 2.111 MB / 342.2 MB, free: 5.762 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.1442, allocations: 0.6081 MB / 342.8 MB, free: 5.145 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.363e-05/0.1443, allocations: 12.55 kB / 342.9 MB, free: 5.133 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007999/0.1451, allocations: 339 kB / 343.2 MB, free: 4.789 MB / 286.1 MB Notification: Performance of pre-optimization done (n=56): time 4.268e-06/0.1451, allocations: 0 / 343.2 MB, free: 4.789 MB / 286.1 MB Notification: Performance of matching and sorting (n=56): time 0.005026/0.1501, allocations: 1.584 MB / 344.8 MB, free: 3.152 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004235/0.1506, allocations: 0.8271 MB / 345.6 MB, free: 2.129 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000701/0.1513, allocations: 0.5353 MB / 346.1 MB, free: 1.586 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.873e-05/0.1514, allocations: 37.7 kB / 346.2 MB, free: 1.543 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/0.1517, allocations: 341.2 kB / 346.5 MB, free: 1.207 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000186/0.1519, allocations: 185.3 kB / 346.7 MB, free: 1.023 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.1519, allocations: 12 kB / 346.7 MB, free: 1.012 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.1521, allocations: 378.8 kB / 347.1 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005689/0.1527, allocations: 225 kB / 347.3 MB, free: 424 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008312/0.1535, allocations: 0.5365 MB / 347.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006458/0.1542, allocations: 317.4 kB / 348.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1542, allocations: 0 / 348.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001845/0.156, allocations: 0.874 MB / 349 MB, free: 14.53 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.374e-05/0.1561, allocations: 63.39 kB / 349.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.1561, allocations: 4 kB / 349.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007911/0.1569, allocations: 233.5 kB / 349.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006068/0.1575, allocations: 123.8 kB / 349.4 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007045/0.1646, allocations: 4.37 MB / 353.8 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.1656, allocations: 99.48 kB / 353.9 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.286e-05/0.1657, allocations: 24.17 kB / 353.9 MB, free: 9.34 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,oneWayValve.backward) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {9 3,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004208/0.1661, allocations: 209.8 kB / 354.1 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.1663, allocations: 83.09 kB / 354.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.1664, allocations: 74.86 kB / 354.3 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.1664, allocations: 12 kB / 354.3 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1664, allocations: 3.953 kB / 354.3 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00215/0.1686, allocations: 1.101 MB / 355.4 MB, free: 7.738 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002759/0.1714, allocations: 1.579 MB / 357 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1714, allocations: 0 / 357 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006086/0.172, allocations: 115.9 kB / 357.1 MB, free: 5.961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006437/0.1727, allocations: 177.5 kB / 357.3 MB, free: 5.781 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/0.1727, allocations: 12 kB / 357.3 MB, free: 5.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004748/0.1775, allocations: 3.728 MB / 361 MB, free: 1.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1775, allocations: 4.125 kB / 361 MB, free: 1.766 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002397/0.1799, allocations: 1.066 MB / 362.1 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004671/0.1804, allocations: 208.2 kB / 362.3 MB, free: 468 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.1805, allocations: 15.94 kB / 362.3 MB, free: 452 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006639/0.1812, allocations: 59.89 kB / 362.3 MB, free: 392 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.1813, allocations: 52.47 kB / 362.4 MB, free: 340 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.481e-05/0.1813, allocations: 24.02 kB / 362.4 MB, free: 316 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005256/0.1819, allocations: 375 kB / 362.8 MB, free: 15.95 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1819, allocations: 0 / 362.8 MB, free: 15.95 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001015/0.1829, allocations: 243.8 kB / 363 MB, free: 15.71 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (speed.phi) * Number of discrete variables: 4 ($whenCondition1,trapezoid.T_start,trapezoid.count,oneWayValve.backward) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 3,1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002152/0.1831, allocations: 119.2 kB / 363.1 MB, free: 15.59 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002432/0.1856, allocations: 1.047 MB / 364.2 MB, free: 14.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.1856, allocations: 0 / 364.2 MB, free: 14.48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009719/0.1866, allocations: 0.5594 MB / 364.7 MB, free: 13.9 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008067/0.1874, allocations: 182.9 kB / 364.9 MB, free: 13.73 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002818/0.1902, allocations: 1.562 MB / 366.5 MB, free: 12.14 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005708/0.1908, allocations: 0.9273 MB / 367.4 MB, free: 11.19 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000356/0.1912, allocations: 72.66 kB / 367.5 MB, free: 11.12 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.1913, allocations: 39.44 kB / 367.5 MB, free: 11.08 MB / 318.1 MB Notification: Performance of SimCode: time 9.51e-07/0.1913, allocations: 0 / 367.5 MB, free: 11.08 MB / 318.1 MB Notification: Performance of Templates: time 0.2324/0.4237, allocations: 13.64 MB / 381.2 MB, free: 51.54 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches