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.001286/0.001286, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001413/0.001413, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.449/1.449, allocations: 230.3 MB / 258 MB, free: 8.207 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.002774/0.002774, allocations: 67.88 kB / 378.8 MB, free: 2.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2502, allocations: 53.36 MB / 432.1 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006171/0.2563, allocations: 4.899 MB / 437 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002556/0.2589, allocations: 1.392 MB / 438.4 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003001/0.2592, allocations: 11.94 kB / 438.4 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004307/0.2596, allocations: 158.7 kB / 438.6 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006801/0.2603, allocations: 341.4 kB / 438.9 MB, free: 264 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004687/0.2608, allocations: 219.6 kB / 439.1 MB, free: 44 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001075/0.2618, allocations: 1.033 MB / 440.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000343/0.2622, allocations: 206.4 kB / 440.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005736/0.2628, allocations: 422.5 kB / 440.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004958/0.2633, allocations: 450.1 kB / 441.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001319/0.2634, allocations: 88 kB / 441.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.2636, allocations: 92 kB / 441.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.2637, allocations: 195.3 kB / 441.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000449/0.2642, allocations: 481.8 kB / 442 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.2653, allocations: 1.081 MB / 443.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2653, allocations: 0 / 443.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2653, allocations: 0 / 443.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.2653, allocations: 0 / 443.1 MB, free: 12.02 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.002316/0.2676, allocations: 1.168 MB / 444.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.2677, allocations: 8.031 kB / 444.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.2678, allocations: 108.3 kB / 444.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000834/0.2687, allocations: 463 kB / 444.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/0.2688, allocations: 109.2 kB / 445 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.631e-05/0.2689, allocations: 52.38 kB / 445 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.2704, allocations: 0.7927 MB / 445.8 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.2704, allocations: 4 kB / 445.8 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.051e-05/0.2705, allocations: 31.88 kB / 445.8 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.2705, allocations: 12 kB / 445.8 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.2718, allocations: 0.4997 MB / 446.3 MB, free: 8.594 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.00345/0.2752, allocations: 2.081 MB / 448.4 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.2766, allocations: 0.4906 MB / 448.9 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005992/0.2772, allocations: 226.2 kB / 449.1 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.148e-05/0.2772, allocations: 9.594 kB / 449.2 MB, free: 5.652 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007911/0.278, allocations: 330.1 kB / 449.5 MB, free: 5.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.354e-06/0.278, allocations: 4 kB / 449.5 MB, free: 5.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.005247/0.2833, allocations: 1.321 MB / 450.8 MB, free: 3.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004744/0.2837, allocations: 0.8271 MB / 451.6 MB, free: 2.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007835/0.2845, allocations: 0.5901 MB / 452.2 MB, free: 2.355 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.078e-05/0.2846, allocations: 41.7 kB / 452.3 MB, free: 2.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003001/0.2849, allocations: 337.2 kB / 452.6 MB, free: 1.973 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/0.2851, allocations: 198.3 kB / 452.8 MB, free: 1.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002299/0.2853, allocations: 138.3 kB / 452.9 MB, free: 1.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.2855, allocations: 382.8 kB / 453.3 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006256/0.2861, allocations: 209.2 kB / 453.5 MB, free: 1.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009167/0.2871, allocations: 0.5139 MB / 454 MB, free: 428 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.2884, allocations: 0.5642 MB / 454.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2884, allocations: 3.938 kB / 454.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002421/0.2908, allocations: 0.8923 MB / 455.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.677e-05/0.2909, allocations: 67.39 kB / 455.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.2909, allocations: 0 / 455.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007404/0.2916, allocations: 217.6 kB / 455.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006454/0.2923, allocations: 119.8 kB / 455.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007372/0.2996, allocations: 4.389 MB / 460.3 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.3008, allocations: 87.58 kB / 460.3 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-05/0.3009, allocations: 23.98 kB / 460.4 MB, free: 9.75 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.000521/0.3014, allocations: 213.8 kB / 460.6 MB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/0.3016, allocations: 83.66 kB / 460.6 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/0.3018, allocations: 82.84 kB / 460.7 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.3018, allocations: 11.88 kB / 460.7 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3018, allocations: 0 / 460.7 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003362/0.3052, allocations: 1.041 MB / 461.8 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004381/0.3096, allocations: 1.502 MB / 463.3 MB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3096, allocations: 0 / 463.3 MB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.3106, allocations: 103.9 kB / 463.4 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008662/0.3114, allocations: 173.5 kB / 463.6 MB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.414e-05/0.3115, allocations: 12 kB / 463.6 MB, free: 6.336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008086/0.3196, allocations: 3.738 MB / 467.3 MB, free: 2.371 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.3196, allocations: 3.984 kB / 467.3 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003872/0.3235, allocations: 1.018 MB / 468.3 MB, free: 1.324 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000547/0.324, allocations: 143.3 kB / 468.5 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/0.3242, allocations: 19.98 kB / 468.5 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009971/0.3252, allocations: 43.95 kB / 468.5 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002036/0.3254, allocations: 52.41 kB / 468.6 MB, free: 1.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.285e-05/0.3255, allocations: 15.98 kB / 468.6 MB, free: 1.055 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008554/0.3263, allocations: 419.1 kB / 469 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3263, allocations: 4.062 kB / 469 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00124/0.3276, allocations: 251.8 kB / 469.3 MB, free: 408 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.0002277/0.3278, allocations: 111.2 kB / 469.4 MB, free: 284 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00328/0.3311, allocations: 1.002 MB / 470.4 MB, free: 15.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.3311, allocations: 4.5 kB / 470.4 MB, free: 15.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001536/0.3326, allocations: 0.5156 MB / 470.9 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/0.3341, allocations: 214.9 kB / 471.1 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003967/0.3381, allocations: 1.313 MB / 472.4 MB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008235/0.3389, allocations: 0.916 MB / 473.3 MB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005578/0.3394, allocations: 85.22 kB / 473.4 MB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002111/0.3397, allocations: 51.44 kB / 473.5 MB, free: 12.06 MB / 382.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3397, allocations: 0 / 473.5 MB, free: 12.06 MB / 382.1 MB Notification: Performance of Templates: time 0.03957/0.3792, allocations: 16.87 MB / 490.3 MB, free: 11.42 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.232370571233332]