Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.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.001565/0.001565, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001644/0.001644, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.387/1.387, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_4.1.0_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_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 47.92 kB / 379 MB, free: 2.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2294, allocations: 53.36 MB / 432.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.005952/0.2353, allocations: 4.895 MB / 437.3 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002326/0.2376, allocations: 1.392 MB / 438.7 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002469/0.2379, allocations: 11.94 kB / 438.7 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000384/0.2383, allocations: 162.7 kB / 438.8 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006216/0.2389, allocations: 345.4 kB / 439.2 MB, free: 164 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004392/0.2393, allocations: 211.7 kB / 439.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001088/0.2404, allocations: 1.03 MB / 440.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003335/0.2408, allocations: 206.4 kB / 440.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005352/0.2413, allocations: 422.5 kB / 441 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005371/0.2418, allocations: 458.1 kB / 441.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.242, allocations: 88 kB / 441.6 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.2421, allocations: 92 kB / 441.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.2423, allocations: 199.3 kB / 441.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000431/0.2427, allocations: 465.9 kB / 442.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.2438, allocations: 1.089 MB / 443.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2438, allocations: 0 / 443.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.2438, allocations: 0 / 443.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.2438, allocations: 0 / 443.4 MB, free: 11.93 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.002166/0.246, allocations: 1.164 MB / 444.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.246, allocations: 16.02 kB / 444.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.2462, allocations: 104.3 kB / 444.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007882/0.2469, allocations: 463 kB / 445.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001817/0.2471, allocations: 152.7 kB / 445.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-05/0.2472, allocations: 60.36 kB / 445.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.2485, allocations: 0.7926 MB / 446.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.2486, allocations: 4 kB / 446.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.207e-05/0.2486, allocations: 24 kB / 446.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.2486, allocations: 12 kB / 446.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.2498, allocations: 0.4997 MB / 446.7 MB, free: 8.449 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.003322/0.2531, allocations: 2.077 MB / 448.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/0.2544, allocations: 0.4908 MB / 449.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005529/0.2549, allocations: 226.2 kB / 449.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.338e-05/0.255, allocations: 20.62 kB / 449.5 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000719/0.2557, allocations: 318.2 kB / 449.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.184e-06/0.2557, allocations: 0 / 449.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.004807/0.2605, allocations: 1.325 MB / 451.1 MB, free: 3.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004379/0.2609, allocations: 0.8271 MB / 451.9 MB, free: 2.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007198/0.2617, allocations: 0.5862 MB / 452.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.861e-05/0.2617, allocations: 41.7 kB / 452.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002914/0.262, allocations: 345.2 kB / 452.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/0.2622, allocations: 198.3 kB / 453.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/0.2624, allocations: 138.3 kB / 453.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.2626, allocations: 378.8 kB / 453.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005533/0.2631, allocations: 209.2 kB / 453.8 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008502/0.264, allocations: 0.5256 MB / 454.3 MB, free: 272 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.2652, allocations: 0.5525 MB / 454.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.2652, allocations: 4 kB / 454.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002189/0.2674, allocations: 0.8961 MB / 455.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.16e-05/0.2674, allocations: 67.44 kB / 455.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.2674, allocations: 0 / 455.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000712/0.2681, allocations: 225.5 kB / 456.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006076/0.2687, allocations: 111.9 kB / 456.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00658/0.2753, allocations: 4.387 MB / 460.6 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007769/0.2761, allocations: 91.56 kB / 460.7 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.875e-05/0.2762, allocations: 20.19 kB / 460.7 MB, free: 9.605 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.0003389/0.2765, allocations: 213.8 kB / 460.9 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.2766, allocations: 83.47 kB / 461 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/0.2768, allocations: 86.83 kB / 461 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.2768, allocations: 7.938 kB / 461.1 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.2768, allocations: 0 / 461.1 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002082/0.2789, allocations: 1.045 MB / 462.1 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0027/0.2816, allocations: 1.502 MB / 463.6 MB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.2816, allocations: 0 / 463.6 MB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005961/0.2822, allocations: 111.8 kB / 463.7 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005415/0.2827, allocations: 169.5 kB / 463.9 MB, free: 6.195 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/0.2827, allocations: 8 kB / 463.9 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005099/0.2878, allocations: 3.737 MB / 467.6 MB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2878, allocations: 0 / 467.6 MB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/0.2902, allocations: 1.022 MB / 468.6 MB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003425/0.2906, allocations: 139.3 kB / 468.8 MB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.2907, allocations: 20 kB / 468.8 MB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005779/0.2912, allocations: 39.95 kB / 468.8 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.2914, allocations: 56.47 kB / 468.9 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.725e-05/0.2914, allocations: 15.98 kB / 468.9 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005294/0.2919, allocations: 419.1 kB / 469.3 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2919, allocations: 0 / 469.3 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007733/0.2927, allocations: 251.8 kB / 469.6 MB, free: 264 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.0001591/0.2929, allocations: 119.2 kB / 469.7 MB, free: 132 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002077/0.295, allocations: 0.9979 MB / 470.7 MB, free: 15.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.295, allocations: 4 kB / 470.7 MB, free: 15.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009628/0.2959, allocations: 0.5122 MB / 471.2 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008904/0.2968, allocations: 219.1 kB / 471.4 MB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002556/0.2994, allocations: 1.35 MB / 472.8 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005495/0.2999, allocations: 0.916 MB / 473.7 MB, free: 12.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.3001, allocations: 59.42 kB / 473.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3001, allocations: 0 / 473.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of Templates: time 0.02089/0.321, allocations: 16.25 MB / 490 MB, free: 11.82 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 8.477575457887724]