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.001243/0.001243, allocations: 97.38 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001548/0.001548, allocations: 204.8 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002475/0.0002475, allocations: 4 kB / 306.6 MB, free: 1.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09094/0.0912, allocations: 51.5 MB / 358.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.003891/0.09513, allocations: 3.863 MB / 361.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.0971, allocations: 1.349 MB / 363.3 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002205/0.09734, allocations: 15.94 kB / 363.3 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.09757, allocations: 99.27 kB / 363.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006004/0.09818, allocations: 366.9 kB / 363.8 MB, free: 8.234 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003392/0.09853, allocations: 155.7 kB / 363.9 MB, free: 8.082 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007977/0.09934, allocations: 0.7018 MB / 364.6 MB, free: 7.383 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003568/0.09971, allocations: 257.3 kB / 364.9 MB, free: 7.117 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004156/0.1001, allocations: 342.9 kB / 365.2 MB, free: 6.781 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003946/0.1005, allocations: 378.4 kB / 365.6 MB, free: 6.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.143e-05/0.1006, allocations: 48 kB / 365.6 MB, free: 6.363 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.1007, allocations: 52 kB / 365.7 MB, free: 6.312 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.1009, allocations: 151.4 kB / 365.8 MB, free: 6.164 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.1011, allocations: 193.3 kB / 366 MB, free: 5.969 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005871/0.1016, allocations: 0.7283 MB / 366.7 MB, free: 5.238 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.1017, allocations: 0 / 366.7 MB, free: 5.238 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1017, allocations: 0 / 366.7 MB, free: 5.238 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.006e-06/0.1017, allocations: 0 / 366.7 MB, free: 5.238 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.001781/0.1035, allocations: 1.084 MB / 367.8 MB, free: 4.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.1035, allocations: 12.03 kB / 367.8 MB, free: 4.078 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.1037, allocations: 98.88 kB / 367.9 MB, free: 3.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005831/0.1043, allocations: 439.7 kB / 368.3 MB, free: 3.512 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/0.1044, allocations: 108.7 kB / 368.5 MB, free: 3.391 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.716e-05/0.1045, allocations: 52 kB / 368.5 MB, free: 3.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.1057, allocations: 0.7965 MB / 369.3 MB, free: 2.438 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.1058, allocations: 3.906 kB / 369.3 MB, free: 2.434 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.238e-05/0.1058, allocations: 28 kB / 369.3 MB, free: 2.406 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.1058, allocations: 12 kB / 369.3 MB, free: 2.395 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.107, allocations: 0.5308 MB / 369.9 MB, free: 1.867 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.1557/0.2627, allocations: 2.098 MB / 372 MB, free: 18.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.2643, allocations: 0.6069 MB / 372.6 MB, free: 18.92 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.109e-05/0.2644, allocations: 15.09 kB / 372.6 MB, free: 18.92 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008208/0.2652, allocations: 337.9 kB / 372.9 MB, free: 18.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=56): time 3.717e-06/0.2652, allocations: 1.094 kB / 372.9 MB, free: 18.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=56): time 0.005338/0.2706, allocations: 1.588 MB / 374.5 MB, free: 18.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002138/0.2708, allocations: 0.8237 MB / 375.3 MB, free: 17.61 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007192/0.2715, allocations: 0.5334 MB / 375.9 MB, free: 17.48 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.68e-05/0.2716, allocations: 44.27 kB / 375.9 MB, free: 17.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.2718, allocations: 337.2 kB / 376.2 MB, free: 17.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001589/0.272, allocations: 184.9 kB / 376.4 MB, free: 17.24 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.2721, allocations: 11.28 kB / 376.4 MB, free: 17.24 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.2722, allocations: 381.9 kB / 376.8 MB, free: 16.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005525/0.2728, allocations: 224.5 kB / 377 MB, free: 16.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006926/0.2735, allocations: 0.5317 MB / 377.6 MB, free: 16.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000594/0.2741, allocations: 324 kB / 377.9 MB, free: 16.24 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.2741, allocations: 2.531 kB / 377.9 MB, free: 16.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001785/0.2759, allocations: 0.8676 MB / 378.7 MB, free: 15.85 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/0.2759, allocations: 59.95 kB / 378.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.2759, allocations: 2.5 kB / 378.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006824/0.2766, allocations: 232.6 kB / 379 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006202/0.2772, allocations: 123.8 kB / 379.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005861/0.2831, allocations: 4.381 MB / 383.5 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007799/0.2839, allocations: 99.52 kB / 383.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.873e-05/0.284, allocations: 26.38 kB / 383.7 MB, free: 12.26 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 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,oneWayValve.backward) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {9 3,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003182/0.2843, allocations: 210.3 kB / 383.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.991e-05/0.2844, allocations: 84.81 kB / 383.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.2845, allocations: 77.56 kB / 384 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.2846, allocations: 7.594 kB / 384 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.2846, allocations: 0 / 384 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001997/0.2866, allocations: 1.101 MB / 385.1 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002854/0.2894, allocations: 1.576 MB / 386.7 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.2895, allocations: 5.766 kB / 386.7 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006023/0.2901, allocations: 116.6 kB / 386.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005459/0.2906, allocations: 181.9 kB / 387 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.539e-05/0.2907, allocations: 12.91 kB / 387 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004197/0.2949, allocations: 3.721 MB / 390.7 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2949, allocations: 0.5625 kB / 390.7 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/0.2971, allocations: 1.073 MB / 391.8 MB, free: 6.707 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002692/0.2974, allocations: 207.9 kB / 392 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-05/0.2975, allocations: 14.36 kB / 392 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005892/0.2981, allocations: 59.88 kB / 392.1 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.2982, allocations: 50.28 kB / 392.1 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.2983, allocations: 19.8 kB / 392.2 MB, free: 6.496 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004119/0.2987, allocations: 374 kB / 392.5 MB, free: 6.324 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2987, allocations: 1 kB / 392.5 MB, free: 6.324 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000834/0.2995, allocations: 248.9 kB / 392.8 MB, free: 6.285 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 3,1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001493/0.2997, allocations: 119.6 kB / 392.9 MB, free: 6.184 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002017/0.3017, allocations: 1.056 MB / 393.9 MB, free: 5.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.3017, allocations: 2.188 kB / 393.9 MB, free: 5.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000852/0.3026, allocations: 0.5545 MB / 394.5 MB, free: 5.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006969/0.3033, allocations: 185.9 kB / 394.7 MB, free: 5.176 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.3055, allocations: 1.549 MB / 396.2 MB, free: 4.285 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.3058, allocations: 0.9362 MB / 397.2 MB, free: 3.523 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003403/0.3062, allocations: 72.39 kB / 397.2 MB, free: 3.488 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.3063, allocations: 45.8 kB / 397.3 MB, free: 3.477 MB / 302.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3063, allocations: 4 kB / 397.3 MB, free: 3.473 MB / 302.1 MB Notification: Performance of Templates: time 0.02023/0.3265, allocations: 13.64 MB / 410.9 MB, free: 8.543 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches