Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valveOpening.y|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|downstreamPressure.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valveOpening.y|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|downstreamPressure.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001146/0.001147, allocations: 197.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.2 MB / 245 MB, free: 7.602 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009908/0.0009909, allocations: 107.7 kB / 297.3 MB, free: 6.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4152/0.4152, allocations: 45.23 MB / 394.7 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004099/0.0004099, allocations: 8 kB / 468.4 MB, free: 7.727 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4124/0.4129, allocations: 63.24 MB / 0.5192 GB, free: 43.89 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.572/5.985, allocations: 2.771 GB / 3.291 GB, free: 148.2 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/5.985, allocations: 93.31 kB / 3.291 GB, free: 148.2 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.066/7.051, allocations: 425.9 MB / 3.707 GB, free: 16.41 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.285e-06/7.051, allocations: 0 / 3.707 GB, free: 16.41 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.17e-05/7.051, allocations: 22.89 kB / 3.707 GB, free: 16.39 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.006475/7.058, allocations: 1.725 MB / 3.708 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/7.058, allocations: 12.02 kB / 3.708 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002265/7.06, allocations: 294.9 kB / 3.709 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009813/7.061, allocations: 0.5352 MB / 3.709 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.815e-05/7.061, allocations: 49.31 kB / 3.709 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.598e-05/7.061, allocations: 52.86 kB / 3.709 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002057/7.063, allocations: 0.9713 MB / 3.71 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/7.063, allocations: 7.953 kB / 3.71 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.373e-05/7.063, allocations: 23.94 kB / 3.71 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.015e-05/7.063, allocations: 25 kB / 3.71 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/7.065, allocations: 0.8624 MB / 3.711 GB, free: 11.7 MB / 0.5417 GB 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.004073/7.07, allocations: 4.646 MB / 3.716 GB, free: 6.672 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002087/7.072, allocations: 0.7599 MB / 3.716 GB, free: 5.906 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3469/7.419, allocations: 26.63 MB / 3.742 GB, free: 55.66 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/7.419, allocations: 38.22 kB / 3.742 GB, free: 55.62 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=43): time 3.968e-06/7.419, allocations: 0 / 3.742 GB, free: 55.62 MB / 0.5417 GB Notification: Performance of matching and sorting (n=43): time 0.005563/7.424, allocations: 1.605 MB / 3.744 GB, free: 55.48 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/7.424, allocations: 108.4 kB / 3.744 GB, free: 55.35 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000555/7.425, allocations: 408.1 kB / 3.744 GB, free: 55.25 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.484e-05/7.425, allocations: 35.11 kB / 3.744 GB, free: 55.21 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/7.425, allocations: 317 kB / 3.745 GB, free: 55.09 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/7.425, allocations: 151.2 kB / 3.745 GB, free: 55.02 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/7.425, allocations: 11.75 kB / 3.745 GB, free: 55.02 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.493e-05/7.425, allocations: 363.4 kB / 3.745 GB, free: 54.7 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000483/7.426, allocations: 219.6 kB / 3.745 GB, free: 54.7 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005397/7.426, allocations: 400.1 kB / 3.746 GB, free: 54.51 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000531/7.427, allocations: 258.9 kB / 3.746 GB, free: 54.51 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/7.427, allocations: 6.125 kB / 3.746 GB, free: 54.51 MB / 0.5417 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001696/7.429, allocations: 0.7918 MB / 3.747 GB, free: 54.43 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003553/7.429, allocations: 1.921 MB / 3.749 GB, free: 52.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/7.429, allocations: 2.875 kB / 3.749 GB, free: 52.44 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008767/7.43, allocations: 210.6 kB / 3.749 GB, free: 52.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/7.43, allocations: 120.7 kB / 3.749 GB, free: 52.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008646/7.431, allocations: 0.774 MB / 3.75 GB, free: 51.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006768/7.432, allocations: 107.7 kB / 3.75 GB, free: 51.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.847e-05/7.432, allocations: 31.44 kB / 3.75 GB, free: 51.89 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/7.432, allocations: 11.19 kB / 3.75 GB, free: 51.89 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001584/7.434, allocations: 0.7083 MB / 3.751 GB, free: 51.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/7.434, allocations: 4.75 kB / 3.751 GB, free: 51.88 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/7.435, allocations: 205.8 kB / 3.751 GB, free: 51.87 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003826/7.435, allocations: 120.9 kB / 3.751 GB, free: 51.87 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007444/7.436, allocations: 0.7578 MB / 3.752 GB, free: 51.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006199/7.436, allocations: 96.86 kB / 3.752 GB, free: 51.33 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-05/7.437, allocations: 35.62 kB / 3.752 GB, free: 51.33 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003505/7.437, allocations: 274.5 kB / 3.752 GB, free: 51.14 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/7.437, allocations: 56.53 kB / 3.752 GB, free: 51.12 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003347/7.44, allocations: 2.923 MB / 3.755 GB, free: 50.86 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.572e-05/7.44, allocations: 44.33 kB / 3.755 GB, free: 50.86 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/7.44, allocations: 3 kB / 3.755 GB, free: 50.86 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/7.44, allocations: 2.672 kB / 3.755 GB, free: 50.86 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/7.442, allocations: 1.42 MB / 3.756 GB, free: 50.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/7.442, allocations: 0 / 3.756 GB, free: 50.62 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003287/7.442, allocations: 94.25 kB / 3.757 GB, free: 50.62 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001212/7.444, allocations: 0.6687 MB / 3.757 GB, free: 50.59 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.279e-05/7.444, allocations: 13.38 kB / 3.757 GB, free: 50.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/7.445, allocations: 1.204 MB / 3.758 GB, free: 50.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/7.445, allocations: 3 kB / 3.758 GB, free: 50.05 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002428/7.447, allocations: 1.865 MB / 3.76 GB, free: 49.77 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004877/7.448, allocations: 326.3 kB / 3.761 GB, free: 49.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/7.448, allocations: 8.875 kB / 3.761 GB, free: 49.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000722/7.449, allocations: 70.78 kB / 3.761 GB, free: 49.61 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/7.449, allocations: 50.09 kB / 3.761 GB, free: 49.61 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.066e-05/7.449, allocations: 22.83 kB / 3.761 GB, free: 49.61 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005706/7.449, allocations: 426.2 kB / 3.761 GB, free: 49.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/7.449, allocations: 0 / 3.761 GB, free: 49.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006911/7.456, allocations: 1.366 MB / 3.762 GB, free: 49.48 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.008821/7.465, allocations: 1.681 MB / 3.764 GB, free: 49.35 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003014/7.468, allocations: 1.302 MB / 3.765 GB, free: 49.32 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/7.468, allocations: 4 kB / 3.765 GB, free: 49.32 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001104/7.469, allocations: 0.7836 MB / 3.766 GB, free: 49.31 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/7.471, allocations: 308 kB / 3.766 GB, free: 49.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003886/7.475, allocations: 2.818 MB / 3.769 GB, free: 48.09 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/7.475, allocations: 1.143 MB / 3.77 GB, free: 47.38 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0011/7.477, allocations: 0.6557 MB / 3.771 GB, free: 47.38 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/7.477, allocations: 54.45 kB / 3.771 GB, free: 47.37 MB / 0.5417 GB Notification: Performance of SimCode: time 7.01e-07/7.477, allocations: 0 / 3.771 GB, free: 47.37 MB / 0.5417 GB Notification: Performance of Templates: time 0.05893/7.536, allocations: 41.54 MB / 3.812 GB, free: 45.62 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefaultLV/TestWaterPumpDefaultLV.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches