Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 183.2 kB / 16.71 MB, free: 4.945 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 225.7 MB / 243.2 MB, free: 8.457 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007898/0.0007898, allocations: 91.23 kB / 294.4 MB, free: 9.504 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003309/0.0003311, allocations: 11.94 kB / 354.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.246, allocations: 50.41 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.003304/0.2494, allocations: 4.238 MB / 408.8 MB, free: 27.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.2512, allocations: 1.451 MB / 410.3 MB, free: 25.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002261/0.2514, allocations: 8 kB / 410.3 MB, free: 25.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002806/0.2517, allocations: 119.2 kB / 410.4 MB, free: 25.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004683/0.2522, allocations: 301.8 kB / 410.7 MB, free: 25.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.2525, allocations: 191.7 kB / 410.9 MB, free: 24.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005743/0.2531, allocations: 0.9801 MB / 411.9 MB, free: 23.99 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002724/0.2534, allocations: 253.9 kB / 412.1 MB, free: 23.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002824/0.2537, allocations: 370.6 kB / 412.5 MB, free: 23.37 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002995/0.254, allocations: 414.2 kB / 412.9 MB, free: 22.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.543e-05/0.2541, allocations: 56 kB / 412.9 MB, free: 22.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.2542, allocations: 60 kB / 413 MB, free: 22.85 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.2543, allocations: 163.3 kB / 413.1 MB, free: 22.69 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002902/0.2546, allocations: 467.5 kB / 413.6 MB, free: 22.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005492/0.2552, allocations: 1.012 MB / 414.6 MB, free: 21.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2552, allocations: 7.984 kB / 414.6 MB, free: 21.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2552, allocations: 0 / 414.6 MB, free: 21.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.2552, allocations: 0 / 414.6 MB, free: 21.2 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.00151/0.2567, allocations: 1.078 MB / 415.7 MB, free: 20.06 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.2568, allocations: 8.031 kB / 415.7 MB, free: 20.05 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.2569, allocations: 103.8 kB / 415.8 MB, free: 19.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005131/0.2574, allocations: 0.5042 MB / 416.3 MB, free: 19.4 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.2575, allocations: 109.3 kB / 416.4 MB, free: 19.29 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.057e-05/0.2576, allocations: 48.38 kB / 416.5 MB, free: 19.24 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.2587, allocations: 0.8123 MB / 417.3 MB, free: 18.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.2587, allocations: 7.906 kB / 417.3 MB, free: 18.31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.213e-05/0.2587, allocations: 28 kB / 417.3 MB, free: 18.28 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.527e-06/0.2588, allocations: 12 kB / 417.3 MB, free: 18.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.2598, allocations: 0.5269 MB / 417.8 MB, free: 17.75 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.002642/0.2625, allocations: 2.162 MB / 420 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.2636, allocations: 0.5652 MB / 420.6 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005045/0.2641, allocations: 278.4 kB / 420.8 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.102e-05/0.2641, allocations: 12.62 kB / 420.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007062/0.2649, allocations: 343 kB / 421.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=56): time 2.705e-06/0.2649, allocations: 0 / 421.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=56): time 0.004299/0.2692, allocations: 1.598 MB / 422.8 MB, free: 12.58 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.2693, allocations: 0.8233 MB / 423.6 MB, free: 11.56 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005506/0.2699, allocations: 0.5823 MB / 424.2 MB, free: 10.97 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.621e-05/0.2699, allocations: 45.7 kB / 424.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.2701, allocations: 336.7 kB / 424.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.2702, allocations: 189.2 kB / 424.8 MB, free: 10.4 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/0.2702, allocations: 8 kB / 424.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.311e-05/0.2703, allocations: 378.8 kB / 425.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005142/0.2708, allocations: 229 kB / 425.4 MB, free: 9.793 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006487/0.2715, allocations: 0.5286 MB / 425.9 MB, free: 9.145 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.2725, allocations: 0.6005 MB / 426.5 MB, free: 8.496 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2725, allocations: 0 / 426.5 MB, free: 8.496 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00161/0.2742, allocations: 0.8624 MB / 427.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/0.2742, allocations: 59.41 kB / 427.4 MB, free: 7.543 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.2742, allocations: 0 / 427.4 MB, free: 7.543 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006517/0.2749, allocations: 237.5 kB / 427.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000594/0.2755, allocations: 119.9 kB / 427.8 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00536/0.2809, allocations: 4.295 MB / 432 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007692/0.2817, allocations: 91.42 kB / 432.1 MB, free: 2.531 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/0.2817, allocations: 20 kB / 432.2 MB, free: 2.512 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 (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.0003012/0.282, allocations: 221.8 kB / 432.4 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.194e-05/0.2821, allocations: 79.06 kB / 432.5 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.2822, allocations: 78.86 kB / 432.5 MB, free: 2.129 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.2823, allocations: 4 kB / 432.5 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2823, allocations: 0 / 432.5 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002045/0.2843, allocations: 1.101 MB / 433.6 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002395/0.2867, allocations: 1.572 MB / 435.2 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2867, allocations: 4 kB / 435.2 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005685/0.2873, allocations: 112.1 kB / 435.3 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005137/0.2878, allocations: 181.5 kB / 435.5 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.24e-05/0.2879, allocations: 8 kB / 435.5 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004363/0.2923, allocations: 3.67 MB / 439.2 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.2923, allocations: 0 / 439.2 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002338/0.2946, allocations: 1.07 MB / 440.2 MB, free: 9.926 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003322/0.295, allocations: 220 kB / 440.5 MB, free: 9.691 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.2951, allocations: 12 kB / 440.5 MB, free: 9.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005504/0.2957, allocations: 55.95 kB / 440.5 MB, free: 9.625 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.2958, allocations: 52.55 kB / 440.6 MB, free: 9.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.371e-05/0.2959, allocations: 16 kB / 440.6 MB, free: 9.555 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004601/0.2963, allocations: 415.2 kB / 441 MB, free: 9.156 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2963, allocations: 3.938 kB / 441 MB, free: 9.152 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007659/0.2971, allocations: 251.7 kB / 441.2 MB, free: 8.906 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.0001597/0.2973, allocations: 124.3 kB / 441.4 MB, free: 8.777 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00208/0.2994, allocations: 1.062 MB / 442.4 MB, free: 7.664 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2994, allocations: 0 / 442.4 MB, free: 7.664 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008943/0.3003, allocations: 0.5594 MB / 443 MB, free: 7.082 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009231/0.3012, allocations: 199 kB / 443.2 MB, free: 6.887 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/0.3038, allocations: 1.617 MB / 444.8 MB, free: 5.238 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004869/0.3043, allocations: 0.9198 MB / 445.7 MB, free: 4.289 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004414/0.3048, allocations: 85.22 kB / 445.8 MB, free: 4.207 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.3049, allocations: 51.42 kB / 445.9 MB, free: 4.16 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.3049, allocations: 0 / 445.9 MB, free: 4.16 MB / 314.7 MB Notification: Performance of Templates: time 0.02343/0.3284, allocations: 14.97 MB / 460.8 MB, free: 5.277 MB / 330.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches