Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001815/0.001815, allocations: 106.2 kB / 19.8 MB, free: 2.496 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.002343/0.002343, allocations: 217 kB / 22.99 MB, free: 5.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 230.2 MB / 256.2 MB, free: 8.559 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 63.88 kB / 376.5 MB, free: 3.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2277, allocations: 53.34 MB / 429.8 MB, free: 7.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006419/0.2342, allocations: 4.876 MB / 434.7 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002338/0.2365, allocations: 1.399 MB / 436.1 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000228/0.2367, allocations: 4 kB / 436.1 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003932/0.2371, allocations: 158.7 kB / 436.2 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006267/0.2378, allocations: 349.3 kB / 436.6 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000408/0.2382, allocations: 215.6 kB / 436.8 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001053/0.2392, allocations: 1.019 MB / 437.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003336/0.2395, allocations: 205.8 kB / 438 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005007/0.24, allocations: 414.5 kB / 438.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005177/0.2406, allocations: 446.1 kB / 438.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.2407, allocations: 88 kB / 438.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.2408, allocations: 92 kB / 439 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.241, allocations: 199.3 kB / 439.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000449/0.2415, allocations: 477.8 kB / 439.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.2427, allocations: 1.077 MB / 440.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2427, allocations: 0 / 440.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2427, allocations: 3.938 kB / 440.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.2427, allocations: 0 / 440.8 MB, free: 12.52 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.002208/0.2449, allocations: 1.251 MB / 442 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.245, allocations: 8.031 kB / 442 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.2451, allocations: 100.4 kB / 442.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007918/0.2459, allocations: 0.5165 MB / 442.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/0.2461, allocations: 109.3 kB / 442.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.883e-05/0.2461, allocations: 48.38 kB / 442.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.2475, allocations: 0.7927 MB / 443.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.2476, allocations: 0 / 443.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.713e-05/0.2476, allocations: 28 kB / 443.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.2476, allocations: 12 kB / 443.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.2489, allocations: 0.4997 MB / 444.1 MB, free: 8.938 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.003432/0.2523, allocations: 2.166 MB / 446.3 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.2536, allocations: 493.9 kB / 446.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005694/0.2542, allocations: 238.3 kB / 447 MB, free: 5.898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.116e-05/0.2542, allocations: 9.656 kB / 447 MB, free: 5.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007709/0.255, allocations: 327 kB / 447.3 MB, free: 5.562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.004e-06/0.255, allocations: 0 / 447.3 MB, free: 5.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.005229/0.2602, allocations: 1.478 MB / 448.8 MB, free: 4.035 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004962/0.2607, allocations: 0.8272 MB / 449.6 MB, free: 3.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007716/0.2615, allocations: 0.5901 MB / 450.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.938e-05/0.2616, allocations: 45.7 kB / 450.3 MB, free: 2.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002937/0.2619, allocations: 333.2 kB / 450.6 MB, free: 2.027 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.262, allocations: 198.3 kB / 450.8 MB, free: 1.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.2623, allocations: 134.2 kB / 450.9 MB, free: 1.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.2625, allocations: 378.8 kB / 451.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005726/0.263, allocations: 213 kB / 451.5 MB, free: 1.105 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008666/0.2639, allocations: 0.5208 MB / 452 MB, free: 476 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.2651, allocations: 0.5615 MB / 452.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2651, allocations: 0 / 452.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00235/0.2675, allocations: 0.9016 MB / 453.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.924e-05/0.2676, allocations: 67.33 kB / 453.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.2676, allocations: 0 / 453.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007737/0.2683, allocations: 221.5 kB / 453.8 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006417/0.269, allocations: 111.8 kB / 453.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007037/0.276, allocations: 4.596 MB / 458.5 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007346/0.2767, allocations: 91.56 kB / 458.6 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.948e-05/0.2768, allocations: 24 kB / 458.6 MB, free: 9.539 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.0003299/0.2771, allocations: 213.8 kB / 458.8 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.2772, allocations: 79.53 kB / 458.9 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001481/0.2774, allocations: 78.84 kB / 458.9 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/0.2774, allocations: 15.94 kB / 459 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2774, allocations: 0 / 459 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002133/0.2795, allocations: 1.046 MB / 460 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002919/0.2825, allocations: 1.52 MB / 461.5 MB, free: 6.395 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.2825, allocations: 7.984 kB / 461.5 MB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006518/0.2831, allocations: 107.9 kB / 461.6 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005499/0.2837, allocations: 173.9 kB / 461.8 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.726e-05/0.2837, allocations: 11.98 kB / 461.8 MB, free: 6.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005426/0.2891, allocations: 3.948 MB / 465.8 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2891, allocations: 0 / 465.8 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002319/0.2914, allocations: 1.024 MB / 466.8 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003195/0.2918, allocations: 216.4 kB / 467 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.2919, allocations: 16 kB / 467 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005721/0.2924, allocations: 52.02 kB / 467.1 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.2926, allocations: 48.48 kB / 467.1 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.538e-05/0.2926, allocations: 12 kB / 467.1 MB, free: 472 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005341/0.2932, allocations: 423.1 kB / 467.5 MB, free: 52 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2932, allocations: 0 / 467.5 MB, free: 52 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008221/0.294, allocations: 251.8 kB / 467.8 MB, free: 15.8 MB / 382.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.0001699/0.2942, allocations: 119.2 kB / 467.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002028/0.2962, allocations: 0.9954 MB / 468.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.2962, allocations: 0 / 468.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009609/0.2971, allocations: 0.5281 MB / 469.4 MB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000865/0.298, allocations: 211 kB / 469.6 MB, free: 13.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002579/0.3006, allocations: 1.316 MB / 471 MB, free: 12.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005604/0.3011, allocations: 0.9122 MB / 471.9 MB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000325/0.3015, allocations: 85.2 kB / 471.9 MB, free: 11.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.3016, allocations: 59.42 kB / 472 MB, free: 11.45 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3016, allocations: 0 / 472 MB, free: 11.45 MB / 382.1 MB Notification: Performance of Templates: time 0.02795/0.3296, allocations: 16.72 MB / 488.7 MB, free: 10.97 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.12931012455374]