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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001182/0.001182, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.275/1.275, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009833/0.0009832, allocations: 101.6 kB / 296.7 MB, free: 6.504 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008602/0.0008603, allocations: 47.92 kB / 356.6 MB, free: 10.63 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1874, allocations: 50.45 MB / 407.1 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.004187/0.1916, allocations: 4.858 MB / 411.9 MB, free: 22.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002018/0.1937, allocations: 1.382 MB / 413.3 MB, free: 21.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003301/0.1941, allocations: 11.94 kB / 413.3 MB, free: 21.56 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003327/0.1944, allocations: 119.2 kB / 413.4 MB, free: 21.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005423/0.195, allocations: 313.8 kB / 413.7 MB, free: 21.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003641/0.1953, allocations: 191.8 kB / 413.9 MB, free: 20.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006632/0.196, allocations: 0.978 MB / 414.9 MB, free: 19.97 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003106/0.1963, allocations: 265.9 kB / 415.2 MB, free: 19.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003637/0.1967, allocations: 378.6 kB / 415.5 MB, free: 19.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003025/0.197, allocations: 434.1 kB / 415.9 MB, free: 18.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.229e-05/0.1971, allocations: 64 kB / 416 MB, free: 18.83 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.1973, allocations: 64 kB / 416.1 MB, free: 18.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.1974, allocations: 171.3 kB / 416.2 MB, free: 18.6 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002964/0.1977, allocations: 453.8 kB / 416.7 MB, free: 18.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005732/0.1982, allocations: 1.039 MB / 417.7 MB, free: 17.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1983, allocations: 0 / 417.7 MB, free: 17.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1983, allocations: 4 kB / 417.7 MB, free: 17.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.1983, allocations: 0 / 417.7 MB, free: 17.11 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.001851/0.2001, allocations: 1.212 MB / 418.9 MB, free: 15.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.2002, allocations: 8.031 kB / 418.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.2003, allocations: 103.8 kB / 419 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005574/0.2009, allocations: 0.5081 MB / 419.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.201, allocations: 105.3 kB / 419.7 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.074e-05/0.2011, allocations: 52.38 kB / 419.7 MB, free: 15.01 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.2021, allocations: 0.7927 MB / 420.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/0.2022, allocations: 0 / 420.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.169e-05/0.2022, allocations: 24 kB / 420.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.2022, allocations: 16 kB / 420.5 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.2033, allocations: 0.4958 MB / 421 MB, free: 13.58 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.002648/0.2059, allocations: 2.162 MB / 423.2 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.2071, allocations: 0.5265 MB / 423.7 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005038/0.2076, allocations: 266.4 kB / 424 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.614e-05/0.2077, allocations: 16.88 kB / 424 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000679/0.2083, allocations: 326.9 kB / 424.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of pre-optimization done (n=56): time 3.947e-06/0.2084, allocations: 4 kB / 424.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=56): time 0.004401/0.2128, allocations: 1.481 MB / 425.8 MB, free: 8.594 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/0.2129, allocations: 0.8233 MB / 426.6 MB, free: 7.574 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005149/0.2134, allocations: 0.5901 MB / 427.2 MB, free: 6.977 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.041e-05/0.2135, allocations: 41.7 kB / 427.3 MB, free: 6.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.2137, allocations: 332.8 kB / 427.6 MB, free: 6.602 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.2138, allocations: 193.2 kB / 427.8 MB, free: 6.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.214, allocations: 138.1 kB / 427.9 MB, free: 6.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.503e-05/0.214, allocations: 378.8 kB / 428.3 MB, free: 5.891 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004969/0.2145, allocations: 213 kB / 428.5 MB, free: 5.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006548/0.2152, allocations: 0.5169 MB / 429 MB, free: 5.047 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.2162, allocations: 0.5615 MB / 429.6 MB, free: 4.438 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.2162, allocations: 4 kB / 429.6 MB, free: 4.434 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001949/0.2182, allocations: 0.909 MB / 430.5 MB, free: 3.504 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.835e-05/0.2182, allocations: 59.41 kB / 430.5 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.2183, allocations: 0 / 430.5 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006339/0.2189, allocations: 217.6 kB / 430.7 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005811/0.2195, allocations: 115.8 kB / 430.9 MB, free: 3.102 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005327/0.2248, allocations: 4.191 MB / 435.1 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008339/0.2257, allocations: 83.48 kB / 435.1 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.866e-05/0.2258, allocations: 23.98 kB / 435.2 MB, free: 14.54 MB / 314.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 (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.0003455/0.2261, allocations: 211.2 kB / 435.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.2263, allocations: 87.06 kB / 435.4 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.2264, allocations: 74.86 kB / 435.5 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.2264, allocations: 4 kB / 435.5 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2264, allocations: 3.938 kB / 435.5 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002051/0.2285, allocations: 1.05 MB / 436.6 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002686/0.2312, allocations: 1.548 MB / 438.1 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.2312, allocations: 4 kB / 438.1 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006351/0.2318, allocations: 107.8 kB / 438.2 MB, free: 11.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005461/0.2324, allocations: 173.6 kB / 438.4 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.519e-05/0.2325, allocations: 8 kB / 438.4 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004663/0.2371, allocations: 3.6 MB / 442 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2372, allocations: 128 / 442 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006754/0.2439, allocations: 3.02 MB / 445 MB, free: 4.035 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003667/0.2443, allocations: 212.1 kB / 445.2 MB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.139e-05/0.2444, allocations: 16 kB / 445.3 MB, free: 3.793 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005712/0.245, allocations: 43.95 kB / 445.3 MB, free: 3.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/0.2452, allocations: 48.48 kB / 445.3 MB, free: 3.703 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.2452, allocations: 19.98 kB / 445.4 MB, free: 3.684 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004548/0.2457, allocations: 415.1 kB / 445.8 MB, free: 3.285 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2457, allocations: 64 / 445.8 MB, free: 3.285 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009116/0.2466, allocations: 311.6 kB / 446.1 MB, free: 2.98 MB / 314.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 (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.0001934/0.2468, allocations: 130.9 kB / 446.2 MB, free: 2.848 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002004/0.2488, allocations: 0.9993 MB / 447.2 MB, free: 1.793 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.2489, allocations: 0.5 kB / 447.2 MB, free: 1.793 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009334/0.2498, allocations: 0.5472 MB / 447.8 MB, free: 1.223 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008969/0.2507, allocations: 194.9 kB / 447.9 MB, free: 1.031 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002793/0.2535, allocations: 1.846 MB / 449.8 MB, free: 15.15 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004752/0.254, allocations: 0.9317 MB / 450.7 MB, free: 14.19 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003928/0.2544, allocations: 89.16 kB / 450.8 MB, free: 14.1 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.2546, allocations: 47.44 kB / 450.9 MB, free: 14.05 MB / 330.7 MB Notification: Performance of SimCode: time 6.61e-07/0.2546, allocations: 3.938 kB / 450.9 MB, free: 14.05 MB / 330.7 MB Notification: Performance of Templates: time 0.02501/0.2796, allocations: 15.9 MB / 466.8 MB, free: 14.36 MB / 346.7 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@2/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