Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009409/0.0009407, allocations: 178.5 kB / 17.36 MB, free: 4.32 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.6 MB / 223.7 MB, free: 8.957 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007203/0.0007204, allocations: 86.44 kB / 272.1 MB, free: 8.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002527/0.0002527, allocations: 8 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3235, allocations: 47.57 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.007238/0.3308, allocations: 4.237 MB / 380.8 MB, free: 42.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004033/0.3349, allocations: 1.499 MB / 382.3 MB, free: 40.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.336, allocations: 11.41 kB / 382.3 MB, free: 40.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000773/0.3368, allocations: 125.5 kB / 382.5 MB, free: 40.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001823/0.3386, allocations: 305 kB / 382.8 MB, free: 40.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009016/0.3396, allocations: 189.4 kB / 382.9 MB, free: 40.45 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002093/0.3417, allocations: 0.9856 MB / 383.9 MB, free: 39.87 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006921/0.3424, allocations: 264 kB / 384.2 MB, free: 39.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.3436, allocations: 364.8 kB / 384.5 MB, free: 39.51 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/0.3447, allocations: 416.1 kB / 385 MB, free: 39.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000394/0.3452, allocations: 57 kB / 385 MB, free: 39.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006951/0.3459, allocations: 57.84 kB / 385.1 MB, free: 39.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002855/0.3462, allocations: 167.7 kB / 385.2 MB, free: 39.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009803/0.3472, allocations: 463.7 kB / 385.7 MB, free: 38.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001388/0.3486, allocations: 1.015 MB / 386.7 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.136e-06/0.3486, allocations: 4 kB / 386.7 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.3486, allocations: 0 / 386.7 MB, free: 38.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.579e-05/0.3486, allocations: 0 / 386.7 MB, free: 38.02 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.002914/0.3516, allocations: 1.08 MB / 387.8 MB, free: 37.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.091e-05/0.3517, allocations: 9.625 kB / 387.8 MB, free: 37.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002745/0.3519, allocations: 98.47 kB / 387.9 MB, free: 37.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009523/0.3529, allocations: 0.5081 MB / 388.4 MB, free: 36.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000194/0.3531, allocations: 101.3 kB / 388.5 MB, free: 36.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.3532, allocations: 52.38 kB / 388.5 MB, free: 36.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.355, allocations: 0.8083 MB / 389.4 MB, free: 35.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.355, allocations: 0 / 389.4 MB, free: 35.45 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-05/0.3551, allocations: 35.98 kB / 389.4 MB, free: 35.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.3551, allocations: 12 kB / 389.4 MB, free: 35.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/0.3568, allocations: 0.5309 MB / 389.9 MB, free: 34.87 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.00411/0.3609, allocations: 2.169 MB / 392.1 MB, free: 32.56 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.3627, allocations: 0.5643 MB / 392.7 MB, free: 31.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008013/0.3635, allocations: 266.4 kB / 392.9 MB, free: 31.72 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.421e-05/0.3636, allocations: 13.66 kB / 392.9 MB, free: 31.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001056/0.3646, allocations: 343 kB / 393.3 MB, free: 31.36 MB / 298.7 MB Notification: Performance of pre-optimization done (n=56): time 3.958e-06/0.3647, allocations: 0 / 393.3 MB, free: 31.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=56): time 0.006948/0.3716, allocations: 1.598 MB / 394.9 MB, free: 29.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002435/0.3719, allocations: 0.8271 MB / 395.7 MB, free: 28.69 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.373, allocations: 0.59 MB / 396.3 MB, free: 28.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.881e-05/0.3731, allocations: 41.7 kB / 396.3 MB, free: 28.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003214/0.3735, allocations: 336.8 kB / 396.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002164/0.3737, allocations: 185.2 kB / 396.8 MB, free: 27.53 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-05/0.3738, allocations: 12 kB / 396.8 MB, free: 27.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3739, allocations: 378.8 kB / 397.2 MB, free: 27.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007965/0.3747, allocations: 221 kB / 397.4 MB, free: 26.92 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/0.3758, allocations: 0.5364 MB / 398 MB, free: 26.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/0.3774, allocations: 0.5966 MB / 398.6 MB, free: 25.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.3775, allocations: 4 kB / 398.6 MB, free: 25.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002554/0.38, allocations: 0.8662 MB / 399.4 MB, free: 24.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.732e-05/0.3801, allocations: 59.41 kB / 399.5 MB, free: 24.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.3801, allocations: 7.984 kB / 399.5 MB, free: 24.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008838/0.381, allocations: 233.5 kB / 399.7 MB, free: 24.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007598/0.3818, allocations: 115.9 kB / 399.8 MB, free: 24.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007303/0.3891, allocations: 4.283 MB / 404.1 MB, free: 19.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.3904, allocations: 95.42 kB / 404.2 MB, free: 19.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.3905, allocations: 20 kB / 404.2 MB, free: 19.64 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.0005347/0.3911, allocations: 221.8 kB / 404.5 MB, free: 19.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002282/0.3913, allocations: 79.16 kB / 404.5 MB, free: 19.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.3916, allocations: 74.86 kB / 404.6 MB, free: 19.26 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.3916, allocations: 8 kB / 404.6 MB, free: 19.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.3916, allocations: 0 / 404.6 MB, free: 19.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002836/0.3944, allocations: 1.101 MB / 405.7 MB, free: 18.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0038/0.3983, allocations: 1.58 MB / 407.3 MB, free: 16.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.3983, allocations: 4 kB / 407.3 MB, free: 16.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008415/0.3991, allocations: 111.9 kB / 407.4 MB, free: 16.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000745/0.3999, allocations: 173.6 kB / 407.6 MB, free: 16.1 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.106e-05/0.4, allocations: 12 kB / 407.6 MB, free: 16.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005796/0.4058, allocations: 3.674 MB / 411.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4058, allocations: 0 / 411.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003149/0.409, allocations: 1.074 MB / 412.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006174/0.4096, allocations: 216.3 kB / 412.6 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002898/0.4099, allocations: 12 kB / 412.6 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.4109, allocations: 55.95 kB / 412.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002211/0.4112, allocations: 52.48 kB / 412.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.362e-05/0.4112, allocations: 23.98 kB / 412.7 MB, free: 10.67 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000867/0.4121, allocations: 411.1 kB / 413.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4121, allocations: 0 / 413.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001531/0.4137, allocations: 251.7 kB / 413.3 MB, free: 10.03 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 (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.0002081/0.4139, allocations: 120.2 kB / 413.5 MB, free: 9.906 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002926/0.4168, allocations: 1.058 MB / 414.5 MB, free: 8.797 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.4168, allocations: 4 kB / 414.5 MB, free: 8.793 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001234/0.4181, allocations: 0.5595 MB / 415.1 MB, free: 8.207 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/0.4196, allocations: 197.7 kB / 415.3 MB, free: 8.016 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003556/0.4232, allocations: 1.616 MB / 416.9 MB, free: 6.379 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004261/0.4237, allocations: 0.9122 MB / 417.8 MB, free: 5.441 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006326/0.4243, allocations: 85.22 kB / 417.9 MB, free: 5.359 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/0.4245, allocations: 51.44 kB / 417.9 MB, free: 5.309 MB / 298.7 MB Notification: Performance of SimCode: time 7.72e-07/0.4245, allocations: 0 / 417.9 MB, free: 5.309 MB / 298.7 MB Notification: Performance of Templates: time 0.03608/0.4606, allocations: 14.97 MB / 432.9 MB, free: 6.398 MB / 314.7 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/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_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches