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.001502/0.001502, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001835/0.001835, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.481/1.481, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.001596/0.001596, allocations: 43.92 kB / 378.3 MB, free: 2.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2422, allocations: 53.35 MB / 431.6 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006529/0.2487, allocations: 5.261 MB / 436.9 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002226/0.2509, allocations: 1.371 MB / 438.3 MB, free: 252 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002513/0.2512, allocations: 15.88 kB / 438.3 MB, free: 236 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004126/0.2516, allocations: 170.5 kB / 438.4 MB, free: 64 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006227/0.2522, allocations: 345.2 kB / 438.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004439/0.2526, allocations: 243.6 kB / 439 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001337/0.254, allocations: 1.23 MB / 440.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000411/0.2544, allocations: 244.2 kB / 440.5 MB, free: 14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005159/0.2549, allocations: 478.4 kB / 440.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006784/0.2556, allocations: 0.5369 MB / 441.5 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.2557, allocations: 108 kB / 441.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.2559, allocations: 112 kB / 441.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002045/0.2561, allocations: 227.2 kB / 441.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005432/0.2567, allocations: 0.5483 MB / 442.5 MB, free: 12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.258, allocations: 1.257 MB / 443.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.258, allocations: 0 / 443.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.258, allocations: 0 / 443.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.258, allocations: 0 / 443.7 MB, free: 10.74 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.002685/0.2607, allocations: 1.343 MB / 445.1 MB, free: 9.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.281e-05/0.2607, allocations: 8.031 kB / 445.1 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002322/0.261, allocations: 116.3 kB / 445.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.2622, allocations: 0.5468 MB / 445.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000299/0.2625, allocations: 297.2 kB / 446 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.2626, allocations: 64.38 kB / 446.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.2641, allocations: 0.8869 MB / 447 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.2642, allocations: 0 / 447 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.11e-05/0.2642, allocations: 28 kB / 447 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.2642, allocations: 16 kB / 447 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/0.2658, allocations: 0.6297 MB / 447.6 MB, free: 6.582 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.003696/0.2694, allocations: 2.136 MB / 449.8 MB, free: 4.352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/0.2712, allocations: 0.7235 MB / 450.5 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008538/0.272, allocations: 371.2 kB / 450.9 MB, free: 3.254 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.237e-05/0.2721, allocations: 20.62 kB / 450.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.652e-05/0.2722, allocations: 55.16 kB / 450.9 MB, free: 3.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.184e-06/0.2722, allocations: 0 / 450.9 MB, free: 3.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.005269/0.2774, allocations: 1.531 MB / 452.5 MB, free: 1.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004864/0.2779, allocations: 0.8251 MB / 453.3 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008947/0.2788, allocations: 0.6608 MB / 454 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.922e-05/0.2789, allocations: 45.7 kB / 454 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003153/0.2792, allocations: 357.4 kB / 454.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/0.2795, allocations: 285.5 kB / 454.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002606/0.2797, allocations: 146.7 kB / 454.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.2799, allocations: 334 kB / 455.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007071/0.2806, allocations: 277.8 kB / 455.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.2816, allocations: 0.5663 MB / 455.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.2831, allocations: 0.709 MB / 456.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2831, allocations: 4 kB / 456.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002823/0.2859, allocations: 1.122 MB / 457.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.077e-05/0.286, allocations: 81.11 kB / 457.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.286, allocations: 4 kB / 457.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007249/0.2867, allocations: 235.2 kB / 458.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007059/0.2874, allocations: 143.8 kB / 458.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008432/0.2959, allocations: 6.531 MB / 464.8 MB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008703/0.2967, allocations: 111.4 kB / 464.9 MB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.859e-05/0.2968, allocations: 23.98 kB / 464.9 MB, free: 4.32 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.0003935/0.2972, allocations: 223.6 kB / 465.1 MB, free: 4.094 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.2974, allocations: 95.42 kB / 465.2 MB, free: 4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002007/0.2976, allocations: 96.52 kB / 465.3 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.2976, allocations: 12 kB / 465.3 MB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2976, allocations: 0 / 465.3 MB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002708/0.3003, allocations: 1.26 MB / 466.6 MB, free: 2.512 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004125/0.3044, allocations: 1.958 MB / 468.5 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3044, allocations: 0 / 468.5 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007519/0.3052, allocations: 147.8 kB / 468.7 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005756/0.3057, allocations: 190.6 kB / 468.9 MB, free: 156 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.942e-05/0.3058, allocations: 23.98 kB / 468.9 MB, free: 132 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006852/0.3126, allocations: 5.043 MB / 473.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3126, allocations: 0 / 473.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003495/0.3161, allocations: 1.439 MB / 475.4 MB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003979/0.3165, allocations: 171.2 kB / 475.5 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.3167, allocations: 20 kB / 475.5 MB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006786/0.3173, allocations: 51.89 kB / 475.6 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/0.3175, allocations: 76.52 kB / 475.7 MB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.14e-05/0.3176, allocations: 16 kB / 475.7 MB, free: 8.953 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000638/0.3182, allocations: 479 kB / 476.2 MB, free: 8.492 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3182, allocations: 0 / 476.2 MB, free: 8.492 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008705/0.3191, allocations: 287.8 kB / 476.4 MB, free: 8.211 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.0001722/0.3192, allocations: 127.1 kB / 476.6 MB, free: 8.078 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002364/0.3216, allocations: 1.344 MB / 477.9 MB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.3216, allocations: 4 kB / 477.9 MB, free: 6.641 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001458/0.3231, allocations: 0.7535 MB / 478.7 MB, free: 5.848 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.3241, allocations: 246.1 kB / 478.9 MB, free: 5.609 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002971/0.327, allocations: 1.689 MB / 480.6 MB, free: 3.891 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005979/0.3276, allocations: 0.9598 MB / 481.6 MB, free: 2.906 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003931/0.328, allocations: 110.7 kB / 481.7 MB, free: 2.793 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.3282, allocations: 67.44 kB / 481.7 MB, free: 2.727 MB / 382.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3282, allocations: 0 / 481.7 MB, free: 2.727 MB / 382.1 MB Notification: Performance of Templates: time 0.03347/0.3617, allocations: 19.51 MB / 0.4895 GB, free: 15.49 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.3964849431067705]