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.001414/0.001414, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001453/0.001453, allocations: 145.5 kB / 24.54 MB, free: 36 kB / 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.9079/0.9079, allocations: 173.4 MB / 201.1 MB, free: 9.332 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.082e-06/1.082e-06, allocations: 0 / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.746e-05/1.854e-05, allocations: 2.312 kB / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.004438/0.004457, allocations: 5.188 MB / 273.2 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.006457, allocations: 1.324 MB / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002879/0.006745, allocations: 11.94 kB / 274.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003335/0.007078, allocations: 166.5 kB / 274.7 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004733/0.007551, allocations: 368.8 kB / 275 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.007889, allocations: 247.5 kB / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009073/0.008797, allocations: 1.265 MB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002795/0.009076, allocations: 234.6 kB / 276.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005846/0.009661, allocations: 0.7094 MB / 277.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003763/0.01004, allocations: 398.9 kB / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.01014, allocations: 108 kB / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.01026, allocations: 108 kB / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.01041, allocations: 239.1 kB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002695/0.01068, allocations: 403.1 kB / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006597/0.01134, allocations: 0.8174 MB / 279.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.01134, allocations: 0 / 279.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.01134, allocations: 0 / 279.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.01135, allocations: 0 / 279.5 MB, free: 10.84 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.001503/0.01285, allocations: 1.419 MB / 280.9 MB, free: 9.363 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.01288, allocations: 12.92 kB / 281 MB, free: 9.352 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.01306, allocations: 164.3 kB / 281.1 MB, free: 9.191 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005113/0.01357, allocations: 0.5123 MB / 281.6 MB, free: 8.648 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.01372, allocations: 301.2 kB / 281.9 MB, free: 8.297 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.944e-05/0.0138, allocations: 76.38 kB / 282 MB, free: 8.223 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009671/0.01477, allocations: 1.538 MB / 283.5 MB, free: 6.359 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.01479, allocations: 192 / 283.5 MB, free: 6.359 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.69e-05/0.01483, allocations: 32.12 kB / 283.6 MB, free: 6.328 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.01485, allocations: 19.94 kB / 283.6 MB, free: 6.309 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004628/0.01531, allocations: 319.5 kB / 283.9 MB, free: 5.996 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002153/0.01746, allocations: 1.557 MB / 285.5 MB, free: 4.402 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006309/0.01809, allocations: 469.5 kB / 285.9 MB, free: 3.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002976/0.01839, allocations: 230.1 kB / 286.1 MB, free: 3.699 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.358e-05/0.01843, allocations: 14.52 kB / 286.2 MB, free: 3.688 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.01846, allocations: 50.05 kB / 286.2 MB, free: 3.625 MB / 266.7 MB Notification: Performance of pre-optimization done (n=77): time 1.683e-06/0.01847, allocations: 0 / 286.2 MB, free: 3.625 MB / 266.7 MB Notification: Performance of matching and sorting (n=77): time 0.001944/0.02041, allocations: 1.062 MB / 287.3 MB, free: 2.543 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001986/0.02061, allocations: 0.8195 MB / 288.1 MB, free: 1.527 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004486/0.02106, allocations: 0.6245 MB / 288.7 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.33e-05/0.0211, allocations: 41.7 kB / 288.7 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.02129, allocations: 415.9 kB / 289.2 MB, free: 440 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.02142, allocations: 277.5 kB / 289.4 MB, free: 160 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1014/0.1229, allocations: 156.9 kB / 289.6 MB, free: 30.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.1231, allocations: 0.5665 MB / 290.1 MB, free: 29.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003483/0.1234, allocations: 209.9 kB / 290.3 MB, free: 29.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005137/0.1239, allocations: 1.3 MB / 291.6 MB, free: 28.29 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005379/0.1245, allocations: 452.5 kB / 292.1 MB, free: 28.15 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.1245, allocations: 0 / 292.1 MB, free: 28.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001416/0.1259, allocations: 0.8856 MB / 293 MB, free: 27.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.044e-05/0.1259, allocations: 89.72 kB / 293.1 MB, free: 27.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.1259, allocations: 3.328 kB / 293.1 MB, free: 27.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004727/0.1264, allocations: 185.7 kB / 293.2 MB, free: 27.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/0.1268, allocations: 144.2 kB / 293.4 MB, free: 27.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003206/0.13, allocations: 7.791 MB / 301.2 MB, free: 20.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004062/0.1304, allocations: 97.5 kB / 301.3 MB, free: 20.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.933e-05/0.1304, allocations: 22.88 kB / 301.3 MB, free: 20.62 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.0001846/0.1306, allocations: 213.3 kB / 301.5 MB, free: 20.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.1307, allocations: 115.9 kB / 301.6 MB, free: 20.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.866e-05/0.1308, allocations: 91.84 kB / 301.7 MB, free: 20.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.1308, allocations: 7.062 kB / 301.7 MB, free: 20.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1308, allocations: 5.156 kB / 301.7 MB, free: 20.4 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009618/0.1318, allocations: 0.9466 MB / 302.7 MB, free: 19.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001821/0.1336, allocations: 1.432 MB / 304.1 MB, free: 19.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1336, allocations: 4.641 kB / 304.1 MB, free: 19.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003678/0.1339, allocations: 140.1 kB / 304.2 MB, free: 19.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003347/0.1343, allocations: 156.2 kB / 304.4 MB, free: 19.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-05/0.1343, allocations: 19.19 kB / 304.4 MB, free: 19.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002553/0.1369, allocations: 5.945 MB / 310.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.1369, allocations: 0 / 310.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.1383, allocations: 0.9719 MB / 311.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002153/0.1385, allocations: 170.8 kB / 311.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.293e-05/0.1385, allocations: 22.97 kB / 311.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002866/0.1388, allocations: 40.62 kB / 311.6 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.139, allocations: 70.25 kB / 311.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.139, allocations: 18.97 kB / 311.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003272/0.1393, allocations: 419.3 kB / 312.1 MB, free: 12.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1393, allocations: 0 / 312.1 MB, free: 12.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006526/0.14, allocations: 295.7 kB / 312.3 MB, free: 12.87 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.0001269/0.1401, allocations: 128.4 kB / 312.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009389/0.141, allocations: 1.388 MB / 313.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.141, allocations: 2.75 kB / 313.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005643/0.1416, allocations: 0.8018 MB / 314.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005643/0.1422, allocations: 253 kB / 314.9 MB, free: 10.97 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.144, allocations: 1.495 MB / 316.4 MB, free: 10.12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.709e-05/0.144, allocations: 165.1 kB / 316.6 MB, free: 10.04 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002456/0.1443, allocations: 100 kB / 316.7 MB, free: 10.01 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.1444, allocations: 69.3 kB / 316.7 MB, free: 10 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.1444, allocations: 0.6562 kB / 316.7 MB, free: 10 MB / 266.7 MB Notification: Performance of Templates: time 0.01879/0.1632, allocations: 20.53 MB / 337.3 MB, free: 7.281 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.1628813077695668]