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.001352/0.001352, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001558/0.001558, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.464/1.464, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.001686/0.001686, allocations: 43.92 kB / 378.3 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2371, allocations: 53.37 MB / 431.6 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006372/0.2435, allocations: 4.895 MB / 436.5 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002622/0.2461, allocations: 1.395 MB / 437.9 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000271/0.2464, allocations: 19.88 kB / 437.9 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00046/0.2468, allocations: 154.7 kB / 438.1 MB, free: 472 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007549/0.2476, allocations: 341.4 kB / 438.4 MB, free: 128 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004861/0.2481, allocations: 215.7 kB / 438.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001203/0.2493, allocations: 1.029 MB / 439.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003958/0.2497, allocations: 202.4 kB / 439.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007873/0.2505, allocations: 426.5 kB / 440.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006078/0.2511, allocations: 458.1 kB / 440.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.2512, allocations: 88 kB / 440.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.2514, allocations: 88 kB / 440.9 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002854/0.2516, allocations: 195.3 kB / 441.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006946/0.2523, allocations: 477.8 kB / 441.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.2536, allocations: 1.085 MB / 442.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2536, allocations: 0 / 442.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2536, allocations: 0 / 442.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.2536, allocations: 0 / 442.6 MB, free: 11.89 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.002387/0.256, allocations: 1.172 MB / 443.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.256, allocations: 8.031 kB / 443.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/0.2562, allocations: 108.3 kB / 443.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000933/0.2571, allocations: 463 kB / 444.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002561/0.2574, allocations: 156.7 kB / 444.5 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.145e-05/0.2575, allocations: 48.38 kB / 444.6 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.2589, allocations: 0.7888 MB / 445.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.2589, allocations: 3.984 kB / 445.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.397e-05/0.2589, allocations: 28 kB / 445.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.259, allocations: 16 kB / 445.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.2602, allocations: 0.4996 MB / 445.9 MB, free: 8.41 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.003621/0.2639, allocations: 2.077 MB / 448 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.2653, allocations: 498.4 kB / 448.5 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006692/0.266, allocations: 234.2 kB / 448.7 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.14e-05/0.266, allocations: 8.5 kB / 448.7 MB, free: 5.469 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009238/0.2669, allocations: 326.1 kB / 449 MB, free: 5.137 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.565e-06/0.2669, allocations: 0 / 449 MB, free: 5.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.005105/0.272, allocations: 1.326 MB / 450.4 MB, free: 3.801 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004713/0.2725, allocations: 0.8193 MB / 451.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007565/0.2733, allocations: 0.5901 MB / 451.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.894e-05/0.2733, allocations: 45.7 kB / 451.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003405/0.2737, allocations: 345.1 kB / 452.1 MB, free: 1.789 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.2739, allocations: 202.3 kB / 452.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/0.2741, allocations: 134.3 kB / 452.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002614/0.2744, allocations: 374.8 kB / 452.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005893/0.2749, allocations: 209.2 kB / 453 MB, free: 0.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009154/0.2759, allocations: 0.5217 MB / 453.6 MB, free: 240 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.2771, allocations: 0.5564 MB / 454.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2771, allocations: 11.94 kB / 454.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002416/0.2795, allocations: 0.8923 MB / 455 MB, free: 14.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.744e-05/0.2796, allocations: 67.36 kB / 455.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.2796, allocations: 4 kB / 455.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007191/0.2803, allocations: 221.5 kB / 455.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006236/0.2809, allocations: 115.8 kB / 455.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006944/0.2879, allocations: 4.386 MB / 459.8 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006895/0.2886, allocations: 87.58 kB / 459.9 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.621e-05/0.2886, allocations: 23.98 kB / 459.9 MB, free: 9.562 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.0003202/0.2889, allocations: 209.8 kB / 460.1 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.2891, allocations: 83.52 kB / 460.2 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.2893, allocations: 78.86 kB / 460.3 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.2893, allocations: 11.94 kB / 460.3 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.2893, allocations: 4 kB / 460.3 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002181/0.2914, allocations: 1.041 MB / 461.3 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002848/0.2943, allocations: 1.498 MB / 462.8 MB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.2943, allocations: 0 / 462.8 MB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006111/0.2949, allocations: 115.8 kB / 462.9 MB, free: 6.332 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005463/0.2955, allocations: 169.5 kB / 463.1 MB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.708e-05/0.2955, allocations: 15.98 kB / 463.1 MB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005205/0.3007, allocations: 3.722 MB / 466.9 MB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3007, allocations: 4.125 kB / 466.9 MB, free: 2.191 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00233/0.303, allocations: 1.018 MB / 467.9 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003014/0.3033, allocations: 147.3 kB / 468 MB, free: 1.004 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.3034, allocations: 12 kB / 468 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005753/0.304, allocations: 44.2 kB / 468.1 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.3042, allocations: 64.33 kB / 468.1 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/0.3042, allocations: 20 kB / 468.2 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000507/0.3047, allocations: 419.1 kB / 468.6 MB, free: 472 kB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3047, allocations: 0 / 468.6 MB, free: 472 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007429/0.3054, allocations: 247.8 kB / 468.8 MB, free: 224 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.0001567/0.3056, allocations: 123.3 kB / 468.9 MB, free: 88 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002192/0.3078, allocations: 0.9941 MB / 469.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.3078, allocations: 4 kB / 469.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009727/0.3088, allocations: 0.52 MB / 470.4 MB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008502/0.3096, allocations: 211 kB / 470.6 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002556/0.3122, allocations: 1.323 MB / 472 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005714/0.3127, allocations: 0.9122 MB / 472.9 MB, free: 12.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000305/0.313, allocations: 85.2 kB / 473 MB, free: 11.92 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.3132, allocations: 55.42 kB / 473 MB, free: 11.87 MB / 382.1 MB Notification: Performance of SimCode: time 4.8e-07/0.3132, allocations: 0 / 473 MB, free: 11.87 MB / 382.1 MB Notification: Performance of Templates: time 0.02823/0.3414, allocations: 16.88 MB / 489.9 MB, free: 11.24 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/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_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.161239113891497]