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.00111/0.00111, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001227/0.001227, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 64.56 kB / 308.4 MB, free: 15.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08871/0.0899, allocations: 50.53 MB / 358.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006092/0.09603, allocations: 4.834 MB / 363.7 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002547/0.09861, allocations: 1.394 MB / 365.1 MB, free: 7.113 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002586/0.09889, allocations: 11.94 kB / 365.1 MB, free: 7.102 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004428/0.09937, allocations: 154.7 kB / 365.3 MB, free: 6.949 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006422/0.1, allocations: 337.4 kB / 365.6 MB, free: 6.617 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004697/0.1005, allocations: 215.7 kB / 365.8 MB, free: 6.406 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001038/0.1015, allocations: 1.034 MB / 366.9 MB, free: 5.371 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004345/0.102, allocations: 305.8 kB / 367.2 MB, free: 5.055 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005416/0.1025, allocations: 402.7 kB / 367.6 MB, free: 4.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004703/0.103, allocations: 450.1 kB / 368 MB, free: 4.219 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.1032, allocations: 91.98 kB / 368.1 MB, free: 4.129 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.1033, allocations: 88 kB / 368.2 MB, free: 4.043 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.1035, allocations: 195.3 kB / 368.4 MB, free: 3.852 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004186/0.1039, allocations: 477.8 kB / 368.8 MB, free: 3.383 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009112/0.1048, allocations: 1.074 MB / 369.9 MB, free: 2.305 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1048, allocations: 0 / 369.9 MB, free: 2.305 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1048, allocations: 7.938 kB / 369.9 MB, free: 2.297 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.1049, allocations: 0 / 369.9 MB, free: 2.297 MB / 302.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.00209/0.107, allocations: 1.22 MB / 371.1 MB, free: 1.008 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.107, allocations: 8.031 kB / 371.1 MB, free: 1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.1072, allocations: 99.91 kB / 371.2 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008325/0.108, allocations: 0.512 MB / 371.7 MB, free: 356 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.1081, allocations: 101.3 kB / 371.8 MB, free: 240 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.891e-05/0.1082, allocations: 60.34 kB / 371.9 MB, free: 180 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1496/0.2579, allocations: 0.783 MB / 372.7 MB, free: 19.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.2579, allocations: 6.094 kB / 372.7 MB, free: 19.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.519e-05/0.258, allocations: 25.02 kB / 372.7 MB, free: 19.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/0.2581, allocations: 13.53 kB / 372.7 MB, free: 19.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.2593, allocations: 0.4975 MB / 373.2 MB, free: 19.83 MB / 302.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.00335/0.2627, allocations: 2.142 MB / 375.4 MB, free: 18.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.2639, allocations: 0.5362 MB / 375.9 MB, free: 18.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005437/0.2645, allocations: 264.7 kB / 376.2 MB, free: 18.35 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.354e-05/0.2645, allocations: 12.81 kB / 376.2 MB, free: 18.35 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006704/0.2652, allocations: 321 kB / 376.5 MB, free: 18.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=56): time 2.715e-06/0.2652, allocations: 0 / 376.5 MB, free: 18.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=56): time 0.004614/0.2699, allocations: 1.49 MB / 378 MB, free: 17.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.27, allocations: 0.8217 MB / 378.8 MB, free: 16.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006495/0.2707, allocations: 0.5876 MB / 379.4 MB, free: 16.4 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.451e-05/0.2707, allocations: 43.97 kB / 379.4 MB, free: 16.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.2709, allocations: 339.8 kB / 379.8 MB, free: 16.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.2711, allocations: 191.6 kB / 380 MB, free: 15.97 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/0.2713, allocations: 127.2 kB / 380.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.56e-05/0.2714, allocations: 380.2 kB / 380.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005297/0.2719, allocations: 208.5 kB / 380.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007436/0.2727, allocations: 0.5193 MB / 381.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.2738, allocations: 0.5594 MB / 381.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2738, allocations: 0 / 381.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00202/0.2758, allocations: 0.9062 MB / 382.6 MB, free: 14.35 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.446e-05/0.2758, allocations: 63.44 kB / 382.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.2759, allocations: 2.281 kB / 382.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007285/0.2766, allocations: 226 kB / 382.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006335/0.2772, allocations: 121.2 kB / 383 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005716/0.283, allocations: 4.586 MB / 387.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000793/0.2838, allocations: 81.81 kB / 387.7 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.732e-05/0.2838, allocations: 22.91 kB / 387.7 MB, free: 10.49 MB / 302.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.0003057/0.2842, allocations: 224.4 kB / 387.9 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.2843, allocations: 81.25 kB / 388 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.2844, allocations: 77.58 kB / 388.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.2844, allocations: 5.844 kB / 388.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.2844, allocations: 0.6094 kB / 388.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00186/0.2863, allocations: 1.054 MB / 389.2 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002614/0.2889, allocations: 1.534 MB / 390.7 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.2889, allocations: 0 / 390.7 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005975/0.2896, allocations: 110.9 kB / 390.8 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005239/0.2901, allocations: 171.9 kB / 391 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.81e-05/0.2901, allocations: 13.28 kB / 391 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00418/0.2943, allocations: 3.928 MB / 394.9 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2943, allocations: 3.984 kB / 394.9 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002283/0.2966, allocations: 1.028 MB / 395.9 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003442/0.297, allocations: 214.2 kB / 396.2 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.884e-05/0.2971, allocations: 18.19 kB / 396.2 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005693/0.2977, allocations: 43.2 kB / 396.2 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.2978, allocations: 45.47 kB / 396.3 MB, free: 4.254 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.548e-05/0.2979, allocations: 18.14 kB / 396.3 MB, free: 4.246 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004928/0.2984, allocations: 418.1 kB / 396.7 MB, free: 4.008 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2984, allocations: 4.062 kB / 396.7 MB, free: 4.004 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000863/0.2992, allocations: 247.7 kB / 396.9 MB, free: 3.969 MB / 302.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.0001411/0.2994, allocations: 122.5 kB / 397.1 MB, free: 3.859 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00186/0.3013, allocations: 1.02 MB / 398.1 MB, free: 3.164 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.3013, allocations: 2.031 kB / 398.1 MB, free: 3.164 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008959/0.3022, allocations: 0.5439 MB / 398.6 MB, free: 2.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008625/0.3031, allocations: 217.1 kB / 398.8 MB, free: 2.648 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002573/0.3056, allocations: 1.3 MB / 400.1 MB, free: 1.883 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.306, allocations: 0.9145 MB / 401 MB, free: 1.09 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003933/0.3064, allocations: 87.58 kB / 401.1 MB, free: 1.059 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.3066, allocations: 57.92 kB / 401.2 MB, free: 1.043 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3066, allocations: 0 / 401.2 MB, free: 1.043 MB / 302.1 MB Notification: Performance of Templates: time 0.02552/0.3321, allocations: 16.18 MB / 417.4 MB, free: 2.586 MB / 318.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 -s gbode -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