Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 115 kB / 17.93 MB, free: 5.566 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.00159/0.00159, allocations: 189.4 kB / 18.86 MB, free: 4.645 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.457/1.457, allocations: 205.1 MB / 224.7 MB, free: 12.31 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.001875/0.001875, allocations: 39.94 kB / 280.8 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1382, allocations: 46.63 MB / 327.4 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.008174/0.1465, allocations: 3.777 MB / 331.2 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002636/0.1492, allocations: 1.033 MB / 332.2 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004809/0.1497, allocations: 8 kB / 332.2 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005226/0.1502, allocations: 87.36 kB / 332.3 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009096/0.1512, allocations: 178.6 kB / 332.5 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004526/0.1517, allocations: 119.9 kB / 332.6 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001281/0.153, allocations: 0.6964 MB / 333.3 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004984/0.1535, allocations: 206.7 kB / 333.5 MB, free: 14.65 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005023/0.154, allocations: 267 kB / 333.8 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006382/0.1546, allocations: 310.7 kB / 334.1 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001814/0.1548, allocations: 60 kB / 334.1 MB, free: 14.03 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002021/0.1551, allocations: 60 kB / 334.2 MB, free: 13.97 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001761/0.1553, allocations: 127.5 kB / 334.3 MB, free: 13.84 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005413/0.1558, allocations: 326.5 kB / 334.6 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008389/0.1567, allocations: 0.5416 MB / 335.2 MB, free: 12.98 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.1567, allocations: 0 / 335.2 MB, free: 12.98 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.733e-06/0.1567, allocations: 3.984 kB / 335.2 MB, free: 12.98 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.269e-05/0.1568, allocations: 0 / 335.2 MB, free: 12.98 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.002737/0.1595, allocations: 0.9053 MB / 336.1 MB, free: 12.01 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.1596, allocations: 12.03 kB / 336.1 MB, free: 12 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002188/0.1598, allocations: 72.17 kB / 336.2 MB, free: 11.93 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.1609, allocations: 434.8 kB / 336.6 MB, free: 11.46 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003649/0.1613, allocations: 87.22 kB / 336.7 MB, free: 11.38 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.1615, allocations: 40.31 kB / 336.7 MB, free: 11.34 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.163, allocations: 0.51 MB / 337.2 MB, free: 10.77 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.1631, allocations: 0 / 337.2 MB, free: 10.77 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.11e-05/0.1632, allocations: 19.98 kB / 337.3 MB, free: 10.75 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.1632, allocations: 8 kB / 337.3 MB, free: 10.75 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.1649, allocations: 383.7 kB / 337.6 MB, free: 10.37 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.00375/0.1686, allocations: 1.359 MB / 339 MB, free: 8.918 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.1703, allocations: 471.8 kB / 339.5 MB, free: 8.43 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008275/0.1711, allocations: 204.8 kB / 339.7 MB, free: 8.227 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.161e-05/0.1712, allocations: 11.88 kB / 339.7 MB, free: 8.215 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.255e-05/0.1713, allocations: 38.56 kB / 339.7 MB, free: 8.168 MB / 286.1 MB Notification: Performance of pre-optimization done (n=37): time 4.078e-06/0.1713, allocations: 4 kB / 339.7 MB, free: 8.164 MB / 286.1 MB Notification: Performance of matching and sorting (n=37): time 0.003103/0.1744, allocations: 0.7856 MB / 340.5 MB, free: 7.328 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002576/0.1747, allocations: 441 kB / 340.9 MB, free: 6.793 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009796/0.1757, allocations: 482 kB / 341.4 MB, free: 6.312 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.29e-05/0.1758, allocations: 37.7 kB / 341.4 MB, free: 6.27 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002971/0.1761, allocations: 248.4 kB / 341.7 MB, free: 6.023 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.1763, allocations: 130.1 kB / 341.8 MB, free: 5.895 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002343/0.1766, allocations: 81.64 kB / 341.9 MB, free: 5.809 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.1768, allocations: 358.8 kB / 342.2 MB, free: 5.449 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007792/0.1776, allocations: 155.9 kB / 342.4 MB, free: 5.297 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009499/0.1786, allocations: 306.1 kB / 342.7 MB, free: 4.945 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.1801, allocations: 367.1 kB / 343 MB, free: 4.574 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1801, allocations: 0 / 343 MB, free: 4.574 MB / 286.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00166/0.1818, allocations: 0.5269 MB / 343.6 MB, free: 4.027 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.201e-05/0.1819, allocations: 33.7 kB / 343.6 MB, free: 3.988 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.1819, allocations: 0 / 343.6 MB, free: 3.988 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002841/0.1822, allocations: 49.7 kB / 343.6 MB, free: 3.934 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008083/0.183, allocations: 91.86 kB / 343.7 MB, free: 3.844 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003893/0.1869, allocations: 2.961 MB / 346.7 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009162/0.1879, allocations: 67.59 kB / 346.8 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-05/0.188, allocations: 20 kB / 346.8 MB, free: 0.5195 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * 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 {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004219/0.1884, allocations: 169.8 kB / 347 MB, free: 352 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/0.1886, allocations: 51.44 kB / 347 MB, free: 300 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001905/0.1888, allocations: 56.92 kB / 347.1 MB, free: 244 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.1889, allocations: 4 kB / 347.1 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.1889, allocations: 3.938 kB / 347.1 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001877/0.1908, allocations: 0.7668 MB / 347.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003147/0.1939, allocations: 1.071 MB / 348.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.194, allocations: 3.938 kB / 348.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009024/0.1949, allocations: 95.86 kB / 349 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.1949, allocations: 0 / 349 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-05/0.195, allocations: 12 kB / 349 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.195, allocations: 7.938 kB / 349 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.195, allocations: 0 / 349 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002587/0.1976, allocations: 0.7101 MB / 349.7 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004197/0.1981, allocations: 184.2 kB / 349.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/0.1983, allocations: 8 kB / 349.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004814/0.1988, allocations: 35.97 kB / 350 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.89e-05/0.1989, allocations: 27.95 kB / 350 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.1989, allocations: 4 kB / 350 MB, free: 13.11 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003797/0.1993, allocations: 346.8 kB / 350.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1993, allocations: 0 / 350.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005046/0.1998, allocations: 143.8 kB / 350.5 MB, free: 12.63 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (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 Backend phase and start with SimCode phase: time 0.0001395/0.2, allocations: 103.2 kB / 350.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00139/0.2014, allocations: 0.6915 MB / 351.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.2014, allocations: 0 / 351.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004343/0.2018, allocations: 203.6 kB / 351.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007857/0.2026, allocations: 154 kB / 351.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.2045, allocations: 1.167 MB / 352.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.2049, allocations: 0.8315 MB / 353.6 MB, free: 9.379 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.2051, allocations: 51.42 kB / 353.7 MB, free: 9.328 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2051, allocations: 0 / 353.7 MB, free: 9.328 MB / 302.1 MB Notification: Performance of Templates: time 0.01336/0.2185, allocations: 9.15 MB / 362.8 MB, free: 176 kB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches