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.001073/0.001073, allocations: 108.4 kB / 18.36 MB, free: 4.641 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.001633/0.001633, allocations: 191 kB / 19.29 MB, free: 3.715 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.399/1.399, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001145/0.001145, allocations: 47.92 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08504/0.0862, allocations: 46.63 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.005518/0.09176, allocations: 4.837 MB / 333.6 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.09392, allocations: 1.391 MB / 335 MB, free: 13.49 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002415/0.09418, allocations: 15.88 kB / 335 MB, free: 13.48 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003073/0.09453, allocations: 150.7 kB / 335.1 MB, free: 13.33 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005572/0.09509, allocations: 333.4 kB / 335.4 MB, free: 13 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000372/0.09547, allocations: 227.6 kB / 335.7 MB, free: 12.78 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009025/0.09639, allocations: 1.031 MB / 336.7 MB, free: 11.74 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003445/0.09675, allocations: 289.9 kB / 337 MB, free: 11.45 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004054/0.09716, allocations: 406.5 kB / 337.4 MB, free: 11.05 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000439/0.09761, allocations: 446.2 kB / 337.8 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.09773, allocations: 88 kB / 337.9 MB, free: 10.52 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.09787, allocations: 92 kB / 338 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.09803, allocations: 199.3 kB / 338.2 MB, free: 10.24 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000409/0.09845, allocations: 477.8 kB / 338.6 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008108/0.09926, allocations: 1.067 MB / 339.7 MB, free: 8.699 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.09928, allocations: 7.984 kB / 339.7 MB, free: 8.691 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.09928, allocations: 0 / 339.7 MB, free: 8.691 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.0993, allocations: 0 / 339.7 MB, free: 8.691 MB / 286.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.001915/0.1012, allocations: 1.22 MB / 340.9 MB, free: 7.402 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.1013, allocations: 12.03 kB / 341 MB, free: 7.391 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.1014, allocations: 107.8 kB / 341.1 MB, free: 7.285 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007253/0.1022, allocations: 0.5121 MB / 341.6 MB, free: 6.734 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.1023, allocations: 97.27 kB / 341.7 MB, free: 6.625 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.299e-05/0.1024, allocations: 52.38 kB / 341.7 MB, free: 6.574 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.1036, allocations: 0.7966 MB / 342.5 MB, free: 5.676 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.1036, allocations: 7.906 kB / 342.5 MB, free: 5.668 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.778e-05/0.1037, allocations: 28 kB / 342.5 MB, free: 5.641 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.1037, allocations: 12 kB / 342.6 MB, free: 5.629 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.1049, allocations: 0.4996 MB / 343.1 MB, free: 5.125 MB / 286.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.003021/0.1079, allocations: 2.15 MB / 345.2 MB, free: 2.84 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.1091, allocations: 0.5253 MB / 345.7 MB, free: 2.301 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005471/0.1096, allocations: 258.4 kB / 346 MB, free: 2.047 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.812e-05/0.1097, allocations: 13.66 kB / 346 MB, free: 2.035 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006682/0.1104, allocations: 327 kB / 346.3 MB, free: 1.707 MB / 286.1 MB Notification: Performance of pre-optimization done (n=56): time 2.104e-06/0.1104, allocations: 0 / 346.3 MB, free: 1.707 MB / 286.1 MB Notification: Performance of matching and sorting (n=56): time 0.004633/0.115, allocations: 1.481 MB / 347.8 MB, free: 180 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003397/0.1154, allocations: 0.8271 MB / 348.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006883/0.1161, allocations: 0.5863 MB / 349.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.039e-05/0.1162, allocations: 45.7 kB / 349.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.1164, allocations: 344.6 kB / 349.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/0.1166, allocations: 185.3 kB / 349.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.1168, allocations: 130.2 kB / 349.9 MB, free: 13.85 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.117, allocations: 370.8 kB / 350.3 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005433/0.1175, allocations: 221 kB / 350.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007723/0.1183, allocations: 0.513 MB / 351 MB, free: 12.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.1194, allocations: 0.5654 MB / 351.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.1194, allocations: 0 / 351.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002131/0.1215, allocations: 0.905 MB / 352.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.915e-05/0.1216, allocations: 59.41 kB / 352.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-06/0.1216, allocations: 4 kB / 352.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006961/0.1223, allocations: 221.5 kB / 352.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005936/0.1229, allocations: 119.8 kB / 352.9 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006606/0.1295, allocations: 4.584 MB / 357.4 MB, free: 5.801 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007421/0.1303, allocations: 83.39 kB / 357.5 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-05/0.1304, allocations: 20 kB / 357.5 MB, free: 5.699 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.0003387/0.1307, allocations: 213.8 kB / 357.8 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.1309, allocations: 79.16 kB / 357.8 MB, free: 5.402 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001522/0.131, allocations: 82.84 kB / 357.9 MB, free: 5.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.131, allocations: 11.88 kB / 357.9 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.131, allocations: 0 / 357.9 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001991/0.133, allocations: 1.046 MB / 359 MB, free: 4.152 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002758/0.1358, allocations: 1.54 MB / 360.5 MB, free: 2.539 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.1358, allocations: 0 / 360.5 MB, free: 2.539 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005862/0.1364, allocations: 107.9 kB / 360.6 MB, free: 2.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005306/0.137, allocations: 177.5 kB / 360.8 MB, free: 2.254 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.827e-05/0.137, allocations: 8 kB / 360.8 MB, free: 2.246 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004962/0.142, allocations: 3.94 MB / 364.7 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.142, allocations: 0 / 364.7 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002354/0.1444, allocations: 1.02 MB / 365.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003855/0.1448, allocations: 223.9 kB / 366 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.1449, allocations: 20.05 kB / 366 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005871/0.1455, allocations: 52.14 kB / 366 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.1457, allocations: 52.48 kB / 366.1 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-05/0.1457, allocations: 19.94 kB / 366.1 MB, free: 12.6 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005029/0.1463, allocations: 415.1 kB / 366.5 MB, free: 12.2 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1463, allocations: 0 / 366.5 MB, free: 12.2 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007893/0.1471, allocations: 247.8 kB / 366.8 MB, free: 11.96 MB / 318.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.0001997/0.1473, allocations: 127.2 kB / 366.9 MB, free: 11.83 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002339/0.1496, allocations: 1.015 MB / 367.9 MB, free: 10.76 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/0.1496, allocations: 4 kB / 367.9 MB, free: 10.76 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.1507, allocations: 0.5515 MB / 368.5 MB, free: 10.18 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009954/0.1517, allocations: 219 kB / 368.7 MB, free: 9.969 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002902/0.1546, allocations: 1.284 MB / 370 MB, free: 8.66 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005841/0.1552, allocations: 0.9121 MB / 370.9 MB, free: 7.719 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003477/0.1556, allocations: 85.22 kB / 371 MB, free: 7.637 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.1558, allocations: 63.36 kB / 371 MB, free: 7.574 MB / 318.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1558, allocations: 0 / 371 MB, free: 7.574 MB / 318.1 MB Notification: Performance of Templates: time 0.1656/0.3214, allocations: 16.15 MB / 387.2 MB, free: 51.48 MB / 318.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 -s gbode -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