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.0008274/0.0008272, allocations: 94.59 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009676/0.0009675, allocations: 195.3 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002138/0.0002138, allocations: 8 kB / 307.1 MB, free: 1.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08887/0.08909, allocations: 51.51 MB / 358.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.004316/0.09345, allocations: 4.229 MB / 362.8 MB, free: 9.402 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.09559, allocations: 1.325 MB / 364.2 MB, free: 8.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002261/0.09584, allocations: 8 kB / 364.2 MB, free: 8.062 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.09611, allocations: 99.22 kB / 364.3 MB, free: 7.965 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005451/0.09667, allocations: 301.8 kB / 364.6 MB, free: 7.668 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003588/0.09703, allocations: 155.8 kB / 364.7 MB, free: 7.516 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008068/0.09785, allocations: 0.9059 MB / 365.6 MB, free: 6.605 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003332/0.09819, allocations: 253.6 kB / 365.9 MB, free: 6.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003929/0.0986, allocations: 362.8 kB / 366.2 MB, free: 5.984 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003959/0.099, allocations: 406.3 kB / 366.6 MB, free: 5.586 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.949e-05/0.0991, allocations: 56 kB / 366.7 MB, free: 5.531 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.09922, allocations: 56 kB / 366.7 MB, free: 5.477 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.09936, allocations: 163.4 kB / 366.9 MB, free: 5.316 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.09953, allocations: 193.3 kB / 367.1 MB, free: 5.121 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006206/0.1002, allocations: 0.779 MB / 367.9 MB, free: 4.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1002, allocations: 0 / 367.9 MB, free: 4.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1002, allocations: 0 / 367.9 MB, free: 4.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.1002, allocations: 0 / 367.9 MB, free: 4.34 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.001768/0.102, allocations: 1.084 MB / 369 MB, free: 3.191 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.102, allocations: 8.031 kB / 369 MB, free: 3.184 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.1022, allocations: 106.9 kB / 369.1 MB, free: 3.078 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006244/0.1028, allocations: 487.7 kB / 369.5 MB, free: 2.562 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/0.103, allocations: 100.7 kB / 369.6 MB, free: 2.449 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.012e-05/0.103, allocations: 59.95 kB / 369.7 MB, free: 2.391 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.1043, allocations: 0.8082 MB / 370.5 MB, free: 1.477 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.1043, allocations: 7.844 kB / 370.5 MB, free: 1.469 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.95e-05/0.1044, allocations: 24 kB / 370.5 MB, free: 1.445 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.1044, allocations: 19.92 kB / 370.6 MB, free: 1.426 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.1056, allocations: 0.527 MB / 371.1 MB, free: 0.9023 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.1659/0.2715, allocations: 2.155 MB / 373.2 MB, free: 18.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.2729, allocations: 0.5677 MB / 373.8 MB, free: 18.28 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006528/0.2735, allocations: 279.4 kB / 374.1 MB, free: 18.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.98e-05/0.2736, allocations: 13.06 kB / 374.1 MB, free: 18.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007839/0.2744, allocations: 343 kB / 374.4 MB, free: 18.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=56): time 2.675e-06/0.2744, allocations: 0 / 374.4 MB, free: 18.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=56): time 0.004888/0.2793, allocations: 1.592 MB / 376 MB, free: 17.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/0.2794, allocations: 0.8245 MB / 376.8 MB, free: 16.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006414/0.2801, allocations: 0.5826 MB / 377.4 MB, free: 16.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.994e-05/0.2802, allocations: 40.58 kB / 377.5 MB, free: 16.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.2804, allocations: 338.7 kB / 377.8 MB, free: 16.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.2805, allocations: 188.3 kB / 378 MB, free: 16.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.2805, allocations: 10.72 kB / 378 MB, free: 16.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.616e-05/0.2806, allocations: 384.9 kB / 378.4 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005567/0.2812, allocations: 219.5 kB / 378.6 MB, free: 15.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007374/0.282, allocations: 0.5355 MB / 379.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000587/0.2825, allocations: 323.1 kB / 379.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.2826, allocations: 0 / 379.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001745/0.2843, allocations: 0.8688 MB / 380.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.848e-05/0.2844, allocations: 63.73 kB / 380.4 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2844, allocations: 2.031 kB / 380.4 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006987/0.2851, allocations: 228.5 kB / 380.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006072/0.2857, allocations: 127.7 kB / 380.7 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005616/0.2913, allocations: 4.287 MB / 385 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006938/0.292, allocations: 96.33 kB / 385.1 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.571e-05/0.2921, allocations: 25.09 kB / 385.1 MB, free: 11.24 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.0002895/0.2924, allocations: 209.8 kB / 385.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.923e-05/0.2925, allocations: 76.28 kB / 385.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/0.2926, allocations: 77.19 kB / 385.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.2927, allocations: 14.3 kB / 385.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.2927, allocations: 1.438 kB / 385.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001945/0.2946, allocations: 1.102 MB / 386.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002533/0.2972, allocations: 1.559 MB / 388.1 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.2972, allocations: 0 / 388.1 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006056/0.2978, allocations: 118.6 kB / 388.3 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005301/0.2983, allocations: 184.2 kB / 388.4 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.579e-05/0.2984, allocations: 12.64 kB / 388.5 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003938/0.3023, allocations: 3.661 MB / 392.1 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3023, allocations: 0 / 392.1 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002206/0.3046, allocations: 1.069 MB / 393.2 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002619/0.3048, allocations: 210.4 kB / 393.4 MB, free: 5.578 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.997e-05/0.3049, allocations: 27.33 kB / 393.4 MB, free: 5.559 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005701/0.3055, allocations: 53.34 kB / 393.5 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.3056, allocations: 53.06 kB / 393.5 MB, free: 5.539 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.3057, allocations: 16.19 kB / 393.5 MB, free: 5.535 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000453/0.3061, allocations: 415 kB / 393.9 MB, free: 5.348 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3062, allocations: 4 kB / 393.9 MB, free: 5.344 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008379/0.307, allocations: 253.4 kB / 394.2 MB, free: 5.305 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.0001243/0.3071, allocations: 117.9 kB / 394.3 MB, free: 5.203 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001943/0.3091, allocations: 1.061 MB / 395.4 MB, free: 4.602 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.3091, allocations: 1.375 kB / 395.4 MB, free: 4.602 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008706/0.31, allocations: 0.5582 MB / 395.9 MB, free: 4.219 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008681/0.3109, allocations: 200.7 kB / 396.1 MB, free: 4.113 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.3131, allocations: 1.563 MB / 397.7 MB, free: 3.059 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.3134, allocations: 0.9177 MB / 398.6 MB, free: 2.262 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003765/0.3138, allocations: 89.27 kB / 398.7 MB, free: 2.219 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.314, allocations: 52.59 kB / 398.7 MB, free: 2.207 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.314, allocations: 0 / 398.7 MB, free: 2.207 MB / 302.1 MB Notification: Performance of Templates: time 0.02102/0.335, allocations: 14.35 MB / 413.1 MB, free: 6.027 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches