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.001005/0.001004, allocations: 202.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001125/0.001126, allocations: 93.8 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2217/0.2217, allocations: 45.15 MB / 383.8 MB, free: 292 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.785e-05/1.785e-05, allocations: 4 kB / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1353, allocations: 63.25 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.719/6.855, allocations: 2.771 GB / 3.275 GB, free: 76.59 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/6.855, allocations: 81.14 kB / 3.275 GB, free: 76.55 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.474/8.329, allocations: 420.6 MB / 3.686 GB, free: 65.09 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.394e-06/8.329, allocations: 0 / 3.686 GB, free: 65.09 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.02e-05/8.33, allocations: 22.48 kB / 3.686 GB, free: 65.08 MB / 0.5261 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.006581/8.336, allocations: 1.655 MB / 3.687 GB, free: 64.08 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/8.336, allocations: 10.64 kB / 3.687 GB, free: 64.08 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002342/8.339, allocations: 293.3 kB / 3.688 GB, free: 64.03 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/8.34, allocations: 0.5273 MB / 3.688 GB, free: 63.66 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.066e-05/8.34, allocations: 26.66 kB / 3.688 GB, free: 63.66 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/8.34, allocations: 34.17 kB / 3.688 GB, free: 63.66 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009476/8.341, allocations: 0.5121 MB / 3.689 GB, free: 63.48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009622/8.342, allocations: 0.6426 MB / 3.689 GB, free: 63.12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/8.342, allocations: 7.719 kB / 3.689 GB, free: 63.12 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.872e-05/8.342, allocations: 0 / 3.689 GB, free: 63.12 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.964e-05/8.342, allocations: 20.69 kB / 3.689 GB, free: 63.12 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.07521/8.417, allocations: 48.52 MB / 3.737 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000683/8.418, allocations: 384.3 kB / 3.737 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002372/8.418, allocations: 189.5 kB / 3.737 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3769/8.795, allocations: 26.72 MB / 3.763 GB, free: 91.51 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.485e-05/8.795, allocations: 37.84 kB / 3.764 GB, free: 91.47 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=39): time 2.975e-06/8.795, allocations: 0 / 3.764 GB, free: 91.47 MB / 0.5417 GB Notification: Performance of matching and sorting (n=39): time 0.003087/8.798, allocations: 0.8271 MB / 3.764 GB, free: 91.43 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/8.798, allocations: 113 kB / 3.764 GB, free: 91.3 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004165/8.799, allocations: 365.4 kB / 3.765 GB, free: 91.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/8.799, allocations: 26.45 kB / 3.765 GB, free: 91.17 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/8.799, allocations: 328.3 kB / 3.765 GB, free: 91.03 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/8.799, allocations: 129.9 kB / 3.765 GB, free: 90.96 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/8.799, allocations: 3.156 kB / 3.765 GB, free: 90.96 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001188/8.799, allocations: 361.3 kB / 3.766 GB, free: 90.65 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002553/8.8, allocations: 150.5 kB / 3.766 GB, free: 90.65 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/8.8, allocations: 321.8 kB / 3.766 GB, free: 90.46 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007679/8.801, allocations: 246.3 kB / 3.766 GB, free: 90.46 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/8.801, allocations: 4.375 kB / 3.766 GB, free: 90.46 MB / 0.5417 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00154/8.802, allocations: 0.6726 MB / 3.767 GB, free: 90.39 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003209/8.803, allocations: 1.916 MB / 3.769 GB, free: 88.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/8.803, allocations: 7.875 kB / 3.769 GB, free: 88.39 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006536/8.803, allocations: 173.1 kB / 3.769 GB, free: 88.38 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003828/8.804, allocations: 124.2 kB / 3.769 GB, free: 88.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006991/8.804, allocations: 0.7698 MB / 3.77 GB, free: 87.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006795/8.805, allocations: 104.1 kB / 3.77 GB, free: 87.85 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.148e-05/8.805, allocations: 33.61 kB / 3.77 GB, free: 87.85 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/8.805, allocations: 3.688 kB / 3.77 GB, free: 87.85 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001333/8.806, allocations: 0.5738 MB / 3.771 GB, free: 87.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/8.806, allocations: 3.094 kB / 3.771 GB, free: 87.83 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006863/8.807, allocations: 162.8 kB / 3.771 GB, free: 87.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003725/8.808, allocations: 125.7 kB / 3.771 GB, free: 87.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000478/8.808, allocations: 0.7209 MB / 3.772 GB, free: 87.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005442/8.809, allocations: 92.69 kB / 3.772 GB, free: 87.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.12e-05/8.809, allocations: 29.61 kB / 3.772 GB, free: 87.29 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 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete 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.000151/8.809, allocations: 127.2 kB / 3.772 GB, free: 87.18 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.333e-05/8.809, allocations: 54.62 kB / 3.772 GB, free: 87.15 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002641/8.811, allocations: 2.344 MB / 3.774 GB, free: 86.95 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-05/8.812, allocations: 39.58 kB / 3.774 GB, free: 86.95 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/8.812, allocations: 3.328 kB / 3.774 GB, free: 86.95 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/8.812, allocations: 0 / 3.774 GB, free: 86.95 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/8.813, allocations: 1.108 MB / 3.775 GB, free: 86.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/8.813, allocations: 0.9688 kB / 3.775 GB, free: 86.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/8.813, allocations: 78 kB / 3.775 GB, free: 86.73 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001318/8.814, allocations: 0.7302 MB / 3.776 GB, free: 86.71 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/8.814, allocations: 8.234 kB / 3.776 GB, free: 86.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/8.816, allocations: 1.329 MB / 3.777 GB, free: 86.16 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/8.816, allocations: 8.172 kB / 3.777 GB, free: 86.16 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002333/8.818, allocations: 1.617 MB / 3.779 GB, free: 85.88 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000346/8.819, allocations: 270.4 kB / 3.779 GB, free: 85.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.801e-05/8.819, allocations: 3.953 kB / 3.779 GB, free: 85.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004845/8.819, allocations: 69.12 kB / 3.779 GB, free: 85.73 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.759e-05/8.819, allocations: 41.95 kB / 3.779 GB, free: 85.72 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-05/8.819, allocations: 18.83 kB / 3.779 GB, free: 85.72 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003901/8.82, allocations: 348.2 kB / 3.78 GB, free: 85.64 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/8.82, allocations: 0 / 3.78 GB, free: 85.64 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0058/8.826, allocations: 1.32 MB / 3.781 GB, free: 85.6 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: 20 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.007515/8.833, allocations: 1.755 MB / 3.783 GB, free: 85.43 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001924/8.835, allocations: 0.9946 MB / 3.784 GB, free: 85.41 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/8.835, allocations: 1.125 kB / 3.784 GB, free: 85.41 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006771/8.836, allocations: 0.6026 MB / 3.784 GB, free: 85.39 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/8.837, allocations: 250 kB / 3.784 GB, free: 85.39 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/8.839, allocations: 1.445 MB / 3.786 GB, free: 85.05 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005334/8.84, allocations: 1.087 MB / 3.787 GB, free: 84.35 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001378/8.841, allocations: 0.7472 MB / 3.788 GB, free: 84.34 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/8.841, allocations: 41.75 kB / 3.788 GB, free: 84.33 MB / 0.5417 GB Notification: Performance of SimCode: time 6.01e-07/8.841, allocations: 2.75 kB / 3.788 GB, free: 84.33 MB / 0.5417 GB Notification: Performance of Templates: time 0.04467/8.886, allocations: 36.19 MB / 3.823 GB, free: 83.46 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