Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001957/0.001957, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002406/0.002406, allocations: 186 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 47.92 kB / 371.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2369, allocations: 52.17 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006215/0.2431, allocations: 4.376 MB / 428.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002484/0.2456, allocations: 1.289 MB / 429.5 MB, free: 8.793 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002643/0.2458, allocations: 15.88 kB / 429.5 MB, free: 8.777 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003993/0.2462, allocations: 154.7 kB / 429.6 MB, free: 8.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006827/0.2469, allocations: 341.4 kB / 430 MB, free: 8.289 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000469/0.2474, allocations: 215.6 kB / 430.2 MB, free: 8.078 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001157/0.2485, allocations: 1.034 MB / 431.2 MB, free: 7.043 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003464/0.2489, allocations: 194.4 kB / 431.4 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005389/0.2494, allocations: 410.7 kB / 431.8 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005169/0.25, allocations: 390.1 kB / 432.2 MB, free: 6.055 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001486/0.2501, allocations: 88 kB / 432.3 MB, free: 5.969 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.2503, allocations: 88 kB / 432.4 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.2505, allocations: 199.3 kB / 432.6 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004251/0.2509, allocations: 402.3 kB / 433 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.252, allocations: 1.088 MB / 434 MB, free: 4.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.252, allocations: 0 / 434 MB, free: 4.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.228e-06/0.252, allocations: 3.984 kB / 434 MB, free: 4.199 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.2521, allocations: 4 kB / 434 MB, free: 4.195 MB / 334.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.002314/0.2544, allocations: 1.164 MB / 435.2 MB, free: 2.984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.2544, allocations: 12.03 kB / 435.2 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.2546, allocations: 100.4 kB / 435.3 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008732/0.2555, allocations: 463 kB / 435.8 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001901/0.2557, allocations: 152.7 kB / 435.9 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.2558, allocations: 64.33 kB / 436 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.2576, allocations: 1.55 MB / 437.5 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.2576, allocations: 0 / 437.5 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.691e-05/0.2577, allocations: 28 kB / 437.6 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.2577, allocations: 12 kB / 437.6 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.259, allocations: 0.4997 MB / 438.1 MB, free: 15.76 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.003239/0.2622, allocations: 1.666 MB / 439.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.2636, allocations: 495 kB / 440.2 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006031/0.2642, allocations: 238.2 kB / 440.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.808e-05/0.2642, allocations: 8.484 kB / 440.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007661/0.265, allocations: 326.1 kB / 440.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.465e-06/0.265, allocations: 0 / 440.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.004959/0.2699, allocations: 1.325 MB / 442.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004857/0.2704, allocations: 0.8271 MB / 442.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000747/0.2712, allocations: 0.5578 MB / 443.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.273e-05/0.2712, allocations: 37.7 kB / 443.5 MB, free: 9.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/0.2716, allocations: 345.1 kB / 443.9 MB, free: 9.641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002094/0.2718, allocations: 202.2 kB / 444.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/0.272, allocations: 134.3 kB / 444.2 MB, free: 9.305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.2722, allocations: 370.8 kB / 444.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006395/0.2728, allocations: 268.6 kB / 444.8 MB, free: 8.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/0.2742, allocations: 1.333 MB / 446.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.2755, allocations: 0.5642 MB / 446.7 MB, free: 6.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.2755, allocations: 0 / 446.7 MB, free: 6.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002387/0.2779, allocations: 0.9387 MB / 447.7 MB, free: 5.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.093e-05/0.278, allocations: 65.89 kB / 447.7 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.278, allocations: 3.938 kB / 447.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007488/0.2787, allocations: 221.5 kB / 447.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006341/0.2793, allocations: 119.8 kB / 448.1 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007138/0.2865, allocations: 4.278 MB / 452.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000935/0.2874, allocations: 75.69 kB / 452.4 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.78e-05/0.2875, allocations: 27.92 kB / 452.4 MB, free: 436 kB / 350.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.0003955/0.2879, allocations: 213 kB / 452.6 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.288, allocations: 79.64 kB / 452.7 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001506/0.2882, allocations: 82.5 kB / 452.8 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.2882, allocations: 8 kB / 452.8 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2882, allocations: 0 / 452.8 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002207/0.2904, allocations: 1.045 MB / 453.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002711/0.2931, allocations: 1.316 MB / 455.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.2931, allocations: 0 / 455.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006041/0.2937, allocations: 115.8 kB / 455.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005569/0.2943, allocations: 169.6 kB / 455.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.227e-05/0.2943, allocations: 15.98 kB / 455.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005397/0.2997, allocations: 3.656 MB / 459.1 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2997, allocations: 0 / 459.1 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002525/0.3022, allocations: 1.019 MB / 460.1 MB, free: 8.305 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003889/0.3026, allocations: 135.3 kB / 460.3 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.3027, allocations: 12.19 kB / 460.3 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005982/0.3033, allocations: 51.95 kB / 460.3 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.3035, allocations: 64.38 kB / 460.4 MB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/0.3035, allocations: 16 kB / 460.4 MB, free: 8.031 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005182/0.304, allocations: 394.8 kB / 460.8 MB, free: 7.648 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.304, allocations: 0 / 460.8 MB, free: 7.648 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008541/0.3049, allocations: 255.7 kB / 461 MB, free: 7.398 MB / 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.0001786/0.3051, allocations: 119.2 kB / 461.2 MB, free: 7.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002168/0.3072, allocations: 1.044 MB / 462.2 MB, free: 6.164 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3072, allocations: 0 / 462.2 MB, free: 6.164 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001/0.3082, allocations: 0.5195 MB / 462.7 MB, free: 5.621 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008758/0.3091, allocations: 195.4 kB / 462.9 MB, free: 5.434 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002717/0.3118, allocations: 1.358 MB / 464.3 MB, free: 4.039 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.3122, allocations: 315.9 kB / 464.6 MB, free: 3.707 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.3123, allocations: 59.42 kB / 464.6 MB, free: 3.648 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3123, allocations: 3.938 kB / 464.6 MB, free: 3.645 MB / 366.1 MB Notification: Performance of Templates: time 0.02206/0.3344, allocations: 16.41 MB / 481.1 MB, free: 3.34 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 9.210378997027874]