Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001777/0.001777, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001784/0.001784, allocations: 212 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.434/1.434, allocations: 230.6 MB / 258.2 MB, free: 8.055 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-beta.om/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump")
translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 60.77 kB / 379 MB, free: 2.66 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.23, allocations: 53.37 MB / 432.4 MB, free: 6.973 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006203/0.2362, allocations: 4.888 MB / 437.3 MB, free: 2.07 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002337/0.2386, allocations: 1.404 MB / 438.7 MB, free: 0.6602 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000212/0.2388, allocations: 11.94 kB / 438.7 MB, free: 0.6484 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003489/0.2391, allocations: 154.7 kB / 438.9 MB, free: 0.4961 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0006055/0.2397, allocations: 341.4 kB / 439.2 MB, free: 164 kB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.2401, allocations: 219.7 kB / 439.4 MB, free: 15.94 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001107/0.2412, allocations: 1.031 MB / 440.4 MB, free: 14.91 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003311/0.2416, allocations: 206.4 kB / 440.6 MB, free: 14.7 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005214/0.2421, allocations: 418.6 kB / 441 MB, free: 14.29 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0005369/0.2426, allocations: 454.1 kB / 441.5 MB, free: 13.84 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001373/0.2428, allocations: 91.94 kB / 441.6 MB, free: 13.75 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.2429, allocations: 88 kB / 441.7 MB, free: 13.67 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000179/0.2431, allocations: 195.3 kB / 441.9 MB, free: 13.48 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0004349/0.2435, allocations: 473.9 kB / 442.3 MB, free: 13.01 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001081/0.2446, allocations: 1.085 MB / 443.4 MB, free: 11.93 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2446, allocations: 0 / 443.4 MB, free: 11.93 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.112e-06/0.2446, allocations: 4 kB / 443.4 MB, free: 11.92 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 1.009e-05/0.2446, allocations: 0 / 443.4 MB, free: 11.92 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: 127
 * Number of variables: 127
Notification: Performance of Generate backend data structure: time 0.002169/0.2468, allocations: 1.168 MB / 444.6 MB, free: 10.71 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.2468, allocations: 8.031 kB / 444.6 MB, free: 10.7 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.247, allocations: 108.3 kB / 444.7 MB, free: 10.59 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007968/0.2478, allocations: 471 kB / 445.1 MB, free: 10.11 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.2479, allocations: 105.2 kB / 445.3 MB, free: 9.992 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.92e-05/0.248, allocations: 48.38 kB / 445.3 MB, free: 9.945 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.2494, allocations: 0.7888 MB / 446.1 MB, free: 9.051 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.2494, allocations: 4 kB / 446.1 MB, free: 9.047 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.208e-05/0.2495, allocations: 28 kB / 446.1 MB, free: 9.02 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.2495, allocations: 12 kB / 446.1 MB, free: 9.008 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.2507, allocations: 0.4997 MB / 446.6 MB, free: 8.508 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.003315/0.254, allocations: 2.077 MB / 448.7 MB, free: 6.309 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001265/0.2553, allocations: 0.4899 MB / 449.2 MB, free: 5.801 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005663/0.2559, allocations: 234.2 kB / 449.4 MB, free: 5.57 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.43e-05/0.2559, allocations: 13.58 kB / 449.4 MB, free: 5.559 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007221/0.2566, allocations: 322.2 kB / 449.8 MB, free: 5.23 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=56): time 1.954e-06/0.2566, allocations: 3.938 kB / 449.8 MB, free: 5.227 MB / 350.1 MB
Notification: Performance of matching and sorting (n=56): time 0.004885/0.2615, allocations: 1.329 MB / 451.1 MB, free: 3.887 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004588/0.262, allocations: 0.8232 MB / 451.9 MB, free: 2.867 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007383/0.2627, allocations: 0.5901 MB / 452.5 MB, free: 2.266 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 6.132e-05/0.2628, allocations: 41.7 kB / 452.5 MB, free: 2.219 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002768/0.2631, allocations: 337.2 kB / 452.9 MB, free: 1.883 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.2632, allocations: 202.3 kB / 453.1 MB, free: 1.684 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.2634, allocations: 134.3 kB / 453.2 MB, free: 1.547 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001872/0.2636, allocations: 374.8 kB / 453.6 MB, free: 1.172 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000561/0.2642, allocations: 213.2 kB / 453.8 MB, free: 0.9648 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000871/0.2651, allocations: 0.5177 MB / 454.3 MB, free: 336 kB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.2663, allocations: 0.5564 MB / 454.8 MB, free: 15.72 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.2663, allocations: 4 kB / 454.9 MB, free: 15.72 MB / 366.1 MB
Notification: Performance of matching and sorting (n=70) (initialization): time 0.00223/0.2685, allocations: 0.904 MB / 455.8 MB, free: 14.79 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.067e-05/0.2685, allocations: 55.41 kB / 455.8 MB, free: 14.73 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.2686, allocations: 7.984 kB / 455.8 MB, free: 14.72 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0007156/0.2693, allocations: 217.5 kB / 456 MB, free: 14.5 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006155/0.2699, allocations: 115.8 kB / 456.1 MB, free: 14.39 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006851/0.2767, allocations: 4.399 MB / 460.5 MB, free: 9.762 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007142/0.2774, allocations: 83.58 kB / 460.6 MB, free: 9.68 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-05/0.2775, allocations: 20 kB / 460.6 MB, free: 9.66 MB / 366.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 10
 * Number of states: 0 ()
 * Number of discrete variables: 6 (oneWayValve.backward,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (47):
 * Single equations (assignments): 43
 * Array equations: 0
 * Algorithm blocks: 2
 * 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
   {(9,3), (1,11)}
Notification: Performance of prepare postOptimizeDAE: time 0.0003648/0.2779, allocations: 217.7 kB / 460.9 MB, free: 9.438 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.278, allocations: 83.53 kB / 460.9 MB, free: 9.355 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001551/0.2781, allocations: 78.86 kB / 461 MB, free: 9.266 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.2781, allocations: 11.94 kB / 461 MB, free: 9.254 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2781, allocations: 0 / 461 MB, free: 9.254 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002186/0.2803, allocations: 1.045 MB / 462.1 MB, free: 8.098 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002847/0.2832, allocations: 1.498 MB / 463.6 MB, free: 6.535 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.2832, allocations: 0 / 463.6 MB, free: 6.535 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006073/0.2838, allocations: 115.8 kB / 463.7 MB, free: 6.422 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0005451/0.2843, allocations: 169.5 kB / 463.8 MB, free: 6.25 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.853e-05/0.2844, allocations: 19.92 kB / 463.9 MB, free: 6.23 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005228/0.2896, allocations: 3.719 MB / 467.6 MB, free: 2.285 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2896, allocations: 0 / 467.6 MB, free: 2.285 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002402/0.292, allocations: 1.022 MB / 468.6 MB, free: 1.238 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.000315/0.2923, allocations: 151.3 kB / 468.8 MB, free: 1.09 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.489e-05/0.2924, allocations: 12 kB / 468.8 MB, free: 1.078 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000559/0.293, allocations: 48.02 kB / 468.8 MB, free: 1.031 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.2931, allocations: 56.39 kB / 468.9 MB, free: 0.9766 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.574e-05/0.2932, allocations: 16 kB / 468.9 MB, free: 0.9609 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0005263/0.2937, allocations: 419.1 kB / 469.3 MB, free: 0.5547 MB / 366.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.2937, allocations: 0 / 469.3 MB, free: 0.5547 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0007572/0.2944, allocations: 247.8 kB / 469.5 MB, free: 320 kB / 366.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 1 (speed.phi)
 * Number of discrete variables: 4 ($whenCondition1,trapezoid.T_start,trapezoid.count,oneWayValve.backward)
 * Number of discrete states: 1 (trapezoid.count)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (41):
 * Single equations (assignments): 37
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 2
 * 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
   {(2,3), (1,11)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001616/0.2946, allocations: 123.2 kB / 469.7 MB, free: 184 kB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.002027/0.2966, allocations: 0.9901 MB / 470.6 MB, free: 15.14 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2966, allocations: 0 / 470.6 MB, free: 15.14 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0009803/0.2976, allocations: 0.5239 MB / 471.2 MB, free: 14.59 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008326/0.2984, allocations: 214.8 kB / 471.4 MB, free: 14.38 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.3009, allocations: 1.314 MB / 472.7 MB, free: 13.05 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005644/0.3015, allocations: 0.916 MB / 473.6 MB, free: 12.11 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0003042/0.3018, allocations: 81.22 kB / 473.7 MB, free: 12.02 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.3019, allocations: 55.42 kB / 473.7 MB, free: 11.97 MB / 382.1 MB
Notification: Performance of SimCode: time 3.41e-07/0.3019, allocations: 0 / 473.7 MB, free: 11.97 MB / 382.1 MB
Notification: Performance of Templates: time 0.02966/0.3316, allocations: 16.87 MB / 490.6 MB, free: 11.36 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.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.072330300696194]