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.0008982/0.0008986, allocations: 89.06 kB / 17.29 MB, free: 6.359 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.0007778/0.0007778, allocations: 174.4 kB / 18.21 MB, free: 5.531 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.479/1.479, allocations: 205.4 MB / 224.4 MB, free: 13.06 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.0004742/0.0004742, allocations: 8 kB / 281.4 MB, free: 3.438 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1146, allocations: 47.58 MB / 329 MB, free: 3.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.005033/0.1197, allocations: 4.447 MB / 333.4 MB, free: 15.31 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002526/0.1222, allocations: 1.38 MB / 334.8 MB, free: 13.92 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002804/0.1225, allocations: 11.94 kB / 334.8 MB, free: 13.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003897/0.1229, allocations: 123.2 kB / 334.9 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006707/0.1236, allocations: 301.9 kB / 335.2 MB, free: 13.49 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.124, allocations: 191.7 kB / 335.4 MB, free: 13.3 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008974/0.1249, allocations: 0.9798 MB / 336.4 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003993/0.1254, allocations: 269.9 kB / 336.6 MB, free: 12.04 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004615/0.1258, allocations: 362.7 kB / 337 MB, free: 11.68 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004261/0.1263, allocations: 418.1 kB / 337.4 MB, free: 11.27 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.522e-05/0.1264, allocations: 60 kB / 337.5 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.1265, allocations: 56 kB / 337.5 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.1266, allocations: 163.3 kB / 337.7 MB, free: 11 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004233/0.1271, allocations: 467.5 kB / 338.1 MB, free: 10.53 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008152/0.1279, allocations: 1.012 MB / 339.1 MB, free: 9.516 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1279, allocations: 4 kB / 339.1 MB, free: 9.512 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.1279, allocations: 0 / 339.1 MB, free: 9.512 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.1279, allocations: 0 / 339.1 MB, free: 9.512 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.002072/0.13, allocations: 1.084 MB / 340.2 MB, free: 8.363 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.1301, allocations: 8.031 kB / 340.2 MB, free: 8.355 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.1302, allocations: 95.91 kB / 340.3 MB, free: 8.262 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007204/0.131, allocations: 0.5042 MB / 340.8 MB, free: 7.715 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002746/0.1313, allocations: 109.3 kB / 340.9 MB, free: 7.594 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.934e-05/0.1314, allocations: 52.38 kB / 341 MB, free: 7.543 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.1327, allocations: 0.8083 MB / 341.8 MB, free: 6.629 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.1328, allocations: 7.875 kB / 341.8 MB, free: 6.621 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-05/0.1328, allocations: 24 kB / 341.8 MB, free: 6.598 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.1328, allocations: 12 kB / 341.8 MB, free: 6.586 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.1341, allocations: 0.5348 MB / 342.4 MB, free: 6.055 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.003396/0.1375, allocations: 2.169 MB / 344.6 MB, free: 3.746 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.1389, allocations: 0.5692 MB / 345.1 MB, free: 3.164 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00063/0.1395, allocations: 278.4 kB / 345.4 MB, free: 2.891 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.786e-05/0.1396, allocations: 8.625 kB / 345.4 MB, free: 2.883 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008062/0.1404, allocations: 347 kB / 345.7 MB, free: 2.531 MB / 286.1 MB Notification: Performance of pre-optimization done (n=56): time 3.086e-06/0.1404, allocations: 0 / 345.7 MB, free: 2.531 MB / 286.1 MB Notification: Performance of matching and sorting (n=56): time 0.005449/0.1458, allocations: 1.61 MB / 347.4 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005632/0.1464, allocations: 0.8233 MB / 348.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007406/0.1472, allocations: 0.5862 MB / 348.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.493e-05/0.1473, allocations: 45.7 kB / 348.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002845/0.1476, allocations: 332.7 kB / 349.1 MB, free: 14.88 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/0.1477, allocations: 197.3 kB / 349.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.187e-05/0.1478, allocations: 45.7 kB / 349.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.148, allocations: 382.8 kB / 349.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005753/0.1486, allocations: 225 kB / 350 MB, free: 14.03 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009567/0.1495, allocations: 0.5286 MB / 350.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.1509, allocations: 0.5966 MB / 351.1 MB, free: 12.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.1509, allocations: 0 / 351.1 MB, free: 12.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002417/0.1534, allocations: 0.9559 MB / 352 MB, free: 11.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.55e-05/0.1535, allocations: 67.39 kB / 352.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.1535, allocations: 8 kB / 352.1 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007904/0.1543, allocations: 225.5 kB / 352.3 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006734/0.155, allocations: 123.8 kB / 352.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006356/0.1613, allocations: 4.252 MB / 356.7 MB, free: 6.797 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008868/0.1622, allocations: 95.47 kB / 356.8 MB, free: 6.703 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/0.1623, allocations: 20 kB / 356.8 MB, free: 6.684 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.000374/0.1627, allocations: 225.4 kB / 357 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.1628, allocations: 79.25 kB / 357.1 MB, free: 6.379 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/0.163, allocations: 78.84 kB / 357.2 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.163, allocations: 11.94 kB / 357.2 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.163, allocations: 112 / 357.2 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002068/0.1651, allocations: 1.105 MB / 358.3 MB, free: 5.078 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002676/0.1678, allocations: 1.58 MB / 359.9 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.1678, allocations: 0 / 359.9 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006071/0.1684, allocations: 119.8 kB / 360 MB, free: 3.305 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005606/0.169, allocations: 173.6 kB / 360.2 MB, free: 3.129 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-05/0.169, allocations: 19.98 kB / 360.2 MB, free: 3.109 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004838/0.1739, allocations: 3.663 MB / 363.9 MB, free: 15.18 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1739, allocations: 0 / 363.9 MB, free: 15.18 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002433/0.1763, allocations: 1.078 MB / 364.9 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003294/0.1767, allocations: 216 kB / 365.1 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.751e-05/0.1768, allocations: 20 kB / 365.2 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006113/0.1774, allocations: 51.95 kB / 365.2 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.1776, allocations: 56.55 kB / 365.3 MB, free: 13.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/0.1776, allocations: 12 kB / 365.3 MB, free: 13.71 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005325/0.1781, allocations: 423.1 kB / 365.7 MB, free: 13.3 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1781, allocations: 3.938 kB / 365.7 MB, free: 13.3 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008421/0.179, allocations: 247.8 kB / 365.9 MB, free: 13.05 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.0001572/0.1792, allocations: 123.2 kB / 366.1 MB, free: 12.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002074/0.1812, allocations: 1.035 MB / 367.1 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.1813, allocations: 7.938 kB / 367.1 MB, free: 11.83 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009212/0.1822, allocations: 0.5556 MB / 367.7 MB, free: 11.25 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009437/0.1831, allocations: 194.7 kB / 367.9 MB, free: 11.06 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.1856, allocations: 1.63 MB / 369.5 MB, free: 9.406 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/0.1861, allocations: 0.9082 MB / 370.4 MB, free: 8.473 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003449/0.1864, allocations: 85.22 kB / 370.5 MB, free: 8.391 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.1866, allocations: 51.42 kB / 370.5 MB, free: 8.34 MB / 318.1 MB Notification: Performance of SimCode: time 9.31e-07/0.1866, allocations: 0 / 370.5 MB, free: 8.34 MB / 318.1 MB Notification: Performance of Templates: time 0.1843/0.3708, allocations: 14.91 MB / 385.4 MB, free: 50.82 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