Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009138/0.0009139, allocations: 177.5 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006941/0.0006941, allocations: 89.11 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002805/0.0002805, allocations: 8 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1906, allocations: 47.58 MB / 374.6 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.003483/0.1941, allocations: 4.223 MB / 378.8 MB, free: 42.1 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.1957, allocations: 1.318 MB / 380.1 MB, free: 41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002151/0.1959, allocations: 7.031 kB / 380.1 MB, free: 41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.1961, allocations: 100.8 kB / 380.2 MB, free: 40.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004325/0.1966, allocations: 304.7 kB / 380.5 MB, free: 40.67 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.1969, allocations: 157.7 kB / 380.6 MB, free: 40.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006277/0.1975, allocations: 0.9071 MB / 381.6 MB, free: 39.99 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002952/0.1978, allocations: 255.7 kB / 381.8 MB, free: 39.83 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003234/0.1981, allocations: 361 kB / 382.2 MB, free: 39.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003353/0.1985, allocations: 400 kB / 382.5 MB, free: 39.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.1986, allocations: 56.84 kB / 382.6 MB, free: 39.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.1987, allocations: 62.16 kB / 382.7 MB, free: 39.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.522e-05/0.1988, allocations: 158.8 kB / 382.8 MB, free: 39.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.199, allocations: 190.1 kB / 383 MB, free: 39.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004777/0.1995, allocations: 0.7837 MB / 383.8 MB, free: 38.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1995, allocations: 0 / 383.8 MB, free: 38.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1995, allocations: 1.375 kB / 383.8 MB, free: 38.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.1995, allocations: 0 / 383.8 MB, free: 38.54 MB / 298.7 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.001673/0.2012, allocations: 1.083 MB / 384.9 MB, free: 37.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.2012, allocations: 9.969 kB / 384.9 MB, free: 37.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.2014, allocations: 95.38 kB / 385 MB, free: 37.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005708/0.202, allocations: 0.4927 MB / 385.5 MB, free: 37.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.2021, allocations: 101.5 kB / 385.6 MB, free: 37.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.787e-05/0.2022, allocations: 51.09 kB / 385.6 MB, free: 37.1 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.2034, allocations: 0.8188 MB / 386.4 MB, free: 36.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.2034, allocations: 1.062 kB / 386.4 MB, free: 36.45 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.211e-05/0.2035, allocations: 28.2 kB / 386.5 MB, free: 36.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.2035, allocations: 12.47 kB / 386.5 MB, free: 36.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.2046, allocations: 0.5305 MB / 387 MB, free: 36.11 MB / 298.7 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.002494/0.2071, allocations: 2.165 MB / 389.2 MB, free: 33.81 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.2082, allocations: 0.5574 MB / 389.7 MB, free: 33.24 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000508/0.2087, allocations: 282.4 kB / 390 MB, free: 32.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.074e-05/0.2088, allocations: 20.92 kB / 390 MB, free: 32.94 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006654/0.2095, allocations: 331 kB / 390.4 MB, free: 32.61 MB / 298.7 MB Notification: Performance of pre-optimization done (n=56): time 2.655e-06/0.2095, allocations: 0 / 390.4 MB, free: 32.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=56): time 0.004409/0.2139, allocations: 1.591 MB / 391.9 MB, free: 30.96 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/0.214, allocations: 0.8233 MB / 392.8 MB, free: 29.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004892/0.2145, allocations: 0.59 MB / 393.4 MB, free: 29.35 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.847e-05/0.2146, allocations: 41.7 kB / 393.4 MB, free: 29.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.2148, allocations: 328.8 kB / 393.7 MB, free: 28.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.451e-05/0.2149, allocations: 193.2 kB / 393.9 MB, free: 28.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.2149, allocations: 16 kB / 393.9 MB, free: 28.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.944e-05/0.215, allocations: 378.8 kB / 394.3 MB, free: 28.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004971/0.2155, allocations: 221 kB / 394.5 MB, free: 28.17 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000638/0.2161, allocations: 0.5364 MB / 395 MB, free: 27.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005276/0.2167, allocations: 321.4 kB / 395.4 MB, free: 27.19 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2167, allocations: 4 kB / 395.4 MB, free: 27.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001614/0.2183, allocations: 0.8624 MB / 396.2 MB, free: 26.3 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.2183, allocations: 67.42 kB / 396.3 MB, free: 26.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2184, allocations: 4 kB / 396.3 MB, free: 26.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006213/0.219, allocations: 230.4 kB / 396.5 MB, free: 25.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005661/0.2196, allocations: 123.8 kB / 396.6 MB, free: 25.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005124/0.2247, allocations: 4.285 MB / 400.9 MB, free: 21.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007273/0.2254, allocations: 91.39 kB / 401 MB, free: 21.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.879e-05/0.2255, allocations: 31.98 kB / 401 MB, free: 21.2 MB / 298.7 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.0002397/0.2257, allocations: 209.8 kB / 401.2 MB, free: 20.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.417e-05/0.2258, allocations: 75.16 kB / 401.3 MB, free: 20.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.2259, allocations: 74.86 kB / 401.4 MB, free: 20.83 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2259, allocations: 8 kB / 401.4 MB, free: 20.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2259, allocations: 3.953 kB / 401.4 MB, free: 20.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001741/0.2277, allocations: 1.105 MB / 402.5 MB, free: 19.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002096/0.2298, allocations: 1.576 MB / 404.1 MB, free: 17.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.2298, allocations: 0 / 404.1 MB, free: 17.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000535/0.2304, allocations: 107.9 kB / 404.2 MB, free: 17.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004735/0.2308, allocations: 181.5 kB / 404.4 MB, free: 17.67 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.2309, allocations: 12 kB / 404.4 MB, free: 17.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003508/0.2344, allocations: 3.67 MB / 408.1 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.2344, allocations: 4.031 kB / 408.1 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.2363, allocations: 1.07 MB / 409.1 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002227/0.2366, allocations: 208.1 kB / 409.3 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.729e-05/0.2366, allocations: 20 kB / 409.3 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006128/0.2373, allocations: 59.92 kB / 409.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.2374, allocations: 52.44 kB / 409.5 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.2374, allocations: 19.98 kB / 409.5 MB, free: 12.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003523/0.2378, allocations: 411.1 kB / 409.9 MB, free: 11.85 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2378, allocations: 0 / 409.9 MB, free: 11.85 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006734/0.2385, allocations: 251.7 kB / 410.1 MB, free: 11.61 MB / 298.7 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.0001413/0.2386, allocations: 123.2 kB / 410.2 MB, free: 11.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001888/0.2405, allocations: 1.05 MB / 411.3 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.2405, allocations: 4 kB / 411.3 MB, free: 10.37 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008229/0.2414, allocations: 0.5634 MB / 411.9 MB, free: 9.781 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008244/0.2422, allocations: 203.1 kB / 412.1 MB, free: 9.582 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.2442, allocations: 1.585 MB / 413.6 MB, free: 7.977 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.2445, allocations: 0.9161 MB / 414.6 MB, free: 7.035 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.2446, allocations: 59.42 kB / 414.6 MB, free: 6.977 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.2446, allocations: 0 / 414.6 MB, free: 6.977 MB / 298.7 MB Notification: Performance of Templates: time 0.0155/0.2601, allocations: 16.05 MB / 430.7 MB, free: 6.922 MB / 314.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches