Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.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.TestWaterPumpDefaultCV,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|Valve.minLimiter.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,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|Valve.minLimiter.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002746/0.002745, allocations: 200.7 kB / 18.1 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.827/1.827, allocations: 226.5 MB / 245.4 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008732/0.000873, allocations: 94.64 kB / 297.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4739/0.4739, allocations: 44.82 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.0003271, allocations: 12 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5112/0.5115, allocations: 62.96 MB / 0.5184 GB, free: 37.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.841/8.353, allocations: 2.789 GB / 3.307 GB, free: 164.1 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/8.353, allocations: 91.81 kB / 3.307 GB, free: 164.1 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.472/9.826, allocations: 426 MB / 3.723 GB, free: 68.46 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.725e-06/9.826, allocations: 1.641 kB / 3.723 GB, free: 68.46 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.278e-05/9.826, allocations: 21.22 kB / 3.723 GB, free: 68.46 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.006667/9.832, allocations: 1.863 MB / 3.725 GB, free: 67.79 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/9.832, allocations: 11.53 kB / 3.725 GB, free: 67.79 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00242/9.835, allocations: 336.5 kB / 3.726 GB, free: 67.75 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/9.836, allocations: 0.5915 MB / 3.726 GB, free: 67.5 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.248e-05/9.836, allocations: 48.81 kB / 3.726 GB, free: 67.5 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.627e-05/9.836, allocations: 59.47 kB / 3.726 GB, free: 67.5 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002158/9.838, allocations: 1.024 MB / 3.727 GB, free: 67.3 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/9.838, allocations: 14.41 kB / 3.727 GB, free: 67.3 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.098e-05/9.838, allocations: 29.39 kB / 3.727 GB, free: 67.3 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.094e-05/9.838, allocations: 23.89 kB / 3.727 GB, free: 67.3 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002127/9.841, allocations: 0.927 MB / 3.728 GB, free: 67.29 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.005132/9.846, allocations: 4.851 MB / 3.733 GB, free: 64.09 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00234/9.848, allocations: 0.8299 MB / 3.734 GB, free: 64.06 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005436/9.849, allocations: 300.6 kB / 3.734 GB, free: 64.05 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04133/9.89, allocations: 26.65 MB / 3.76 GB, free: 46.79 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/9.89, allocations: 36.97 kB / 3.76 GB, free: 46.75 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=47): time 2.675e-06/9.89, allocations: 0 / 3.76 GB, free: 46.75 MB / 0.5417 GB Notification: Performance of matching and sorting (n=47): time 0.008408/9.898, allocations: 1.994 MB / 3.762 GB, free: 46.57 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/9.899, allocations: 110.9 kB / 3.762 GB, free: 46.45 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006821/9.899, allocations: 0.5325 MB / 3.763 GB, free: 46.32 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.737e-05/9.899, allocations: 35.2 kB / 3.763 GB, free: 46.29 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/9.899, allocations: 342.1 kB / 3.763 GB, free: 46.14 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/9.9, allocations: 161.8 kB / 3.763 GB, free: 46.06 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/9.9, allocations: 9.938 kB / 3.763 GB, free: 46.06 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.238e-05/9.9, allocations: 377.6 kB / 3.764 GB, free: 45.74 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005501/9.9, allocations: 261.4 kB / 3.764 GB, free: 45.74 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006235/9.901, allocations: 447.6 kB / 3.764 GB, free: 45.54 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/9.902, allocations: 0.6809 MB / 3.765 GB, free: 45.35 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/9.902, allocations: 3.531 kB / 3.765 GB, free: 45.35 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00185/9.904, allocations: 0.89 MB / 3.766 GB, free: 45.27 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001223/9.904, allocations: 238.8 kB / 3.766 GB, free: 45 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/9.904, allocations: 8.703 kB / 3.766 GB, free: 45 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00273/9.907, allocations: 0.5129 MB / 3.767 GB, free: 44.99 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005678/9.907, allocations: 150.3 kB / 3.767 GB, free: 44.99 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/9.909, allocations: 0.8526 MB / 3.768 GB, free: 44.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008566/9.909, allocations: 136 kB / 3.768 GB, free: 44.44 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.523e-05/9.91, allocations: 40.86 kB / 3.768 GB, free: 44.44 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/9.91, allocations: 5.688 kB / 3.768 GB, free: 44.44 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002035/9.912, allocations: 0.8196 MB / 3.769 GB, free: 44.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/9.912, allocations: 5.281 kB / 3.769 GB, free: 44.42 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/9.913, allocations: 212.5 kB / 3.769 GB, free: 44.41 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005767/9.913, allocations: 162 kB / 3.769 GB, free: 44.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/9.914, allocations: 0.7672 MB / 3.77 GB, free: 43.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007698/9.915, allocations: 118.7 kB / 3.77 GB, free: 43.86 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.289e-05/9.915, allocations: 35.06 kB / 3.77 GB, free: 43.86 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (59): * Single equations (assignments): 58 * 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 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0004354/9.916, allocations: 281.2 kB / 3.77 GB, free: 43.68 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/9.916, allocations: 63.92 kB / 3.77 GB, free: 43.64 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003858/9.92, allocations: 3.086 MB / 3.773 GB, free: 43.33 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.918e-05/9.92, allocations: 44.19 kB / 3.773 GB, free: 43.33 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/9.92, allocations: 4.406 kB / 3.773 GB, free: 43.33 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/9.92, allocations: 3.141 kB / 3.773 GB, free: 43.33 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001878/9.922, allocations: 1.474 MB / 3.775 GB, free: 43.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/9.922, allocations: 3.938 kB / 3.775 GB, free: 43.04 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003442/9.922, allocations: 92.56 kB / 3.775 GB, free: 43.04 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002949/9.925, allocations: 1.252 MB / 3.776 GB, free: 43.01 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.505e-05/9.925, allocations: 15.64 kB / 3.776 GB, free: 43.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001655/9.927, allocations: 1.494 MB / 3.777 GB, free: 42.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/9.927, allocations: 0.8125 kB / 3.777 GB, free: 42.46 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002803/9.93, allocations: 2.084 MB / 3.779 GB, free: 42.16 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005088/9.93, allocations: 334 kB / 3.78 GB, free: 41.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.388e-05/9.93, allocations: 11.53 kB / 3.78 GB, free: 41.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005554/9.931, allocations: 98.58 kB / 3.78 GB, free: 41.94 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/9.931, allocations: 47.02 kB / 3.78 GB, free: 41.94 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-05/9.931, allocations: 23.28 kB / 3.78 GB, free: 41.94 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005862/9.931, allocations: 481.2 kB / 3.78 GB, free: 41.84 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.91e-07/9.932, allocations: 0 / 3.78 GB, free: 41.84 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007187/9.939, allocations: 1.439 MB / 3.782 GB, free: 41.62 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,$cse20.phase,$cse20.region,$cse21.phase,$cse21.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 (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01001/9.949, allocations: 1.733 MB / 3.784 GB, free: 41.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004312/9.953, allocations: 1.424 MB / 3.785 GB, free: 41.28 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/9.953, allocations: 0 / 3.785 GB, free: 41.28 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/9.954, allocations: 0.8049 MB / 3.786 GB, free: 41.27 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/9.956, allocations: 325.6 kB / 3.786 GB, free: 41.26 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003101/9.959, allocations: 2.933 MB / 3.789 GB, free: 39.99 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/9.96, allocations: 1.141 MB / 3.79 GB, free: 39.28 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001295/9.961, allocations: 0.6578 MB / 3.791 GB, free: 39.27 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/9.961, allocations: 63.53 kB / 3.791 GB, free: 39.26 MB / 0.5417 GB Notification: Performance of SimCode: time 7.22e-07/9.961, allocations: 0 / 3.791 GB, free: 39.26 MB / 0.5417 GB Notification: Performance of Templates: time 0.05923/10.02, allocations: 45.94 MB / 3.836 GB, free: 36.87 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefaultCV/TestWaterPumpDefaultCV.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches