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.001162/0.001162, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001204/0.001204, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 59.03 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1166, allocations: 50.54 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.005955/0.1227, allocations: 4.83 MB / 363.7 MB, free: 8.465 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002423/0.1251, allocations: 1.394 MB / 365.1 MB, free: 7.062 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002799/0.1254, allocations: 8 kB / 365.1 MB, free: 7.055 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003956/0.1258, allocations: 154.7 kB / 365.3 MB, free: 6.902 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005764/0.1264, allocations: 337.4 kB / 365.6 MB, free: 6.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004198/0.1269, allocations: 215.6 kB / 365.8 MB, free: 6.359 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009226/0.1278, allocations: 1.034 MB / 366.9 MB, free: 5.328 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003778/0.1282, allocations: 301.8 kB / 367.2 MB, free: 5.016 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004698/0.1287, allocations: 410.5 kB / 367.6 MB, free: 4.613 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004834/0.1292, allocations: 446.1 kB / 368 MB, free: 4.176 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.1293, allocations: 88 kB / 368.1 MB, free: 4.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.1294, allocations: 96 kB / 368.2 MB, free: 3.996 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.1296, allocations: 203.2 kB / 368.4 MB, free: 3.797 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003872/0.13, allocations: 473.8 kB / 368.8 MB, free: 3.332 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008459/0.1308, allocations: 1.074 MB / 369.9 MB, free: 2.254 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1309, allocations: 0 / 369.9 MB, free: 2.254 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1309, allocations: 0 / 369.9 MB, free: 2.254 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.1309, allocations: 0 / 369.9 MB, free: 2.254 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.002097/0.133, allocations: 1.22 MB / 371.1 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.133, allocations: 16.03 kB / 371.1 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.1332, allocations: 95.91 kB / 371.2 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007665/0.134, allocations: 0.5042 MB / 371.7 MB, free: 316 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001457/0.1341, allocations: 109.3 kB / 371.8 MB, free: 192 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.343e-05/0.1342, allocations: 48.38 kB / 371.9 MB, free: 144 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1814/0.3156, allocations: 0.7983 MB / 372.7 MB, free: 20.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.3157, allocations: 1.188 kB / 372.7 MB, free: 20.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-05/0.3157, allocations: 24.33 kB / 372.7 MB, free: 20.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.3158, allocations: 12.62 kB / 372.7 MB, free: 20.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.317, allocations: 0.4999 MB / 373.2 MB, free: 20.21 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.003219/0.3202, allocations: 2.138 MB / 375.4 MB, free: 18.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/0.3215, allocations: 0.5359 MB / 375.9 MB, free: 18.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005584/0.3221, allocations: 264.6 kB / 376.2 MB, free: 18.61 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.239e-05/0.3222, allocations: 13.97 kB / 376.2 MB, free: 18.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006624/0.3228, allocations: 319.5 kB / 376.5 MB, free: 18.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=56): time 2.434e-06/0.3229, allocations: 0 / 376.5 MB, free: 18.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=56): time 0.004819/0.3277, allocations: 1.489 MB / 378 MB, free: 17.94 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002436/0.3279, allocations: 0.8218 MB / 378.8 MB, free: 16.94 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000875/0.3288, allocations: 0.59 MB / 379.4 MB, free: 16.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.955e-05/0.3289, allocations: 44.8 kB / 379.4 MB, free: 16.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/0.3291, allocations: 343.2 kB / 379.8 MB, free: 16.37 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.3293, allocations: 183.8 kB / 379.9 MB, free: 16.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/0.3295, allocations: 131.5 kB / 380.1 MB, free: 16.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3297, allocations: 376.2 kB / 380.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000576/0.3302, allocations: 208.2 kB / 380.6 MB, free: 15.76 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007933/0.331, allocations: 0.5237 MB / 381.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.3322, allocations: 0.5629 MB / 381.7 MB, free: 14.99 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.3322, allocations: 1.156 kB / 381.7 MB, free: 14.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00228/0.3345, allocations: 0.901 MB / 382.6 MB, free: 14.6 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/0.3346, allocations: 60.45 kB / 382.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.3346, allocations: 1.781 kB / 382.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007275/0.3353, allocations: 230.5 kB / 382.9 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006302/0.336, allocations: 119.6 kB / 383 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006121/0.3421, allocations: 4.592 MB / 387.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008173/0.3429, allocations: 86.09 kB / 387.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.223e-05/0.343, allocations: 21.62 kB / 387.7 MB, free: 10.73 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.0003602/0.3434, allocations: 216.5 kB / 387.9 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.3435, allocations: 80.59 kB / 388 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/0.3436, allocations: 78.38 kB / 388.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.3437, allocations: 5.188 kB / 388.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.3437, allocations: 5.5 kB / 388.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002011/0.3457, allocations: 1.051 MB / 389.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002883/0.3486, allocations: 1.535 MB / 390.7 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3486, allocations: 0 / 390.7 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005881/0.3492, allocations: 112.8 kB / 390.8 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005141/0.3497, allocations: 175.9 kB / 391 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.655e-05/0.3498, allocations: 12.53 kB / 391 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004118/0.3539, allocations: 3.92 MB / 394.9 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3539, allocations: 4.125 kB / 394.9 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002414/0.3563, allocations: 1.024 MB / 395.9 MB, free: 4.707 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004004/0.3567, allocations: 214.1 kB / 396.1 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.808e-05/0.3568, allocations: 13.92 kB / 396.2 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005454/0.3574, allocations: 54.2 kB / 396.2 MB, free: 4.469 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/0.3576, allocations: 51.58 kB / 396.3 MB, free: 4.441 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/0.3576, allocations: 12.78 kB / 396.3 MB, free: 4.438 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005248/0.3581, allocations: 417.3 kB / 396.7 MB, free: 4.199 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3581, allocations: 0 / 396.7 MB, free: 4.199 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009245/0.3591, allocations: 249.1 kB / 396.9 MB, free: 4.164 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.0001743/0.3593, allocations: 121.2 kB / 397 MB, free: 4.055 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001906/0.3612, allocations: 1.017 MB / 398.1 MB, free: 3.363 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.3612, allocations: 6.75 kB / 398.1 MB, free: 3.359 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008496/0.362, allocations: 0.5511 MB / 398.6 MB, free: 2.957 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008295/0.3629, allocations: 220.4 kB / 398.8 MB, free: 2.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.3652, allocations: 1.287 MB / 400.1 MB, free: 2.082 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.3656, allocations: 0.9146 MB / 401 MB, free: 1.289 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003294/0.3659, allocations: 88.91 kB / 401.1 MB, free: 1.254 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.366, allocations: 61.05 kB / 401.2 MB, free: 1.234 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.366, allocations: 0 / 401.2 MB, free: 1.234 MB / 302.1 MB Notification: Performance of Templates: time 0.02428/0.3903, allocations: 16.18 MB / 417.4 MB, free: 2.648 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 -s cvode -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