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.001653/0.001653, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001895/0.001895, allocations: 211.3 kB / 23.73 MB, free: 4.387 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.448/1.448, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.001537/0.001537, allocations: 51.92 kB / 378.2 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2284, allocations: 53.37 MB / 431.6 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006598/0.235, allocations: 4.658 MB / 436.2 MB, free: 2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00251/0.2375, allocations: 1.315 MB / 437.6 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004381/0.2379, allocations: 15.88 kB / 437.6 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004632/0.2384, allocations: 166.5 kB / 437.7 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007623/0.2392, allocations: 353.1 kB / 438.1 MB, free: 156 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005471/0.2397, allocations: 243.7 kB / 438.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001358/0.2411, allocations: 1.221 MB / 439.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000389/0.2415, allocations: 226.7 kB / 439.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005351/0.242, allocations: 482.3 kB / 440.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006644/0.2427, allocations: 465.8 kB / 440.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001894/0.2428, allocations: 108 kB / 440.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.243, allocations: 119.9 kB / 440.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.2433, allocations: 239.2 kB / 441.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004794/0.2437, allocations: 462 kB / 441.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.245, allocations: 1.268 MB / 442.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.245, allocations: 4 kB / 442.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.245, allocations: 0 / 442.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.2451, allocations: 0 / 442.9 MB, free: 11.34 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.002625/0.2477, allocations: 1.339 MB / 444.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.2477, allocations: 8.031 kB / 444.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001932/0.2479, allocations: 116.3 kB / 444.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.249, allocations: 0.5468 MB / 444.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003341/0.2493, allocations: 301.1 kB / 445.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.2494, allocations: 64.38 kB / 445.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002056/0.2515, allocations: 1.64 MB / 446.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.2515, allocations: 0 / 446.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.206e-05/0.2516, allocations: 28 kB / 446.9 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.2516, allocations: 20 kB / 446.9 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001517/0.2531, allocations: 0.6141 MB / 447.5 MB, free: 6.254 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.003484/0.2566, allocations: 1.624 MB / 449.1 MB, free: 4.598 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.2583, allocations: 0.7304 MB / 449.9 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008512/0.2592, allocations: 385.3 kB / 450.3 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.409e-05/0.2592, allocations: 12.64 kB / 450.3 MB, free: 3.473 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.2593, allocations: 47.22 kB / 450.3 MB, free: 3.414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.364e-06/0.2593, allocations: 0 / 450.3 MB, free: 3.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.005058/0.2643, allocations: 1.519 MB / 451.8 MB, free: 1.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004744/0.2648, allocations: 0.8234 MB / 452.7 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008106/0.2656, allocations: 0.6213 MB / 453.3 MB, free: 236 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.538e-05/0.2657, allocations: 45.7 kB / 453.3 MB, free: 184 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003341/0.266, allocations: 349.3 kB / 453.7 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002491/0.2663, allocations: 285.5 kB / 453.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002545/0.2665, allocations: 154.6 kB / 454.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.2667, allocations: 382.8 kB / 454.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000753/0.2675, allocations: 359 kB / 454.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001466/0.269, allocations: 1.402 MB / 456.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.2705, allocations: 0.7051 MB / 456.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2705, allocations: 0 / 456.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002871/0.2734, allocations: 1.194 MB / 458.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7e-05/0.2734, allocations: 90.97 kB / 458.2 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.2734, allocations: 3.984 kB / 458.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007418/0.2742, allocations: 235.3 kB / 458.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006938/0.2749, allocations: 147.8 kB / 458.6 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008502/0.2834, allocations: 6.4 MB / 465 MB, free: 3.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.2844, allocations: 99.59 kB / 465.1 MB, free: 3.547 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.2845, allocations: 24 kB / 465.1 MB, free: 3.523 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.0004819/0.285, allocations: 217.7 kB / 465.3 MB, free: 3.301 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/0.2852, allocations: 91.48 kB / 465.4 MB, free: 3.211 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/0.2854, allocations: 96.06 kB / 465.5 MB, free: 3.109 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.2855, allocations: 12 kB / 465.5 MB, free: 3.098 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.2855, allocations: 3.938 kB / 465.5 MB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002729/0.2882, allocations: 1.245 MB / 466.8 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004211/0.2924, allocations: 1.725 MB / 468.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.2924, allocations: 7.984 kB / 468.5 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000732/0.2931, allocations: 147.8 kB / 468.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005941/0.2937, allocations: 194.5 kB / 468.8 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-05/0.2938, allocations: 19.98 kB / 468.8 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006917/0.3007, allocations: 4.935 MB / 473.8 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3007, allocations: 0 / 473.8 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003534/0.3042, allocations: 1.439 MB / 475.2 MB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004355/0.3047, allocations: 167.2 kB / 475.4 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.3048, allocations: 23.94 kB / 475.4 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006785/0.3055, allocations: 55.94 kB / 475.5 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/0.3057, allocations: 64.53 kB / 475.5 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.467e-05/0.3057, allocations: 20 kB / 475.5 MB, free: 8.559 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006123/0.3063, allocations: 439.1 kB / 476 MB, free: 8.137 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3063, allocations: 0 / 476 MB, free: 8.137 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009077/0.3072, allocations: 295.7 kB / 476.3 MB, free: 7.848 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.0001837/0.3074, allocations: 119.3 kB / 476.4 MB, free: 7.723 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002525/0.31, allocations: 1.431 MB / 477.8 MB, free: 6.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.31, allocations: 0 / 477.8 MB, free: 6.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001485/0.3114, allocations: 0.7535 MB / 478.6 MB, free: 5.391 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009918/0.3124, allocations: 234.8 kB / 478.8 MB, free: 5.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00313/0.3156, allocations: 1.684 MB / 480.5 MB, free: 3.445 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.316, allocations: 358.7 kB / 480.8 MB, free: 3.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000437/0.3164, allocations: 98.3 kB / 480.9 MB, free: 2.973 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.3166, allocations: 67.44 kB / 481 MB, free: 2.906 MB / 382.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3166, allocations: 4 kB / 481 MB, free: 2.902 MB / 382.1 MB Notification: Performance of Templates: time 0.03445/0.3511, allocations: 20.51 MB / 0.4898 GB, free: 14.79 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.294250367209315]