Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000876/0.000876, allocations: 68.08 kB / 21.69 MB, free: 2.863 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008866/0.0008866, allocations: 145.5 kB / 24.98 MB, free: 8.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9198/0.9198, allocations: 173.4 MB / 201.5 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 268.1 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.217e-05, allocations: 2.312 kB / 268.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006032/0.006054, allocations: 5.165 MB / 273.2 MB, free: 1.535 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002385/0.008439, allocations: 1.331 MB / 274.6 MB, free: 200 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003441/0.008783, allocations: 15.88 kB / 274.6 MB, free: 184 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003798/0.009163, allocations: 162.5 kB / 274.7 MB, free: 20 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006736/0.009836, allocations: 364.8 kB / 275.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004503/0.01029, allocations: 239.5 kB / 275.3 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001287/0.01157, allocations: 1.284 MB / 276.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000394/0.01197, allocations: 226.7 kB / 276.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006848/0.01265, allocations: 0.7056 MB / 277.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003565/0.01301, allocations: 402.9 kB / 277.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.01311, allocations: 108 kB / 278 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.01322, allocations: 112 kB / 278.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.01337, allocations: 239.1 kB / 278.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002944/0.01366, allocations: 399.1 kB / 278.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007163/0.01438, allocations: 0.8252 MB / 279.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.01438, allocations: 0 / 279.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.01438, allocations: 4 kB / 279.6 MB, free: 11.13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.654e-05/0.0144, allocations: 0 / 279.6 MB, free: 11.13 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.001458/0.01586, allocations: 1.423 MB / 281 MB, free: 9.652 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.01589, allocations: 16.86 kB / 281 MB, free: 9.637 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/0.01607, allocations: 168.2 kB / 281.2 MB, free: 9.473 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006006/0.01667, allocations: 0.5215 MB / 281.7 MB, free: 8.918 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/0.01683, allocations: 297.2 kB / 282 MB, free: 8.574 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.287e-05/0.01691, allocations: 72.38 kB / 282.1 MB, free: 8.504 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.01792, allocations: 1.546 MB / 283.6 MB, free: 6.633 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.01794, allocations: 192 / 283.6 MB, free: 6.633 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.688e-05/0.01798, allocations: 36.06 kB / 283.7 MB, free: 6.598 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.018, allocations: 16 kB / 283.7 MB, free: 6.582 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004946/0.01849, allocations: 311.6 kB / 284 MB, free: 6.277 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/0.02041, allocations: 1.561 MB / 285.5 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006412/0.02105, allocations: 469.8 kB / 286 MB, free: 4.211 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003172/0.02136, allocations: 226.1 kB / 286.2 MB, free: 3.984 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.918e-05/0.0214, allocations: 16.66 kB / 286.2 MB, free: 3.969 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.02143, allocations: 54.05 kB / 286.3 MB, free: 3.902 MB / 266.7 MB Notification: Performance of pre-optimization done (n=77): time 1.483e-06/0.02144, allocations: 4 kB / 286.3 MB, free: 3.898 MB / 266.7 MB Notification: Performance of matching and sorting (n=77): time 0.002026/0.02346, allocations: 1.054 MB / 287.4 MB, free: 2.824 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002302/0.02369, allocations: 0.82 MB / 288.2 MB, free: 1.809 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004856/0.02418, allocations: 0.6245 MB / 288.8 MB, free: 1.172 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.767e-05/0.02422, allocations: 45.7 kB / 288.8 MB, free: 1.121 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.02443, allocations: 411.9 kB / 289.2 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.02457, allocations: 281.5 kB / 289.5 MB, free: 444 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.02473, allocations: 160.2 kB / 289.7 MB, free: 276 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.02491, allocations: 0.5625 MB / 290.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002636/0.02517, allocations: 211 kB / 290.4 MB, free: 15.47 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006499/0.02582, allocations: 1.306 MB / 291.7 MB, free: 13.82 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000504/0.02633, allocations: 450.7 kB / 292.2 MB, free: 13.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.02633, allocations: 4 kB / 292.2 MB, free: 13.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001112/0.02744, allocations: 0.8884 MB / 293.1 MB, free: 12.39 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.237e-05/0.02748, allocations: 85.11 kB / 293.2 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.02749, allocations: 0 / 293.2 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000431/0.02792, allocations: 190.6 kB / 293.3 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003286/0.02825, allocations: 139.8 kB / 293.5 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004014/0.03226, allocations: 7.807 MB / 301.3 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003589/0.03262, allocations: 83.58 kB / 301.4 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/0.03265, allocations: 20 kB / 301.4 MB, free: 3.551 MB / 282.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.0001821/0.03284, allocations: 216.4 kB / 301.6 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.03295, allocations: 119.4 kB / 301.7 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.571e-05/0.03303, allocations: 92.08 kB / 301.8 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.03304, allocations: 8 kB / 301.8 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.03304, allocations: 0 / 301.8 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009828/0.03402, allocations: 0.9524 MB / 302.8 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/0.03577, allocations: 1.436 MB / 304.2 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.03577, allocations: 0 / 304.2 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/0.03613, allocations: 135.9 kB / 304.3 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003199/0.03645, allocations: 158.9 kB / 304.5 MB, free: 252 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.03648, allocations: 12 kB / 304.5 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.102/0.1385, allocations: 5.942 MB / 310.4 MB, free: 34.5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1385, allocations: 0.875 kB / 310.4 MB, free: 34.5 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.14, allocations: 0.9721 MB / 311.4 MB, free: 34.26 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002514/0.1402, allocations: 170.3 kB / 311.6 MB, free: 34.26 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.518e-05/0.1403, allocations: 18.97 kB / 311.6 MB, free: 34.26 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003232/0.1406, allocations: 41.08 kB / 311.6 MB, free: 34.26 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/0.1408, allocations: 73.75 kB / 311.7 MB, free: 34.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.1408, allocations: 25.08 kB / 311.7 MB, free: 34.25 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003406/0.1411, allocations: 420.1 kB / 312.2 MB, free: 34.11 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1411, allocations: 0 / 312.2 MB, free: 34.11 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006383/0.1418, allocations: 298.5 kB / 312.4 MB, free: 34.1 MB / 282.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.0001259/0.1419, allocations: 121.1 kB / 312.6 MB, free: 34.01 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.143, allocations: 1.393 MB / 314 MB, free: 33.01 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.143, allocations: 3.531 kB / 314 MB, free: 33.01 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005873/0.1435, allocations: 0.7921 MB / 314.8 MB, free: 32.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006446/0.1442, allocations: 242.2 kB / 315 MB, free: 32.48 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.1463, allocations: 1.49 MB / 316.5 MB, free: 31.76 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.1465, allocations: 167.5 kB / 316.6 MB, free: 31.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000302/0.1468, allocations: 101.8 kB / 316.7 MB, free: 31.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.1469, allocations: 67.14 kB / 316.8 MB, free: 31.66 MB / 282.7 MB Notification: Performance of SimCode: time 1.603e-06/0.1469, allocations: 8.531 kB / 316.8 MB, free: 31.65 MB / 282.7 MB Notification: Performance of Templates: time 0.01837/0.1653, allocations: 19.51 MB / 336.3 MB, free: 19.4 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2785476869903505]