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.001357/0.001357, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 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.001395/0.001395, allocations: 194.9 kB / 23.71 MB, free: 4.406 MB / 14.72 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 1.463/1.463, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001576/0.001576, allocations: 47.92 kB / 370.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.243, allocations: 52.18 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006431/0.2495, allocations: 4.653 MB / 427.7 MB, free: 9.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002508/0.252, allocations: 1.285 MB / 429 MB, free: 8.496 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002966/0.2523, allocations: 15.88 kB / 429 MB, free: 8.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004324/0.2527, allocations: 158.6 kB / 429.2 MB, free: 8.324 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000673/0.2534, allocations: 349.1 kB / 429.5 MB, free: 7.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004699/0.2539, allocations: 243.6 kB / 429.7 MB, free: 7.742 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001377/0.2552, allocations: 1.238 MB / 431 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004024/0.2556, allocations: 222.7 kB / 431.2 MB, free: 6.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005617/0.2562, allocations: 486.3 kB / 431.7 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006259/0.2568, allocations: 465.8 kB / 432.1 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001746/0.257, allocations: 112 kB / 432.2 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002085/0.2572, allocations: 112 kB / 432.4 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.2574, allocations: 227.2 kB / 432.6 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004968/0.2579, allocations: 478 kB / 433 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.2593, allocations: 1.259 MB / 434.3 MB, free: 3.164 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.2593, allocations: 3.984 kB / 434.3 MB, free: 3.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2593, allocations: 0 / 434.3 MB, free: 3.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.777e-05/0.2593, allocations: 0 / 434.3 MB, free: 3.16 MB / 334.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.002609/0.2619, allocations: 1.335 MB / 435.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.2619, allocations: 16.02 kB / 435.7 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.2621, allocations: 116.3 kB / 435.8 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.2632, allocations: 0.5428 MB / 436.3 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000304/0.2635, allocations: 305.2 kB / 436.6 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.2637, allocations: 60.38 kB / 436.7 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.2657, allocations: 1.655 MB / 438.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.2657, allocations: 4 kB / 438.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-05/0.2658, allocations: 28 kB / 438.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.2658, allocations: 16 kB / 438.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.2674, allocations: 0.618 MB / 439 MB, free: 14.05 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.003403/0.2708, allocations: 1.616 MB / 440.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/0.2725, allocations: 0.7301 MB / 441.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008716/0.2734, allocations: 371.3 kB / 441.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.217e-05/0.2734, allocations: 12.66 kB / 441.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/0.2735, allocations: 51.22 kB / 441.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.374e-06/0.2735, allocations: 0 / 441.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.005302/0.2788, allocations: 1.523 MB / 443.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004841/0.2793, allocations: 0.8234 MB / 444.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008068/0.2801, allocations: 0.6174 MB / 444.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.911e-05/0.2802, allocations: 45.7 kB / 444.8 MB, free: 8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003239/0.2805, allocations: 357.2 kB / 445.1 MB, free: 7.648 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002604/0.2807, allocations: 285.5 kB / 445.4 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002662/0.281, allocations: 142.7 kB / 445.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.2812, allocations: 394.7 kB / 445.9 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007957/0.282, allocations: 363 kB / 446.3 MB, free: 6.453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/0.2835, allocations: 1.395 MB / 447.7 MB, free: 4.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.2851, allocations: 0.7051 MB / 448.4 MB, free: 4.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.2851, allocations: 3.938 kB / 448.4 MB, free: 4.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002953/0.288, allocations: 1.197 MB / 449.6 MB, free: 2.762 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.257e-05/0.2881, allocations: 85.11 kB / 449.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2881, allocations: 4 kB / 449.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007324/0.2888, allocations: 227.3 kB / 449.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007116/0.2896, allocations: 155.8 kB / 450 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008695/0.2982, allocations: 6.395 MB / 456.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008771/0.2991, allocations: 99.73 kB / 456.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.305e-05/0.2992, allocations: 23.98 kB / 456.6 MB, free: 11.34 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.0003793/0.2996, allocations: 225.7 kB / 456.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.2997, allocations: 87.48 kB / 456.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000196/0.2999, allocations: 92.31 kB / 456.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.2999, allocations: 11.98 kB / 457 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.2999, allocations: 3.938 kB / 457 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002757/0.3027, allocations: 1.253 MB / 458.2 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004104/0.3068, allocations: 1.717 MB / 459.9 MB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3068, allocations: 0 / 459.9 MB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008631/0.3077, allocations: 163.7 kB / 460.1 MB, free: 7.617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006254/0.3083, allocations: 190.4 kB / 460.3 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.558e-05/0.3083, allocations: 16 kB / 460.3 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007149/0.3155, allocations: 4.936 MB / 465.2 MB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.3155, allocations: 3.984 kB / 465.2 MB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00367/0.3192, allocations: 1.427 MB / 466.7 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004274/0.3196, allocations: 167.3 kB / 466.8 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.3197, allocations: 23.94 kB / 466.8 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006716/0.3204, allocations: 51.89 kB / 466.9 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.3206, allocations: 68.53 kB / 467 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.572e-05/0.3206, allocations: 28.05 kB / 467 MB, free: 384 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006034/0.3212, allocations: 443.1 kB / 467.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3212, allocations: 0 / 467.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009096/0.3221, allocations: 295.7 kB / 467.7 MB, free: 15.66 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.0001892/0.3223, allocations: 127.2 kB / 467.8 MB, free: 15.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002491/0.3248, allocations: 1.423 MB / 469.3 MB, free: 14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.3248, allocations: 0 / 469.3 MB, free: 14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001498/0.3263, allocations: 0.7535 MB / 470 MB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009789/0.3273, allocations: 230.8 kB / 470.2 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003038/0.3303, allocations: 1.678 MB / 471.9 MB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.3307, allocations: 358.7 kB / 472.3 MB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004299/0.3312, allocations: 106.3 kB / 472.4 MB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.3313, allocations: 63.44 kB / 472.4 MB, free: 10.73 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3313, allocations: 0 / 472.4 MB, free: 10.73 MB / 382.1 MB Notification: Performance of Templates: time 0.03412/0.3655, allocations: 20.5 MB / 492.9 MB, free: 6.617 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.297103563323617]