Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 113.2 kB / 18.4 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001286, allocations: 189.2 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 47.94 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09919/0.1007, allocations: 46.61 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.235/0.3358, allocations: 4.833 MB / 380.6 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003251/0.3391, allocations: 1.404 MB / 382 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00039/0.3395, allocations: 6.875 kB / 382 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004844/0.3401, allocations: 151.1 kB / 382.2 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007751/0.3409, allocations: 348.1 kB / 382.5 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005692/0.3414, allocations: 209.1 kB / 382.7 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001155/0.3426, allocations: 1.034 MB / 383.8 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000566/0.3432, allocations: 300.8 kB / 384.1 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006736/0.3439, allocations: 407.1 kB / 384.5 MB, free: 9.023 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005699/0.3444, allocations: 449.3 kB / 384.9 MB, free: 8.902 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001838/0.3446, allocations: 88.66 kB / 385 MB, free: 8.902 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/0.3448, allocations: 89.31 kB / 385.1 MB, free: 8.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001788/0.345, allocations: 202.4 kB / 385.3 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004727/0.3455, allocations: 477.5 kB / 385.7 MB, free: 8.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.3468, allocations: 1.077 MB / 386.8 MB, free: 8.102 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3468, allocations: 1.312 kB / 386.8 MB, free: 8.102 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3468, allocations: 0 / 386.8 MB, free: 8.102 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.08e-05/0.3469, allocations: 0 / 386.8 MB, free: 8.102 MB / 318.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.002509/0.3494, allocations: 1.218 MB / 388 MB, free: 7.246 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.3494, allocations: 8.344 kB / 388 MB, free: 7.246 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002243/0.3497, allocations: 101.9 kB / 388.1 MB, free: 7.199 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000965/0.3506, allocations: 0.5092 MB / 388.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001614/0.3508, allocations: 99.78 kB / 388.7 MB, free: 6.738 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-05/0.3509, allocations: 50.36 kB / 388.8 MB, free: 6.723 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.3525, allocations: 0.7995 MB / 389.6 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.3526, allocations: 4.656 kB / 389.6 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.802e-05/0.3526, allocations: 24.03 kB / 389.6 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.3527, allocations: 12.41 kB / 389.6 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/0.3541, allocations: 0.5014 MB / 390.1 MB, free: 6.023 MB / 318.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.004111/0.3582, allocations: 2.148 MB / 392.3 MB, free: 4.645 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.3597, allocations: 0.5293 MB / 392.8 MB, free: 4.438 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006417/0.3604, allocations: 267.6 kB / 393.1 MB, free: 4.336 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.529e-05/0.3604, allocations: 16.25 kB / 393.1 MB, free: 4.332 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009577/0.3614, allocations: 317.6 kB / 393.4 MB, free: 4.203 MB / 318.1 MB Notification: Performance of pre-optimization done (n=56): time 3.777e-06/0.3614, allocations: 0 / 393.4 MB, free: 4.203 MB / 318.1 MB Notification: Performance of matching and sorting (n=56): time 0.005774/0.3672, allocations: 1.499 MB / 394.9 MB, free: 3.613 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000297/0.3675, allocations: 0.8242 MB / 395.7 MB, free: 2.609 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.3685, allocations: 0.5912 MB / 396.3 MB, free: 2.336 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.3687, allocations: 40.98 kB / 396.4 MB, free: 2.297 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000308/0.369, allocations: 330.6 kB / 396.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/0.3692, allocations: 187.7 kB / 396.9 MB, free: 1.891 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002714/0.3695, allocations: 130.9 kB / 397 MB, free: 1.824 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3696, allocations: 384.6 kB / 397.4 MB, free: 1.477 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006202/0.3703, allocations: 208.3 kB / 397.6 MB, free: 1.414 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009309/0.3712, allocations: 0.5201 MB / 398.1 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.3724, allocations: 0.5588 MB / 398.6 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.3724, allocations: 1.625 kB / 398.6 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002525/0.375, allocations: 0.9054 MB / 399.6 MB, free: 260 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.822e-05/0.3751, allocations: 60.67 kB / 399.6 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.3751, allocations: 2.469 kB / 399.6 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008531/0.3759, allocations: 222.5 kB / 399.8 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006628/0.3766, allocations: 120.9 kB / 400 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007027/0.3837, allocations: 4.582 MB / 404.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.3848, allocations: 90.78 kB / 404.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.483e-05/0.3849, allocations: 21.3 kB / 404.6 MB, free: 12.39 MB / 334.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.0004572/0.3853, allocations: 220.3 kB / 404.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.3855, allocations: 81.02 kB / 404.9 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/0.3857, allocations: 78.34 kB / 405 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.3857, allocations: 9.406 kB / 405 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.3857, allocations: 0 / 405 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00219/0.3879, allocations: 1.051 MB / 406.1 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002974/0.3909, allocations: 1.537 MB / 407.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.3909, allocations: 0 / 407.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006232/0.3916, allocations: 108.9 kB / 407.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006115/0.3922, allocations: 170.2 kB / 407.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.477e-05/0.3922, allocations: 14.8 kB / 407.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00529/0.3975, allocations: 3.934 MB / 411.8 MB, free: 6.488 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3976, allocations: 0 / 411.8 MB, free: 6.488 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002661/0.4002, allocations: 1.024 MB / 412.9 MB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004638/0.4007, allocations: 217.5 kB / 413.1 MB, free: 5.688 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.4009, allocations: 14.53 kB / 413.1 MB, free: 5.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006275/0.4015, allocations: 45.45 kB / 413.1 MB, free: 5.656 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/0.4017, allocations: 50.61 kB / 413.2 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.132e-05/0.4017, allocations: 18.14 kB / 413.2 MB, free: 5.621 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005862/0.4023, allocations: 417.4 kB / 413.6 MB, free: 5.379 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4023, allocations: 0 / 413.6 MB, free: 5.379 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009743/0.4033, allocations: 257.3 kB / 413.9 MB, free: 5.336 MB / 334.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.0001809/0.4035, allocations: 120.5 kB / 414 MB, free: 5.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002292/0.4058, allocations: 1.023 MB / 415 MB, free: 4.527 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.4058, allocations: 2.094 kB / 415 MB, free: 4.527 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009525/0.4068, allocations: 0.5472 MB / 415.5 MB, free: 4.137 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.4078, allocations: 217.9 kB / 415.8 MB, free: 4.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002715/0.4105, allocations: 1.333 MB / 417.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005566/0.4111, allocations: 0.9172 MB / 418 MB, free: 2.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.4113, allocations: 55.44 kB / 418.1 MB, free: 2.398 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4113, allocations: 0 / 418.1 MB, free: 2.398 MB / 334.1 MB Notification: Performance of Templates: time 0.02174/0.433, allocations: 16.17 MB / 434.2 MB, free: 2.91 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches