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.001371/0.001371, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001372/0.001372, allocations: 203.6 kB / 23.73 MB, free: 4.379 MB / 14.72 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.436/1.436, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 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 0.001575/0.001575, allocations: 51.92 kB / 378.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2493, allocations: 53.37 MB / 431.6 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006422/0.2557, allocations: 4.662 MB / 436.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002962/0.2587, allocations: 1.315 MB / 437.6 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003307/0.259, allocations: 15.88 kB / 437.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004556/0.2595, allocations: 166.5 kB / 437.7 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007005/0.2602, allocations: 345.1 kB / 438.1 MB, free: 184 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004968/0.2607, allocations: 243.7 kB / 438.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001434/0.2621, allocations: 1.223 MB / 439.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004211/0.2625, allocations: 238.7 kB / 439.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005365/0.2631, allocations: 482.4 kB / 440.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006851/0.2637, allocations: 0.5291 MB / 440.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.2639, allocations: 108 kB / 440.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.2641, allocations: 112 kB / 441 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002192/0.2643, allocations: 235.1 kB / 441.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005201/0.2648, allocations: 470 kB / 441.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.2661, allocations: 1.264 MB / 442.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.2661, allocations: 4 kB / 442.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2661, allocations: 0 / 442.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.2661, allocations: 7.938 kB / 442.9 MB, free: 11.28 MB / 350.1 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.00261/0.2687, allocations: 1.339 MB / 444.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.2688, allocations: 8.031 kB / 444.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001994/0.269, allocations: 116.3 kB / 444.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.27, allocations: 0.5468 MB / 445 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002856/0.2703, allocations: 301.2 kB / 445.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.2704, allocations: 60.38 kB / 445.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002025/0.2724, allocations: 1.648 MB / 447 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.2725, allocations: 0 / 447 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.48e-05/0.2725, allocations: 28 kB / 447 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.2725, allocations: 16 kB / 447 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.2741, allocations: 0.6219 MB / 447.6 MB, free: 6.184 MB / 350.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.003407/0.2775, allocations: 1.612 MB / 449.2 MB, free: 4.539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.2791, allocations: 0.7357 MB / 450 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008502/0.28, allocations: 381.8 kB / 450.3 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.491e-05/0.28, allocations: 8.656 kB / 450.4 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.2801, allocations: 47.22 kB / 450.4 MB, free: 3.359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.324e-06/0.2801, allocations: 3.938 kB / 450.4 MB, free: 3.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.005216/0.2853, allocations: 1.527 MB / 451.9 MB, free: 1.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00045/0.2858, allocations: 0.8234 MB / 452.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007925/0.2865, allocations: 0.6174 MB / 453.4 MB, free: 172 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.96e-05/0.2866, allocations: 45.7 kB / 453.4 MB, free: 120 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003076/0.2869, allocations: 353.3 kB / 453.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002625/0.2872, allocations: 277.5 kB / 454 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002966/0.2875, allocations: 154.6 kB / 454.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002415/0.2877, allocations: 382.8 kB / 454.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007713/0.2885, allocations: 366.9 kB / 454.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001461/0.29, allocations: 1.399 MB / 456.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/0.2915, allocations: 0.7051 MB / 457 MB, free: 12.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.2915, allocations: 0 / 457 MB, free: 12.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00293/0.2944, allocations: 1.194 MB / 458.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.759e-05/0.2945, allocations: 89.09 kB / 458.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.2945, allocations: 4 kB / 458.3 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007387/0.2952, allocations: 239.2 kB / 458.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000725/0.2959, allocations: 143.8 kB / 458.7 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008561/0.3045, allocations: 6.4 MB / 465.1 MB, free: 3.582 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009715/0.3055, allocations: 99.61 kB / 465.2 MB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.852e-05/0.3055, allocations: 20 kB / 465.2 MB, free: 3.465 MB / 366.1 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.0003777/0.3059, allocations: 225.8 kB / 465.4 MB, free: 3.234 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.3061, allocations: 95.47 kB / 465.5 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/0.3063, allocations: 88.08 kB / 465.6 MB, free: 3.047 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.974e-06/0.3063, allocations: 8 kB / 465.6 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.3063, allocations: 3.938 kB / 465.6 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002692/0.309, allocations: 1.256 MB / 466.9 MB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003944/0.3129, allocations: 1.721 MB / 468.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3129, allocations: 192 / 468.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000791/0.3137, allocations: 147.8 kB / 468.7 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005794/0.3143, allocations: 202.5 kB / 468.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.794e-05/0.3143, allocations: 16 kB / 468.9 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006993/0.3213, allocations: 4.939 MB / 473.9 MB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3213, allocations: 0 / 473.9 MB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003613/0.325, allocations: 1.435 MB / 475.3 MB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004596/0.3254, allocations: 171.3 kB / 475.5 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.3255, allocations: 23.94 kB / 475.5 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006713/0.3262, allocations: 47.95 kB / 475.5 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/0.3264, allocations: 64.53 kB / 475.6 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-05/0.3264, allocations: 19.98 kB / 475.6 MB, free: 8.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005673/0.327, allocations: 443.1 kB / 476.1 MB, free: 8.074 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.327, allocations: 0 / 476.1 MB, free: 8.074 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009169/0.3279, allocations: 295.7 kB / 476.4 MB, free: 7.785 MB / 382.1 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.0001996/0.3281, allocations: 127.1 kB / 476.5 MB, free: 7.652 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002604/0.3307, allocations: 1.423 MB / 477.9 MB, free: 6.121 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.3307, allocations: 0 / 477.9 MB, free: 6.121 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001558/0.3323, allocations: 0.7535 MB / 478.7 MB, free: 5.332 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.3334, allocations: 231 kB / 478.9 MB, free: 5.105 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003054/0.3364, allocations: 1.681 MB / 480.6 MB, free: 3.391 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.3368, allocations: 362.7 kB / 480.9 MB, free: 3.012 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000415/0.3372, allocations: 102.3 kB / 481 MB, free: 2.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/0.3374, allocations: 67.42 kB / 481.1 MB, free: 2.844 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3374, allocations: 0 / 481.1 MB, free: 2.844 MB / 382.1 MB Notification: Performance of Templates: time 0.03337/0.3708, allocations: 20.71 MB / 0.49 GB, free: 14.53 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 480] 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.3386828186921775]