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.001043/0.001043, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.0009017/0.0009017, allocations: 170.4 kB / 25.61 MB, free: 8.902 MB / 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 0.9545/0.9545, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] 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.022e-06/1.022e-06, allocations: 0 / 274.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004e-05/1.106e-05, allocations: 7.484 kB / 274.2 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.003962/0.003973, allocations: 5.105 MB / 279.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.005317, allocations: 1.343 MB / 280.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002034/0.00552, allocations: 15.94 kB / 280.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.005813, allocations: 166.5 kB / 280.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003986/0.006212, allocations: 368.8 kB / 281.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.006477, allocations: 243.6 kB / 281.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009811/0.007458, allocations: 1.269 MB / 282.7 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000257/0.007715, allocations: 238.6 kB / 282.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004758/0.008191, allocations: 0.7094 MB / 283.6 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003386/0.00853, allocations: 394.9 kB / 284 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.848e-05/0.008628, allocations: 112 kB / 284.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.008731, allocations: 108 kB / 284.2 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.008849, allocations: 243.1 kB / 284.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000248/0.009097, allocations: 399.1 kB / 284.8 MB, free: 9.715 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005478/0.009645, allocations: 0.8174 MB / 285.7 MB, free: 8.895 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.009647, allocations: 0 / 285.7 MB, free: 8.895 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.009648, allocations: 4 kB / 285.7 MB, free: 8.891 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.009656, allocations: 0 / 285.7 MB, free: 8.891 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.001286/0.01094, allocations: 1.427 MB / 287.1 MB, free: 7.406 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.531e-05/0.01097, allocations: 8.031 kB / 287.1 MB, free: 7.398 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.01112, allocations: 172.2 kB / 287.3 MB, free: 7.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004426/0.01156, allocations: 0.4928 MB / 287.8 MB, free: 6.707 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.0117, allocations: 301.2 kB / 288.1 MB, free: 6.359 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-05/0.01178, allocations: 76.38 kB / 288.1 MB, free: 6.285 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.01282, allocations: 1.495 MB / 289.6 MB, free: 4.465 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.01284, allocations: 192 / 289.6 MB, free: 4.465 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.337e-05/0.01288, allocations: 32.12 kB / 289.7 MB, free: 4.434 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.01289, allocations: 16 kB / 289.7 MB, free: 4.418 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003126/0.01321, allocations: 254.1 kB / 289.9 MB, free: 4.168 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.01482, allocations: 1.467 MB / 291.4 MB, free: 2.672 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004586/0.01528, allocations: 420.6 kB / 291.8 MB, free: 2.254 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.01548, allocations: 198 kB / 292 MB, free: 2.055 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.006e-05/0.01552, allocations: 16.66 kB / 292 MB, free: 2.039 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.01555, allocations: 51.91 kB / 292.1 MB, free: 1.977 MB / 266.7 MB Notification: Performance of pre-optimization done (n=77): time 1.623e-06/0.01555, allocations: 0 / 292.1 MB, free: 1.977 MB / 266.7 MB Notification: Performance of matching and sorting (n=77): time 0.001698/0.01725, allocations: 0.9681 MB / 293 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002049/0.01745, allocations: 0.8234 MB / 293.9 MB, free: 15.97 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003566/0.01781, allocations: 0.5969 MB / 294.5 MB, free: 15.36 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/0.01785, allocations: 45.7 kB / 294.5 MB, free: 15.3 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.01805, allocations: 431.8 kB / 294.9 MB, free: 14.88 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.01818, allocations: 277.5 kB / 295.2 MB, free: 14.6 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.01833, allocations: 160.2 kB / 295.3 MB, free: 14.44 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003858/0.01871, allocations: 0.5701 MB / 295.9 MB, free: 13.86 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.01887, allocations: 183 kB / 296.1 MB, free: 13.66 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004853/0.01936, allocations: 1.275 MB / 297.4 MB, free: 12.04 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/0.0197, allocations: 394.6 kB / 297.8 MB, free: 11.62 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.0197, allocations: 0 / 297.8 MB, free: 11.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0008788/0.02058, allocations: 0.8297 MB / 298.6 MB, free: 10.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.812e-05/0.02062, allocations: 85.09 kB / 298.7 MB, free: 10.63 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.02062, allocations: 4 kB / 298.7 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003566/0.02098, allocations: 190.5 kB / 298.9 MB, free: 10.42 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003123/0.02129, allocations: 147.8 kB / 299 MB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003707/0.025, allocations: 7.67 MB / 306.7 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003256/0.02533, allocations: 95.47 kB / 306.8 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/0.02536, allocations: 24.03 kB / 306.8 MB, free: 2.027 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.0001645/0.02552, allocations: 204.5 kB / 307 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.02563, allocations: 115.4 kB / 307.1 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.543e-05/0.02572, allocations: 100.1 kB / 307.2 MB, free: 1.602 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.02572, allocations: 8 kB / 307.2 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.02573, allocations: 0 / 307.2 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007815/0.02651, allocations: 0.8821 MB / 308.1 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/0.02794, allocations: 1.284 MB / 309.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.02794, allocations: 0 / 309.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/0.02827, allocations: 147.8 kB / 309.5 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002852/0.02856, allocations: 151 kB / 309.7 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/0.02858, allocations: 16 kB / 309.7 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002891/0.03147, allocations: 5.846 MB / 315.5 MB, free: 8.758 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.03148, allocations: 0 / 315.5 MB, free: 8.758 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009835/0.03246, allocations: 0.8927 MB / 316.4 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001867/0.03265, allocations: 163.2 kB / 316.6 MB, free: 7.672 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.601e-05/0.03271, allocations: 20 kB / 316.6 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/0.033, allocations: 47.89 kB / 316.6 MB, free: 7.605 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.718e-05/0.0331, allocations: 68.53 kB / 316.7 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.03312, allocations: 12 kB / 316.7 MB, free: 7.523 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004258/0.03354, allocations: 390.8 kB / 317.1 MB, free: 7.145 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-08/0.03354, allocations: 0 / 317.1 MB, free: 7.145 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004596/0.034, allocations: 303.7 kB / 317.4 MB, free: 6.848 MB / 298.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.0001006/0.0341, allocations: 127.1 kB / 317.5 MB, free: 6.715 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008198/0.03492, allocations: 1.331 MB / 318.9 MB, free: 5.258 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.03493, allocations: 0 / 318.9 MB, free: 5.258 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005158/0.03544, allocations: 0.7753 MB / 319.6 MB, free: 4.426 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005424/0.03598, allocations: 246.8 kB / 319.9 MB, free: 4.188 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.03764, allocations: 1.474 MB / 321.3 MB, free: 2.676 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.505e-05/0.03774, allocations: 177.2 kB / 321.5 MB, free: 2.484 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002221/0.03796, allocations: 98.3 kB / 321.6 MB, free: 2.387 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005686/0.03853, allocations: 437.9 kB / 322 MB, free: 1.957 MB / 298.7 MB Notification: Performance of SimCode: time 6.72e-07/0.03853, allocations: 0 / 322 MB, free: 1.957 MB / 298.7 MB Notification: Performance of Templates: time 0.02044/0.05897, allocations: 21.22 MB / 343.3 MB, free: 13.11 MB / 330.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","",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.407229975797236]