Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001092/0.001092, allocations: 191.4 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 54.92 kB / 301.3 MB, free: 5.898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09622/0.0979, allocations: 49.44 MB / 350.7 MB, free: 4.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006349/0.1043, allocations: 4.833 MB / 355.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002686/0.107, allocations: 1.34 MB / 356.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006957/0.1077, allocations: 15.94 kB / 356.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005646/0.1084, allocations: 150.7 kB / 357.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001042/0.1094, allocations: 341.4 kB / 357.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005937/0.11, allocations: 215.6 kB / 357.6 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001348/0.1114, allocations: 1.022 MB / 358.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000433/0.1118, allocations: 293.8 kB / 358.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005913/0.1124, allocations: 402.6 kB / 359.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005368/0.113, allocations: 450.1 kB / 359.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000133/0.1131, allocations: 92 kB / 359.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.1133, allocations: 92 kB / 359.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.1135, allocations: 191.3 kB / 360.1 MB, free: 11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004442/0.1139, allocations: 477.8 kB / 360.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009089/0.1148, allocations: 1.059 MB / 361.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1149, allocations: 0 / 361.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.805e-06/0.1149, allocations: 0 / 361.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.491e-05/0.1149, allocations: 3.938 kB / 361.6 MB, free: 9.461 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.002193/0.1171, allocations: 1.232 MB / 362.9 MB, free: 8.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.1171, allocations: 8.031 kB / 362.9 MB, free: 8.152 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.1173, allocations: 99.91 kB / 363 MB, free: 8.055 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006879/0.118, allocations: 0.5081 MB / 363.5 MB, free: 7.508 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/0.1182, allocations: 105.3 kB / 363.6 MB, free: 7.395 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.733e-05/0.1183, allocations: 48.38 kB / 363.6 MB, free: 7.348 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.1196, allocations: 0.8005 MB / 364.4 MB, free: 6.441 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.1196, allocations: 3.984 kB / 364.4 MB, free: 6.438 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-05/0.1197, allocations: 24 kB / 364.5 MB, free: 6.414 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.1197, allocations: 12 kB / 364.5 MB, free: 6.402 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.1209, allocations: 0.4958 MB / 365 MB, free: 5.906 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.003235/0.1242, allocations: 2.169 MB / 367.1 MB, free: 3.598 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.1255, allocations: 0.5341 MB / 367.7 MB, free: 3.055 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006024/0.1261, allocations: 266.3 kB / 367.9 MB, free: 2.793 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.482e-05/0.1262, allocations: 17.62 kB / 368 MB, free: 2.773 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007848/0.127, allocations: 319 kB / 368.3 MB, free: 2.453 MB / 302.1 MB Notification: Performance of pre-optimization done (n=56): time 2.685e-06/0.127, allocations: 0 / 368.3 MB, free: 2.453 MB / 302.1 MB Notification: Performance of matching and sorting (n=56): time 0.00499/0.132, allocations: 1.489 MB / 369.8 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1437/0.2757, allocations: 0.8194 MB / 370.6 MB, free: 25.89 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008577/0.2766, allocations: 0.5873 MB / 371.2 MB, free: 25.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001502/0.2768, allocations: 42.83 kB / 371.2 MB, free: 25.74 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.277, allocations: 331.3 kB / 371.5 MB, free: 25.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.2772, allocations: 196.9 kB / 371.7 MB, free: 25.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/0.2774, allocations: 126.7 kB / 371.8 MB, free: 25.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.2775, allocations: 380.7 kB / 372.2 MB, free: 25.28 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006192/0.2781, allocations: 209.6 kB / 372.4 MB, free: 25.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007782/0.2789, allocations: 0.5217 MB / 372.9 MB, free: 24.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.2801, allocations: 0.5631 MB / 373.5 MB, free: 24.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.2801, allocations: 2.062 kB / 373.5 MB, free: 24.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002314/0.2824, allocations: 0.9014 MB / 374.4 MB, free: 24.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.238e-05/0.2825, allocations: 64.56 kB / 374.5 MB, free: 24.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.2825, allocations: 5.734 kB / 374.5 MB, free: 24.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006963/0.2832, allocations: 221.4 kB / 374.7 MB, free: 24.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006271/0.2838, allocations: 118.7 kB / 374.8 MB, free: 24.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005651/0.2895, allocations: 4.595 MB / 379.4 MB, free: 20.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007868/0.2903, allocations: 85.55 kB / 379.5 MB, free: 20.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.321e-05/0.2904, allocations: 21.94 kB / 379.5 MB, free: 20.39 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.00028/0.2906, allocations: 216.7 kB / 379.7 MB, free: 20.22 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.2908, allocations: 81.25 kB / 379.8 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.2909, allocations: 81.12 kB / 379.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.2909, allocations: 6.062 kB / 379.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2909, allocations: 3.938 kB / 379.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00192/0.2929, allocations: 1.042 MB / 380.9 MB, free: 19.4 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002547/0.2954, allocations: 1.543 MB / 382.5 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2954, allocations: 0 / 382.5 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006181/0.2961, allocations: 106.9 kB / 382.6 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005239/0.2966, allocations: 171.8 kB / 382.7 MB, free: 18.51 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/0.2966, allocations: 17.75 kB / 382.8 MB, free: 18.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00411/0.3008, allocations: 3.93 MB / 386.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3008, allocations: 0 / 386.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002266/0.3031, allocations: 1.024 MB / 387.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003094/0.3034, allocations: 218.4 kB / 387.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.3035, allocations: 19.7 kB / 387.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006063/0.3041, allocations: 49.47 kB / 388 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.3043, allocations: 55.47 kB / 388 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/0.3043, allocations: 17.39 kB / 388.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005029/0.3048, allocations: 418.9 kB / 388.5 MB, free: 14.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3049, allocations: 0 / 388.5 MB, free: 14.22 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008505/0.3057, allocations: 253.5 kB / 388.7 MB, free: 14.18 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.0001323/0.3059, allocations: 120.7 kB / 388.8 MB, free: 14.08 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002123/0.308, allocations: 1.04 MB / 389.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.308, allocations: 2.281 kB / 389.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009198/0.3089, allocations: 0.5447 MB / 390.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009125/0.3099, allocations: 211.8 kB / 390.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002355/0.3122, allocations: 1.344 MB / 392 MB, free: 12.31 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.3126, allocations: 0.9131 MB / 392.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.3128, allocations: 59.81 kB / 393 MB, free: 11.59 MB / 302.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3128, allocations: 0 / 393 MB, free: 11.59 MB / 302.1 MB Notification: Performance of Templates: time 0.01688/0.3297, allocations: 16.11 MB / 409.1 MB, free: 14.86 MB / 318.1 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/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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches