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.001803/0.001803, allocations: 107.6 kB / 18.39 MB, free: 4.703 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.001392/0.001392, allocations: 191 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.502/1.502, 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.002214/0.002214, allocations: 44.41 kB / 329.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1947, allocations: 46.62 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.3944/0.5893, allocations: 4.817 MB / 380.6 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004476/0.5938, allocations: 1.407 MB / 382 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008803/0.5947, allocations: 6.875 kB / 382 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009572/0.5957, allocations: 150.8 kB / 382.2 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001988/0.5978, allocations: 341.9 kB / 382.5 MB, free: 9.422 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.5989, allocations: 216.6 kB / 382.7 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006852/0.6058, allocations: 1.032 MB / 383.8 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009295/0.6068, allocations: 303 kB / 384.1 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001311/0.6081, allocations: 407.5 kB / 384.5 MB, free: 9.016 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.6096, allocations: 445.6 kB / 384.9 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004262/0.61, allocations: 87.78 kB / 385 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005924/0.6106, allocations: 89.25 kB / 385.1 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003158/0.611, allocations: 200.5 kB / 385.3 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001395/0.6124, allocations: 481.6 kB / 385.7 MB, free: 8.488 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002559/0.615, allocations: 1.078 MB / 386.8 MB, free: 8.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.226e-05/0.6191, allocations: 0 / 386.8 MB, free: 8.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.6191, allocations: 0 / 386.8 MB, free: 8.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.446e-05/0.6192, allocations: 0 / 386.8 MB, free: 8.09 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.0052/0.6244, allocations: 1.221 MB / 388 MB, free: 7.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/0.6245, allocations: 10.3 kB / 388 MB, free: 7.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005043/0.625, allocations: 95.47 kB / 388.1 MB, free: 7.188 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/0.6269, allocations: 0.5156 MB / 388.7 MB, free: 6.801 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002802/0.6272, allocations: 100.3 kB / 388.8 MB, free: 6.723 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002163/0.6274, allocations: 51.42 kB / 388.8 MB, free: 6.707 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/0.6299, allocations: 0.7944 MB / 389.6 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.329e-05/0.63, allocations: 1.812 kB / 389.6 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/0.6301, allocations: 27.91 kB / 389.6 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.726e-05/0.6302, allocations: 14.62 kB / 389.6 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006804/0.637, allocations: 0.4996 MB / 390.1 MB, free: 6.008 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.01067/0.6477, allocations: 2.151 MB / 392.3 MB, free: 4.625 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00277/0.6505, allocations: 0.5271 MB / 392.8 MB, free: 4.422 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/0.6519, allocations: 265.4 kB / 393.1 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.652, allocations: 12.95 kB / 393.1 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001462/0.6535, allocations: 321.7 kB / 393.4 MB, free: 4.188 MB / 318.1 MB Notification: Performance of pre-optimization done (n=56): time 5.531e-06/0.6536, allocations: 0 / 393.4 MB, free: 4.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=56): time 0.009718/0.6633, allocations: 1.495 MB / 394.9 MB, free: 3.602 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002444/0.6636, allocations: 0.8209 MB / 395.7 MB, free: 2.598 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/0.6652, allocations: 0.5955 MB / 396.3 MB, free: 2.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000173/0.6654, allocations: 42.05 kB / 396.4 MB, free: 2.281 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004283/0.6658, allocations: 330.2 kB / 396.7 MB, free: 2.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002774/0.6661, allocations: 190.2 kB / 396.9 MB, free: 1.875 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004014/0.6665, allocations: 131.4 kB / 397 MB, free: 1.809 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.6667, allocations: 380.4 kB / 397.4 MB, free: 1.465 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.6679, allocations: 212.2 kB / 397.6 MB, free: 1.398 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/0.6694, allocations: 0.515 MB / 398.1 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002173/0.6716, allocations: 0.5632 MB / 398.7 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.6717, allocations: 1.719 kB / 398.7 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003998/0.6757, allocations: 0.9004 MB / 399.6 MB, free: 248 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.089e-05/0.6758, allocations: 59.84 kB / 399.6 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-05/0.6758, allocations: 3.406 kB / 399.6 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/0.6772, allocations: 226.5 kB / 399.8 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.6783, allocations: 121.3 kB / 400 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01145/0.6898, allocations: 4.581 MB / 404.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.6916, allocations: 85.38 kB / 404.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001864/0.6919, allocations: 23.08 kB / 404.6 MB, free: 12.38 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.0007948/0.6927, allocations: 215.7 kB / 404.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003761/0.6931, allocations: 81.48 kB / 404.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.6934, allocations: 81.3 kB / 405 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.6934, allocations: 9.438 kB / 405 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.6935, allocations: 1.156 kB / 405 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003994/0.6975, allocations: 1.052 MB / 406.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005712/0.7032, allocations: 1.536 MB / 407.6 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.7033, allocations: 0 / 407.6 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001246/0.7045, allocations: 105.5 kB / 407.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001116/0.7057, allocations: 181.8 kB / 407.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.779e-05/0.7058, allocations: 10.88 kB / 407.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009583/0.7154, allocations: 3.934 MB / 411.8 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.7154, allocations: 0 / 411.8 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004995/0.7204, allocations: 1.019 MB / 412.9 MB, free: 5.887 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008396/0.7213, allocations: 221.6 kB / 413.1 MB, free: 5.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003741/0.7217, allocations: 14.44 kB / 413.1 MB, free: 5.672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/0.7232, allocations: 43.33 kB / 413.1 MB, free: 5.652 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002934/0.7235, allocations: 53.58 kB / 413.2 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.786e-05/0.7236, allocations: 17.77 kB / 413.2 MB, free: 5.613 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001054/0.7247, allocations: 417.4 kB / 413.6 MB, free: 5.371 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7247, allocations: 0 / 413.6 MB, free: 5.371 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001768/0.7265, allocations: 260.9 kB / 413.9 MB, free: 5.324 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.0003064/0.7268, allocations: 121.1 kB / 414 MB, free: 5.219 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004077/0.7309, allocations: 1.02 MB / 415 MB, free: 4.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/0.7309, allocations: 2.625 kB / 415 MB, free: 4.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001864/0.7328, allocations: 0.5452 MB / 415.5 MB, free: 4.129 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002335/0.7352, allocations: 217.2 kB / 415.8 MB, free: 4.012 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005307/0.7405, allocations: 1.333 MB / 417.1 MB, free: 3.199 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008085/0.7414, allocations: 0.9217 MB / 418 MB, free: 2.398 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003631/0.7418, allocations: 60.61 kB / 418.1 MB, free: 2.383 MB / 334.1 MB Notification: Performance of SimCode: time 8.31e-07/0.7418, allocations: 0 / 418.1 MB, free: 2.383 MB / 334.1 MB Notification: Performance of Templates: time 0.04178/0.7836, allocations: 16.27 MB / 434.3 MB, free: 2.812 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