Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 91.61 kB / 20.96 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 169.3 kB / 24.28 MB, free: 144 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 177.2 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.95e-05/3.069e-05, allocations: 2.312 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.007788/0.007818, allocations: 5.156 MB / 277.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002716/0.01053, allocations: 1.355 MB / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003009/0.01084, allocations: 11.94 kB / 278.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004399/0.01127, allocations: 170.4 kB / 279 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007516/0.01203, allocations: 356.9 kB / 279.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004831/0.01251, allocations: 247.5 kB / 279.6 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001529/0.01404, allocations: 1.272 MB / 280.9 MB, free: 9.238 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000421/0.01446, allocations: 238.6 kB / 281.1 MB, free: 8.996 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008954/0.01535, allocations: 0.7017 MB / 281.8 MB, free: 8.293 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000639/0.01599, allocations: 402.8 kB / 282.2 MB, free: 7.898 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002063/0.0162, allocations: 108 kB / 282.3 MB, free: 7.793 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000228/0.01643, allocations: 112 kB / 282.4 MB, free: 7.684 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002486/0.01668, allocations: 239.2 kB / 282.6 MB, free: 7.449 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005091/0.01719, allocations: 403.1 kB / 283 MB, free: 7.055 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001853/0.01904, allocations: 1.312 MB / 284.3 MB, free: 5.738 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.01904, allocations: 4 kB / 284.3 MB, free: 5.734 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01905, allocations: 0 / 284.3 MB, free: 5.734 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.01906, allocations: 0 / 284.3 MB, free: 5.734 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.003168/0.02223, allocations: 1.473 MB / 285.8 MB, free: 4.203 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.02227, allocations: 16.03 kB / 285.8 MB, free: 4.188 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003109/0.02258, allocations: 168.2 kB / 286 MB, free: 4.023 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.02362, allocations: 0.545 MB / 286.5 MB, free: 3.449 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003516/0.02397, allocations: 293.2 kB / 286.8 MB, free: 3.105 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.02411, allocations: 80.31 kB / 286.9 MB, free: 3.027 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002282/0.0264, allocations: 1.725 MB / 288.6 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.02642, allocations: 192 / 288.6 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.394e-05/0.0265, allocations: 40.11 kB / 288.7 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.02652, allocations: 12 kB / 288.7 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.02795, allocations: 0.5751 MB / 289.3 MB, free: 360 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1129/0.1409, allocations: 1.838 MB / 291.1 MB, free: 28.06 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.1423, allocations: 0.7197 MB / 291.8 MB, free: 27.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006974/0.143, allocations: 366.5 kB / 292.2 MB, free: 27.7 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-05/0.1431, allocations: 21.06 kB / 292.2 MB, free: 27.69 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.1431, allocations: 53.83 kB / 292.2 MB, free: 27.63 MB / 266.7 MB Notification: Performance of pre-optimization done (n=77): time 2.464e-06/0.1431, allocations: 1.125 kB / 292.2 MB, free: 27.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=77): time 0.00468/0.1478, allocations: 1.438 MB / 293.7 MB, free: 27.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001679/0.148, allocations: 0.823 MB / 294.5 MB, free: 26.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000896/0.1489, allocations: 0.7876 MB / 295.3 MB, free: 25.83 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.79e-05/0.1489, allocations: 45.42 kB / 295.3 MB, free: 25.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/0.1492, allocations: 439.6 kB / 295.8 MB, free: 25.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.1494, allocations: 293 kB / 296.1 MB, free: 25.28 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000248/0.1496, allocations: 168.6 kB / 296.2 MB, free: 25.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1498, allocations: 0.6059 MB / 296.8 MB, free: 24.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006095/0.1504, allocations: 342 kB / 297.2 MB, free: 24.47 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009445/0.1514, allocations: 1.482 MB / 298.6 MB, free: 22.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.1526, allocations: 0.7234 MB / 299.4 MB, free: 22.56 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.1526, allocations: 4.609 kB / 299.4 MB, free: 22.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002491/0.1551, allocations: 1.183 MB / 300.6 MB, free: 21.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.606e-05/0.1551, allocations: 86.3 kB / 300.6 MB, free: 21.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.1551, allocations: 0 / 300.6 MB, free: 21.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008908/0.156, allocations: 259.1 kB / 300.9 MB, free: 21.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006284/0.1566, allocations: 141.5 kB / 301 MB, free: 21.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006525/0.1632, allocations: 8.522 MB / 309.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009315/0.1641, allocations: 93.56 kB / 309.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.514e-05/0.1642, allocations: 23.17 kB / 309.7 MB, free: 13.9 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (73): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000325/0.1645, allocations: 274 kB / 309.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.1646, allocations: 115.1 kB / 310 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/0.1648, allocations: 96.23 kB / 310.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.1648, allocations: 8.594 kB / 310.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.1648, allocations: 0 / 310.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001994/0.1668, allocations: 1.21 MB / 311.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00313/0.17, allocations: 1.843 MB / 313.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.17, allocations: 0 / 313.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006259/0.1706, allocations: 147.8 kB / 313.3 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006564/0.1713, allocations: 217.6 kB / 313.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.275e-05/0.1713, allocations: 12 kB / 313.6 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004734/0.176, allocations: 6.532 MB / 320.1 MB, free: 4.488 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.176, allocations: 0 / 320.1 MB, free: 4.488 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002542/0.1786, allocations: 1.434 MB / 321.5 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003168/0.1789, allocations: 168.6 kB / 321.7 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.179, allocations: 23.98 kB / 321.7 MB, free: 2.844 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006045/0.1796, allocations: 39.97 kB / 321.8 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.1798, allocations: 74.88 kB / 321.8 MB, free: 2.734 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/0.1798, allocations: 20 kB / 321.9 MB, free: 2.715 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004466/0.1802, allocations: 0.5146 MB / 322.4 MB, free: 2.207 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1802, allocations: 4 kB / 322.4 MB, free: 2.203 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007919/0.181, allocations: 294.8 kB / 322.7 MB, free: 1.922 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001285/0.1812, allocations: 121.7 kB / 322.8 MB, free: 1.797 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001665/0.1828, allocations: 1.66 MB / 324.4 MB, free: 16 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.1828, allocations: 4 kB / 324.4 MB, free: 12 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001561/0.1844, allocations: 0.9283 MB / 325.4 MB, free: 15.03 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.1854, allocations: 242.2 kB / 325.6 MB, free: 14.8 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/0.1884, allocations: 1.567 MB / 327.2 MB, free: 13.2 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.1888, allocations: 366.7 kB / 327.5 MB, free: 12.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004098/0.1892, allocations: 102.3 kB / 327.6 MB, free: 12.72 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/0.1894, allocations: 68.48 kB / 327.7 MB, free: 12.65 MB / 282.7 MB Notification: Performance of SimCode: time 6.62e-07/0.1894, allocations: 4 kB / 327.7 MB, free: 12.65 MB / 282.7 MB Notification: Performance of Templates: time 0.0346/0.224, allocations: 19.51 MB / 347.2 MB, free: 9.535 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.4700230630114675]