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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001771/0.001771, allocations: 112.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002338/0.002339, allocations: 211.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.11/2.11, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 59.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.4048, allocations: 50.54 MB / 409.9 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.00961/0.4145, allocations: 4.844 MB / 414.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004217/0.4188, allocations: 1.378 MB / 416.1 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008815/0.4197, allocations: 11.94 kB / 416.1 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008418/0.4206, allocations: 158.7 kB / 416.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00171/0.4224, allocations: 337.4 kB / 416.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009208/0.4233, allocations: 215.7 kB / 416.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002221/0.4256, allocations: 1.023 MB / 417.9 MB, free: 9.758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007347/0.4263, allocations: 307.1 kB / 418.2 MB, free: 9.438 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/0.4274, allocations: 410.5 kB / 418.6 MB, free: 9.035 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.4286, allocations: 458 kB / 419 MB, free: 8.586 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000348/0.429, allocations: 84 kB / 419.1 MB, free: 8.504 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003768/0.4294, allocations: 92 kB / 419.2 MB, free: 8.414 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003011/0.4297, allocations: 187.4 kB / 419.4 MB, free: 8.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001113/0.4308, allocations: 477.8 kB / 419.8 MB, free: 7.762 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002004/0.4328, allocations: 1.074 MB / 420.9 MB, free: 6.684 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.4329, allocations: 0 / 420.9 MB, free: 6.684 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.4329, allocations: 3.938 kB / 420.9 MB, free: 6.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.912e-05/0.4329, allocations: 8 kB / 420.9 MB, free: 6.672 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.004278/0.4372, allocations: 1.216 MB / 422.1 MB, free: 5.391 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.4373, allocations: 8.031 kB / 422.1 MB, free: 5.383 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003977/0.4377, allocations: 103.8 kB / 422.2 MB, free: 5.281 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001544/0.4393, allocations: 0.516 MB / 422.8 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002442/0.4395, allocations: 105.3 kB / 422.9 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.4397, allocations: 48.38 kB / 422.9 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002338/0.4421, allocations: 0.7927 MB / 423.7 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.69e-05/0.4421, allocations: 7.906 kB / 423.7 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.4423, allocations: 27.98 kB / 423.7 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.864e-05/0.4423, allocations: 12 kB / 423.8 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002095/0.4444, allocations: 0.5035 MB / 424.3 MB, free: 3.113 MB / 334.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.005894/0.4503, allocations: 2.138 MB / 426.4 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002128/0.4525, allocations: 0.5408 MB / 426.9 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009677/0.4535, allocations: 254.4 kB / 427.2 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.328e-05/0.4536, allocations: 13.64 kB / 427.2 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001195/0.4548, allocations: 327 kB / 427.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 4.158e-06/0.4548, allocations: 0 / 427.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.008055/0.4629, allocations: 1.489 MB / 429 MB, free: 14.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004748/0.4634, allocations: 0.8233 MB / 429.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.4648, allocations: 0.5901 MB / 430.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001497/0.465, allocations: 45.7 kB / 430.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004407/0.4654, allocations: 328.8 kB / 430.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002892/0.4657, allocations: 193.2 kB / 431 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004199/0.4662, allocations: 134.2 kB / 431.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002435/0.4664, allocations: 374.8 kB / 431.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000972/0.4674, allocations: 209 kB / 431.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/0.4689, allocations: 0.5246 MB / 432.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001981/0.4709, allocations: 0.5654 MB / 432.8 MB, free: 9.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/0.4709, allocations: 0 / 432.8 MB, free: 9.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003883/0.4748, allocations: 0.8973 MB / 433.7 MB, free: 9.062 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.967e-05/0.4749, allocations: 67.33 kB / 433.7 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.4749, allocations: 4 kB / 433.7 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/0.4761, allocations: 221.5 kB / 433.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.4771, allocations: 115.8 kB / 434.1 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01071/0.4878, allocations: 4.599 MB / 438.7 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.4892, allocations: 87.38 kB / 438.7 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/0.4894, allocations: 24 kB / 438.8 MB, free: 3.66 MB / 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.000604/0.49, allocations: 205.9 kB / 439 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002873/0.4903, allocations: 75.16 kB / 439 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.4906, allocations: 82.86 kB / 439.1 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.4906, allocations: 8.125 kB / 439.1 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.4906, allocations: 0 / 439.1 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003329/0.494, allocations: 1.058 MB / 440.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004733/0.4987, allocations: 1.536 MB / 441.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.4988, allocations: 0 / 441.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009993/0.4998, allocations: 103.9 kB / 441.8 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008788/0.5007, allocations: 177.5 kB / 442 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.967e-05/0.5008, allocations: 8 kB / 442 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007823/0.5086, allocations: 3.937 MB / 445.9 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.5087, allocations: 0 / 445.9 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003931/0.5126, allocations: 1.024 MB / 447 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000687/0.5133, allocations: 219.9 kB / 447.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002823/0.5137, allocations: 16 kB / 447.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.5147, allocations: 48.02 kB / 447.2 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002415/0.515, allocations: 52.48 kB / 447.3 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.118e-05/0.5151, allocations: 16 kB / 447.3 MB, free: 10.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009161/0.516, allocations: 419.1 kB / 447.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.516, allocations: 3.938 kB / 447.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001566/0.5176, allocations: 247.7 kB / 448 MB, free: 9.93 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.0002781/0.5179, allocations: 123.2 kB / 448.1 MB, free: 9.801 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003351/0.5213, allocations: 1.007 MB / 449.1 MB, free: 8.742 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.739e-06/0.5213, allocations: 4 kB / 449.1 MB, free: 8.738 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001576/0.5229, allocations: 0.5438 MB / 449.6 MB, free: 8.168 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/0.5246, allocations: 215.3 kB / 449.9 MB, free: 7.957 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004398/0.5291, allocations: 1.33 MB / 451.2 MB, free: 6.602 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007654/0.5299, allocations: 0.916 MB / 452.1 MB, free: 5.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003178/0.5302, allocations: 59.42 kB / 452.2 MB, free: 5.602 MB / 366.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5302, allocations: 0 / 452.2 MB, free: 5.602 MB / 366.1 MB Notification: Performance of Templates: time 0.03334/0.5636, allocations: 16.26 MB / 468.4 MB, free: 5.441 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile (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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches