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.0007557/0.0007558, allocations: 97.67 kB / 16.95 MB, free: 6.113 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.0008112/0.0008112, allocations: 178.6 kB / 17.84 MB, free: 5.73 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.555/1.555, allocations: 205.4 MB / 224 MB, free: 13.07 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.0008066/0.0008068, allocations: 8 kB / 280.8 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1153, allocations: 47.59 MB / 328.4 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.004894/0.1203, allocations: 4.217 MB / 332.6 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00249/0.1228, allocations: 1.326 MB / 333.9 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003029/0.1231, allocations: 11.94 kB / 333.9 MB, free: 14.49 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.1235, allocations: 95.23 kB / 334 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006147/0.1241, allocations: 309.8 kB / 334.3 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003903/0.1245, allocations: 155.8 kB / 334.5 MB, free: 13.94 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009304/0.1254, allocations: 0.9135 MB / 335.4 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00037/0.1258, allocations: 253.6 kB / 335.6 MB, free: 12.75 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004565/0.1263, allocations: 358.7 kB / 336 MB, free: 12.4 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004967/0.1268, allocations: 402.3 kB / 336.4 MB, free: 12 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.681e-05/0.1269, allocations: 59.98 kB / 336.4 MB, free: 11.95 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.127, allocations: 56 kB / 336.5 MB, free: 11.89 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.1272, allocations: 163.4 kB / 336.6 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.1273, allocations: 185.3 kB / 336.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006738/0.128, allocations: 0.7868 MB / 337.6 MB, free: 10.75 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.128, allocations: 0 / 337.6 MB, free: 10.75 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.128, allocations: 0 / 337.6 MB, free: 10.75 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.617e-05/0.1281, allocations: 0 / 337.6 MB, free: 10.75 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.001977/0.1301, allocations: 1.088 MB / 338.7 MB, free: 9.602 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.1301, allocations: 8.031 kB / 338.7 MB, free: 9.594 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002345/0.1304, allocations: 94.97 kB / 338.8 MB, free: 9.5 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007754/0.1311, allocations: 491.5 kB / 339.3 MB, free: 8.977 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001893/0.1313, allocations: 112.7 kB / 339.4 MB, free: 8.852 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.915e-05/0.1314, allocations: 52 kB / 339.4 MB, free: 8.801 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.1328, allocations: 0.8004 MB / 340.2 MB, free: 7.895 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.1328, allocations: 0 / 340.2 MB, free: 7.895 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.417e-05/0.1329, allocations: 28 kB / 340.3 MB, free: 7.867 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.1329, allocations: 12 kB / 340.3 MB, free: 7.855 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.1341, allocations: 0.5269 MB / 340.8 MB, free: 7.332 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.003491/0.1376, allocations: 2.173 MB / 343 MB, free: 5.02 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/0.1389, allocations: 0.5654 MB / 343.5 MB, free: 4.445 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005655/0.1395, allocations: 274.4 kB / 343.8 MB, free: 4.172 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.345e-05/0.1395, allocations: 12.7 kB / 343.8 MB, free: 4.16 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008145/0.1404, allocations: 343 kB / 344.2 MB, free: 3.812 MB / 286.1 MB Notification: Performance of pre-optimization done (n=56): time 3.827e-06/0.1404, allocations: 7.875 kB / 344.2 MB, free: 3.805 MB / 286.1 MB Notification: Performance of matching and sorting (n=56): time 0.004827/0.1452, allocations: 1.587 MB / 345.7 MB, free: 2.168 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004889/0.1457, allocations: 0.8194 MB / 346.6 MB, free: 1.152 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008647/0.1466, allocations: 0.59 MB / 347.2 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.762e-05/0.1467, allocations: 45.7 kB / 347.2 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003194/0.147, allocations: 332.8 kB / 347.5 MB, free: 180 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/0.1472, allocations: 189.4 kB / 347.7 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.1473, allocations: 12 kB / 347.7 MB, free: 15.97 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.1475, allocations: 378.7 kB / 348.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005374/0.148, allocations: 229 kB / 348.3 MB, free: 15.37 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009127/0.1489, allocations: 0.5286 MB / 348.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000594/0.1496, allocations: 329.4 kB / 349.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1496, allocations: 3.938 kB / 349.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001726/0.1513, allocations: 0.8701 MB / 350 MB, free: 13.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.33e-05/0.1514, allocations: 55.41 kB / 350.1 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.1514, allocations: 8.031 kB / 350.1 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006935/0.1521, allocations: 225.5 kB / 350.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005997/0.1527, allocations: 119.8 kB / 350.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006744/0.1595, allocations: 4.291 MB / 354.7 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.1605, allocations: 91.47 kB / 354.8 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-05/0.1606, allocations: 20 kB / 354.8 MB, free: 8.398 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.0005526/0.1612, allocations: 221.8 kB / 355.1 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.1613, allocations: 75.16 kB / 355.1 MB, free: 8.098 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.1614, allocations: 74.84 kB / 355.2 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.1615, allocations: 8 kB / 355.2 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.1615, allocations: 3.953 kB / 355.2 MB, free: 8.012 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00199/0.1635, allocations: 1.093 MB / 356.3 MB, free: 6.809 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002773/0.1663, allocations: 1.576 MB / 357.9 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.1663, allocations: 0 / 357.9 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005706/0.1669, allocations: 115.8 kB / 358 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000547/0.1674, allocations: 173.9 kB / 358.2 MB, free: 4.875 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.132e-05/0.1675, allocations: 11.98 kB / 358.2 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004701/0.1722, allocations: 3.67 MB / 361.8 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.1722, allocations: 11.86 kB / 361.9 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002357/0.1746, allocations: 1.07 MB / 362.9 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003585/0.1749, allocations: 216 kB / 363.1 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.662e-05/0.175, allocations: 15.98 kB / 363.2 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005562/0.1756, allocations: 59.95 kB / 363.2 MB, free: 15.51 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/0.1758, allocations: 60.42 kB / 363.3 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.371e-05/0.1758, allocations: 12 kB / 363.3 MB, free: 15.44 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005429/0.1764, allocations: 415.1 kB / 363.7 MB, free: 15.04 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1764, allocations: 0 / 363.7 MB, free: 15.04 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009389/0.1773, allocations: 247.8 kB / 363.9 MB, free: 14.8 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.0001838/0.1775, allocations: 123.2 kB / 364.1 MB, free: 14.67 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002108/0.1796, allocations: 1.043 MB / 365.1 MB, free: 13.58 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.1797, allocations: 0 / 365.1 MB, free: 13.58 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009936/0.1807, allocations: 0.5633 MB / 365.7 MB, free: 12.98 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009982/0.1817, allocations: 203.2 kB / 365.9 MB, free: 12.79 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/0.1845, allocations: 1.551 MB / 367.4 MB, free: 11.21 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005283/0.185, allocations: 0.9122 MB / 368.3 MB, free: 10.28 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003952/0.1854, allocations: 85.16 kB / 368.4 MB, free: 10.2 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.1856, allocations: 59.42 kB / 368.5 MB, free: 10.14 MB / 318.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1856, allocations: 0 / 368.5 MB, free: 10.14 MB / 318.1 MB Notification: Performance of Templates: time 0.2303/0.4158, allocations: 14.35 MB / 382.8 MB, free: 49.48 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