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.001257/0.001257, allocations: 110.9 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001469/0.001469, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 246.9 MB, free: 9 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 58.31 kB / 306.9 MB, free: 0.8047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09002/0.09122, allocations: 50.53 MB / 357.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.00598/0.09723, allocations: 4.865 MB / 362.3 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002657/0.09993, allocations: 1.394 MB / 363.7 MB, free: 7.977 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005731/0.1005, allocations: 8 kB / 363.7 MB, free: 7.969 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005433/0.1012, allocations: 119.2 kB / 363.8 MB, free: 7.852 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009679/0.1021, allocations: 305.8 kB / 364.1 MB, free: 7.551 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005674/0.1027, allocations: 191.7 kB / 364.3 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00123/0.104, allocations: 0.9684 MB / 365.3 MB, free: 6.391 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004256/0.1044, allocations: 273.8 kB / 365.5 MB, free: 6.105 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006768/0.1051, allocations: 370.6 kB / 365.9 MB, free: 5.742 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006426/0.1058, allocations: 438.1 kB / 366.3 MB, free: 5.312 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000193/0.106, allocations: 64 kB / 366.4 MB, free: 5.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002352/0.1062, allocations: 68 kB / 366.5 MB, free: 5.184 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.1064, allocations: 175.3 kB / 366.6 MB, free: 5.012 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005853/0.107, allocations: 441.9 kB / 367.1 MB, free: 4.578 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007158/0.1077, allocations: 0.8027 MB / 367.9 MB, free: 3.773 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1077, allocations: 0 / 367.9 MB, free: 3.773 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1077, allocations: 0 / 367.9 MB, free: 3.773 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.448e-05/0.1078, allocations: 0 / 367.9 MB, free: 3.773 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.002602/0.1104, allocations: 1.224 MB / 369.1 MB, free: 2.484 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.1104, allocations: 11.97 kB / 369.1 MB, free: 2.473 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002109/0.1107, allocations: 99.84 kB / 369.2 MB, free: 2.375 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00081/0.1115, allocations: 0.5042 MB / 369.7 MB, free: 1.832 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001695/0.1117, allocations: 101.3 kB / 369.8 MB, free: 1.719 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.409e-05/0.1118, allocations: 52.38 kB / 369.8 MB, free: 1.668 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.1132, allocations: 0.7966 MB / 370.6 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.1132, allocations: 0 / 370.6 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.471e-05/0.1133, allocations: 27.98 kB / 370.7 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.1133, allocations: 12 kB / 370.7 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.1146, allocations: 0.5035 MB / 371.2 MB, free: 232 kB / 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.1638/0.2784, allocations: 2.156 MB / 373.3 MB, free: 19.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.2798, allocations: 0.5364 MB / 373.9 MB, free: 19 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006101/0.2804, allocations: 260 kB / 374.1 MB, free: 18.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.798e-05/0.2805, allocations: 14.19 kB / 374.1 MB, free: 18.9 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008385/0.2813, allocations: 321.8 kB / 374.5 MB, free: 18.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=56): time 3.076e-06/0.2813, allocations: 0.75 kB / 374.5 MB, free: 18.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=56): time 0.005625/0.287, allocations: 1.485 MB / 375.9 MB, free: 18.26 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002215/0.2872, allocations: 0.8216 MB / 376.8 MB, free: 17.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008094/0.288, allocations: 0.5936 MB / 377.4 MB, free: 16.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.385e-05/0.2881, allocations: 41.05 kB / 377.4 MB, free: 16.94 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.2884, allocations: 335.2 kB / 377.7 MB, free: 16.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.2885, allocations: 195.4 kB / 377.9 MB, free: 16.56 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.2888, allocations: 131.9 kB / 378 MB, free: 16.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.2889, allocations: 376.8 kB / 378.4 MB, free: 16.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005799/0.2895, allocations: 207.4 kB / 378.6 MB, free: 16.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007665/0.2902, allocations: 0.5227 MB / 379.1 MB, free: 15.65 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.2914, allocations: 0.5625 MB / 379.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.2914, allocations: 1.531 kB / 379.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002422/0.2938, allocations: 0.8969 MB / 380.6 MB, free: 14.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.595e-05/0.2939, allocations: 61.42 kB / 380.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.2939, allocations: 2.719 kB / 380.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007618/0.2947, allocations: 229.5 kB / 380.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006854/0.2954, allocations: 118.3 kB / 381 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005669/0.3011, allocations: 4.193 MB / 385.2 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009514/0.3021, allocations: 78.2 kB / 385.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.195e-05/0.3021, allocations: 28.67 kB / 385.3 MB, free: 11.4 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.0003545/0.3025, allocations: 219.1 kB / 385.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.3026, allocations: 76.33 kB / 385.6 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001616/0.3028, allocations: 82.12 kB / 385.7 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/0.3028, allocations: 6.328 kB / 385.7 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.3028, allocations: 3.688 kB / 385.7 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002105/0.3049, allocations: 1.053 MB / 386.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002909/0.3079, allocations: 1.536 MB / 388.3 MB, free: 9.578 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.3079, allocations: 5.469 kB / 388.3 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006333/0.3086, allocations: 106.7 kB / 388.4 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005617/0.3091, allocations: 175.2 kB / 388.5 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.37e-05/0.3092, allocations: 13.41 kB / 388.6 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004233/0.3134, allocations: 3.596 MB / 392.2 MB, free: 6.406 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3135, allocations: 0 / 392.2 MB, free: 6.406 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002467/0.3159, allocations: 1.023 MB / 393.2 MB, free: 5.926 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004183/0.3164, allocations: 215.7 kB / 393.4 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.3165, allocations: 18.09 kB / 393.4 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006102/0.3172, allocations: 51.78 kB / 393.5 MB, free: 5.723 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/0.3174, allocations: 54.56 kB / 393.5 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/0.3174, allocations: 18.2 kB / 393.5 MB, free: 5.695 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006168/0.318, allocations: 416.7 kB / 393.9 MB, free: 5.457 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.318, allocations: 0 / 393.9 MB, free: 5.457 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001101/0.3192, allocations: 248.8 kB / 394.2 MB, free: 5.422 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.0002145/0.3194, allocations: 121.5 kB / 394.3 MB, free: 5.316 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00217/0.3216, allocations: 1.008 MB / 395.3 MB, free: 4.621 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/0.3216, allocations: 1.562 kB / 395.3 MB, free: 4.621 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.3226, allocations: 0.5417 MB / 395.9 MB, free: 4.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.3238, allocations: 207.8 kB / 396.1 MB, free: 4.125 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002768/0.3266, allocations: 1.573 MB / 397.6 MB, free: 3.066 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.327, allocations: 0.9145 MB / 398.5 MB, free: 2.273 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.3272, allocations: 54.05 kB / 398.6 MB, free: 2.262 MB / 302.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3272, allocations: 0 / 398.6 MB, free: 2.262 MB / 302.1 MB Notification: Performance of Templates: time 0.02256/0.3498, allocations: 16.11 MB / 414.7 MB, free: 4.609 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/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