Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.001595/0.001595, allocations: 112.2 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.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.001722/0.001722, allocations: 180.8 kB / 23.71 MB, free: 4.695 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.481/1.481, allocations: 225.6 MB / 252.5 MB, free: 12.99 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.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut")
translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 47.92 kB / 370.9 MB, free: 9.332 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2431, allocations: 52.19 MB / 423.1 MB, free: 14.66 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005233/0.2484, allocations: 3.789 MB / 426.9 MB, free: 10.85 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001771/0.2501, allocations: 0.993 MB / 427.9 MB, free: 9.848 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002009/0.2503, allocations: 11.94 kB / 427.9 MB, free: 9.836 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003142/0.2506, allocations: 115 kB / 428 MB, free: 9.723 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000399/0.251, allocations: 206.3 kB / 428.2 MB, free: 9.52 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002839/0.2513, allocations: 139.8 kB / 428.4 MB, free: 9.383 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0007709/0.2521, allocations: 0.7078 MB / 429.1 MB, free: 8.676 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002487/0.2524, allocations: 147 kB / 429.2 MB, free: 8.531 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003036/0.2527, allocations: 267 kB / 429.5 MB, free: 8.27 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000362/0.253, allocations: 310.6 kB / 429.8 MB, free: 7.965 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 9.439e-05/0.2531, allocations: 60 kB / 429.8 MB, free: 7.906 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.2532, allocations: 60 kB / 429.9 MB, free: 7.848 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.2533, allocations: 131.6 kB / 430 MB, free: 7.719 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000326/0.2537, allocations: 326.4 kB / 430.3 MB, free: 7.398 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0007875/0.2545, allocations: 0.7134 MB / 431.1 MB, free: 6.688 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2545, allocations: 3.938 kB / 431.1 MB, free: 6.684 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.443e-06/0.2545, allocations: 0 / 431.1 MB, free: 6.684 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 8.366e-06/0.2545, allocations: 0 / 431.1 MB, free: 6.684 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: 85
 * Number of variables: 85
Notification: Performance of Generate backend data structure: time 0.001638/0.2561, allocations: 0.8724 MB / 431.9 MB, free: 5.773 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.2561, allocations: 8.031 kB / 431.9 MB, free: 5.766 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.2563, allocations: 68.56 kB / 432 MB, free: 5.699 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007742/0.2571, allocations: 377.3 kB / 432.4 MB, free: 5.305 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.2572, allocations: 63.25 kB / 432.4 MB, free: 5.234 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.859e-05/0.2572, allocations: 36.38 kB / 432.5 MB, free: 5.199 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009503/0.2582, allocations: 0.5021 MB / 433 MB, free: 4.641 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.2582, allocations: 0 / 433 MB, free: 4.641 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.501e-05/0.2582, allocations: 20 kB / 433 MB, free: 4.621 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.2583, allocations: 12 kB / 433 MB, free: 4.609 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009256/0.2592, allocations: 351.8 kB / 433.4 MB, free: 4.266 MB / 334.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.002251/0.2614, allocations: 1.297 MB / 434.6 MB, free: 2.879 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0009174/0.2624, allocations: 362.2 kB / 435 MB, free: 2.516 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004407/0.2628, allocations: 180.8 kB / 435.2 MB, free: 2.336 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.2628, allocations: 11.92 kB / 435.2 MB, free: 2.324 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.479e-05/0.2629, allocations: 46.5 kB / 435.2 MB, free: 2.27 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=37): time 1.452e-06/0.2629, allocations: 0 / 435.2 MB, free: 2.27 MB / 334.1 MB
Notification: Performance of matching and sorting (n=37): time 0.001694/0.2646, allocations: 0.5903 MB / 435.8 MB, free: 1.668 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.000247/0.2648, allocations: 441 kB / 436.3 MB, free: 1.133 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000579/0.2654, allocations: 486 kB / 436.7 MB, free: 0.6445 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.743e-05/0.2654, allocations: 41.64 kB / 436.8 MB, free: 0.5977 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.2657, allocations: 248.6 kB / 437 MB, free: 360 kB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.2658, allocations: 138.8 kB / 437.1 MB, free: 220 kB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.2659, allocations: 73.69 kB / 437.2 MB, free: 140 kB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001984/0.2661, allocations: 362.8 kB / 437.6 MB, free: 15.77 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004115/0.2665, allocations: 135.9 kB / 437.7 MB, free: 15.64 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005467/0.2671, allocations: 298.4 kB / 438 MB, free: 15.3 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0008215/0.2679, allocations: 347 kB / 438.3 MB, free: 14.95 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2679, allocations: 0 / 438.3 MB, free: 14.95 MB / 350.1 MB
Notification: Performance of matching and sorting (n=43) (initialization): time 0.001101/0.269, allocations: 0.4884 MB / 438.8 MB, free: 14.44 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.904e-05/0.269, allocations: 37.7 kB / 438.9 MB, free: 14.39 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.269, allocations: 0 / 438.9 MB, free: 14.39 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001683/0.2692, allocations: 41.7 kB / 438.9 MB, free: 14.35 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000432/0.2696, allocations: 91.91 kB / 439 MB, free: 14.26 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002768/0.2724, allocations: 2.767 MB / 441.8 MB, free: 11.27 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004434/0.2729, allocations: 55.7 kB / 441.8 MB, free: 11.21 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.2729, allocations: 8 kB / 441.8 MB, free: 11.2 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * 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 (39):
 * Single equations (assignments): 36
 * Array equations: 0
 * Algorithm blocks: 1
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * 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): 2 systems
   {(3,1), (1,1)}
Notification: Performance of prepare postOptimizeDAE: time 0.0002329/0.2731, allocations: 169.8 kB / 442 MB, free: 11.03 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.723e-05/0.2732, allocations: 63.61 kB / 442.1 MB, free: 10.96 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.2733, allocations: 56.92 kB / 442.1 MB, free: 10.91 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.403e-06/0.2733, allocations: 8 kB / 442.1 MB, free: 10.9 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2733, allocations: 3.938 kB / 442.1 MB, free: 10.89 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001117/0.2745, allocations: 0.7425 MB / 442.9 MB, free: 10.05 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001804/0.2763, allocations: 1.008 MB / 443.9 MB, free: 8.98 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.2763, allocations: 3.938 kB / 443.9 MB, free: 8.977 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004822/0.2767, allocations: 91.88 kB / 444 MB, free: 8.887 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.2768, allocations: 8 kB / 444 MB, free: 8.879 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.2768, allocations: 4 kB / 444 MB, free: 8.875 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2768, allocations: 0 / 444 MB, free: 8.875 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2768, allocations: 4 kB / 444 MB, free: 8.871 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.2782, allocations: 0.6765 MB / 444.7 MB, free: 8.176 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/0.2784, allocations: 95.52 kB / 444.7 MB, free: 8.082 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.303e-05/0.2785, allocations: 12 kB / 444.8 MB, free: 8.07 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004018/0.2789, allocations: 27.97 kB / 444.8 MB, free: 8.043 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.375e-05/0.2789, allocations: 27.89 kB / 444.8 MB, free: 8.016 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.279, allocations: 8 kB / 444.8 MB, free: 8.008 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0004206/0.2794, allocations: 350.9 kB / 445.2 MB, free: 7.668 MB / 350.1 MB
Notification: Performance of sort global known variables: time 1.11e-07/0.2794, allocations: 3.938 kB / 445.2 MB, free: 7.664 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0004632/0.2798, allocations: 139.9 kB / 445.3 MB, free: 7.527 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 2 (pipe.T,heatCapacitor.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 (37):
 * Single equations (assignments): 37
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.000139/0.28, allocations: 103.2 kB / 445.4 MB, free: 7.418 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.001299/0.2813, allocations: 0.6487 MB / 446.1 MB, free: 6.73 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.2813, allocations: 4 kB / 446.1 MB, free: 6.727 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000439/0.2817, allocations: 167.8 kB / 446.2 MB, free: 6.562 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006783/0.2824, allocations: 153.9 kB / 446.4 MB, free: 6.41 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.2841, allocations: 0.9584 MB / 447.3 MB, free: 5.422 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000486/0.2846, allocations: 0.8354 MB / 448.2 MB, free: 4.559 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0002482/0.2848, allocations: 64.52 kB / 448.2 MB, free: 4.492 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.285, allocations: 47.44 kB / 448.3 MB, free: 4.445 MB / 350.1 MB
Notification: Performance of SimCode: time 4.31e-07/0.285, allocations: 0 / 448.3 MB, free: 4.445 MB / 350.1 MB
Notification: Performance of Templates: time 0.01644/0.3014, allocations: 9.35 MB / 457.6 MB, free: 11.25 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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: 4.781029207631946]