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.001173/0.001173, allocations: 114.2 kB / 17.28 MB, free: 6.219 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.001033/0.001033, allocations: 189.3 kB / 18.2 MB, free: 5.301 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.476/1.476, allocations: 205.1 MB / 224.1 MB, free: 12.44 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.001157/0.001157, allocations: 52.41 kB / 280.1 MB, free: 3.508 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1157, allocations: 46.63 MB / 326.8 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.007974/0.1238, allocations: 4.837 MB / 331.6 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004023/0.1279, allocations: 1.399 MB / 333 MB, free: 14.53 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005983/0.1285, allocations: 4 kB / 333 MB, free: 14.53 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000519/0.1291, allocations: 127.2 kB / 333.1 MB, free: 14.4 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008426/0.1299, allocations: 309.8 kB / 333.4 MB, free: 14.1 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004724/0.1304, allocations: 183.8 kB / 333.6 MB, free: 13.92 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001428/0.1319, allocations: 1.031 MB / 334.7 MB, free: 12.88 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004844/0.1324, allocations: 309.9 kB / 335 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005892/0.133, allocations: 398.6 kB / 335.3 MB, free: 12.18 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005082/0.1335, allocations: 454.1 kB / 335.8 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.1336, allocations: 88 kB / 335.9 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002186/0.1338, allocations: 91.94 kB / 336 MB, free: 11.55 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001761/0.134, allocations: 195.3 kB / 336.2 MB, free: 11.36 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005479/0.1346, allocations: 473.9 kB / 336.6 MB, free: 10.9 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.1357, allocations: 1.059 MB / 337.7 MB, free: 9.836 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1357, allocations: 0 / 337.7 MB, free: 9.836 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1357, allocations: 0 / 337.7 MB, free: 9.836 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.1357, allocations: 0 / 337.7 MB, free: 9.836 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.002802/0.1386, allocations: 1.228 MB / 338.9 MB, free: 8.539 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.1386, allocations: 8.031 kB / 338.9 MB, free: 8.531 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002188/0.1388, allocations: 103.8 kB / 339 MB, free: 8.43 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008534/0.1397, allocations: 0.5043 MB / 339.5 MB, free: 7.883 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000162/0.1399, allocations: 97.28 kB / 339.6 MB, free: 7.773 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.14, allocations: 48.38 kB / 339.7 MB, free: 7.727 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.1415, allocations: 0.8005 MB / 340.5 MB, free: 6.824 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.1415, allocations: 3.906 kB / 340.5 MB, free: 6.82 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-05/0.1416, allocations: 31.94 kB / 340.5 MB, free: 6.789 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.1416, allocations: 12 kB / 340.5 MB, free: 6.777 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.1428, allocations: 0.5035 MB / 341 MB, free: 6.273 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.003725/0.1465, allocations: 2.146 MB / 343.2 MB, free: 3.992 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.1479, allocations: 0.5337 MB / 343.7 MB, free: 3.449 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000695/0.1486, allocations: 258.4 kB / 343.9 MB, free: 3.195 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.563e-05/0.1487, allocations: 21 kB / 344 MB, free: 3.176 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001037/0.1497, allocations: 319 kB / 344.3 MB, free: 2.852 MB / 286.1 MB Notification: Performance of pre-optimization done (n=56): time 3.747e-06/0.1498, allocations: 3.938 kB / 344.3 MB, free: 2.848 MB / 286.1 MB Notification: Performance of matching and sorting (n=56): time 0.005264/0.155, allocations: 1.489 MB / 345.8 MB, free: 1.309 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004898/0.1555, allocations: 0.8233 MB / 346.6 MB, free: 292 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.1566, allocations: 0.5941 MB / 347.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.1567, allocations: 37.7 kB / 347.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003494/0.1571, allocations: 344.7 kB / 347.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002388/0.1573, allocations: 181.3 kB / 347.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002597/0.1576, allocations: 134.2 kB / 347.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002115/0.1578, allocations: 378.8 kB / 348.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005577/0.1584, allocations: 213 kB / 348.4 MB, free: 14.4 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008485/0.1592, allocations: 0.5168 MB / 349 MB, free: 13.76 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.1604, allocations: 0.5654 MB / 349.5 MB, free: 13.15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.1604, allocations: 4 kB / 349.5 MB, free: 13.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002313/0.1628, allocations: 0.8973 MB / 350.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.564e-05/0.1628, allocations: 67.39 kB / 350.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.1628, allocations: 0 / 350.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007022/0.1636, allocations: 225.5 kB / 350.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006017/0.1642, allocations: 119.8 kB / 350.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006487/0.1707, allocations: 4.584 MB / 355.4 MB, free: 6.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008989/0.1716, allocations: 91.38 kB / 355.5 MB, free: 6.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.972e-05/0.1717, allocations: 20 kB / 355.5 MB, free: 6.82 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 (oneWayValve.backward,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(9,3), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003966/0.1721, allocations: 213.8 kB / 355.7 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.1722, allocations: 75.16 kB / 355.8 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.1724, allocations: 82.84 kB / 355.9 MB, free: 6.445 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1724, allocations: 11.94 kB / 355.9 MB, free: 6.434 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.1724, allocations: 0 / 355.9 MB, free: 6.434 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001993/0.1744, allocations: 1.043 MB / 356.9 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002896/0.1773, allocations: 1.545 MB / 358.5 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1773, allocations: 0 / 358.5 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006245/0.1779, allocations: 107.8 kB / 358.6 MB, free: 3.559 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005514/0.1785, allocations: 173.5 kB / 358.8 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-05/0.1786, allocations: 15.98 kB / 358.8 MB, free: 3.367 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004994/0.1836, allocations: 3.932 MB / 362.7 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.1836, allocations: 8.047 kB / 362.7 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002418/0.186, allocations: 1.019 MB / 363.7 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004236/0.1865, allocations: 223.9 kB / 364 MB, free: 13.87 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001932/0.1867, allocations: 15.98 kB / 364 MB, free: 13.85 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006884/0.1874, allocations: 43.95 kB / 364 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/0.1875, allocations: 52.75 kB / 364.1 MB, free: 13.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.915e-05/0.1876, allocations: 24.17 kB / 364.1 MB, free: 13.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005764/0.1882, allocations: 419.1 kB / 364.5 MB, free: 13.33 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1882, allocations: 7.875 kB / 364.5 MB, free: 13.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000957/0.1891, allocations: 247.9 kB / 364.7 MB, free: 13.08 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,3), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001946/0.1893, allocations: 127 kB / 364.9 MB, free: 12.95 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002302/0.1916, allocations: 1.031 MB / 365.9 MB, free: 11.87 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.1917, allocations: 4 kB / 365.9 MB, free: 11.86 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000959/0.1926, allocations: 0.5477 MB / 366.5 MB, free: 11.29 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.1937, allocations: 210.7 kB / 366.7 MB, free: 11.08 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00303/0.1967, allocations: 1.558 MB / 368.2 MB, free: 9.496 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000558/0.1973, allocations: 0.9161 MB / 369.1 MB, free: 8.555 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004523/0.1978, allocations: 85.2 kB / 369.2 MB, free: 8.473 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.1979, allocations: 55.42 kB / 369.3 MB, free: 8.418 MB / 318.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1979, allocations: 0 / 369.3 MB, free: 8.418 MB / 318.1 MB Notification: Performance of Templates: time 0.2142/0.4121, allocations: 15.88 MB / 385.1 MB, free: 51.73 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile (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) 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