Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.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.TestWaterPumpDefault,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.TestWaterPumpDefault") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,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.TestWaterPumpDefault") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001198/0.001198, allocations: 202.2 kB / 18.11 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.561/1.561, allocations: 226.5 MB / 245.4 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009236/0.0009235, allocations: 107.9 kB / 297.5 MB, free: 6.695 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4729/0.4729, allocations: 44.82 MB / 394.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003088/0.0003088, allocations: 8 kB / 467.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4614/0.4617, allocations: 62.95 MB / 0.5184 GB, free: 37.69 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.032/8.494, allocations: 2.788 GB / 3.307 GB, free: 164.1 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003626/8.494, allocations: 97.39 kB / 3.307 GB, free: 164.1 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.635/10.13, allocations: 424.9 MB / 3.722 GB, free: 69.33 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.364e-06/10.13, allocations: 0 / 3.722 GB, free: 69.33 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.515e-05/10.13, allocations: 20.94 kB / 3.722 GB, free: 69.33 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.007179/10.14, allocations: 1.834 MB / 3.724 GB, free: 68.68 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.098e-05/10.14, allocations: 9.281 kB / 3.724 GB, free: 68.68 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002422/10.14, allocations: 328.5 kB / 3.724 GB, free: 68.64 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/10.14, allocations: 0.5865 MB / 3.725 GB, free: 68.39 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.514e-05/10.14, allocations: 51.06 kB / 3.725 GB, free: 68.39 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.377e-05/10.14, allocations: 55.72 kB / 3.725 GB, free: 68.39 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/10.14, allocations: 1.002 MB / 3.726 GB, free: 68.19 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/10.14, allocations: 6.5 kB / 3.726 GB, free: 68.19 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.485e-05/10.14, allocations: 24.75 kB / 3.726 GB, free: 68.19 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.19e-05/10.14, allocations: 26.47 kB / 3.726 GB, free: 68.18 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002074/10.15, allocations: 0.9002 MB / 3.727 GB, free: 68.18 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.004403/10.15, allocations: 4.799 MB / 3.731 GB, free: 64.89 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001852/10.15, allocations: 0.7041 MB / 3.732 GB, free: 64.86 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000528/10.15, allocations: 279 kB / 3.732 GB, free: 64.86 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04025/10.19, allocations: 26.64 MB / 3.758 GB, free: 47.58 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/10.19, allocations: 37.12 kB / 3.758 GB, free: 47.54 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=43): time 3.326e-06/10.19, allocations: 0 / 3.758 GB, free: 47.54 MB / 0.5417 GB Notification: Performance of matching and sorting (n=43): time 0.006818/10.2, allocations: 1.752 MB / 3.76 GB, free: 47.37 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/10.2, allocations: 114.5 kB / 3.76 GB, free: 47.24 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006768/10.2, allocations: 0.5111 MB / 3.761 GB, free: 47.12 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.728e-05/10.2, allocations: 39.83 kB / 3.761 GB, free: 47.09 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/10.2, allocations: 332.5 kB / 3.761 GB, free: 46.94 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/10.2, allocations: 150.8 kB / 3.761 GB, free: 46.87 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/10.2, allocations: 14.03 kB / 3.761 GB, free: 46.87 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.005e-05/10.2, allocations: 362.8 kB / 3.761 GB, free: 46.55 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00057/10.2, allocations: 246.1 kB / 3.762 GB, free: 46.55 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005906/10.2, allocations: 411.4 kB / 3.762 GB, free: 46.35 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/10.2, allocations: 0.6348 MB / 3.763 GB, free: 46.16 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/10.2, allocations: 8.75 kB / 3.763 GB, free: 46.16 MB / 0.5417 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001551/10.2, allocations: 0.8026 MB / 3.763 GB, free: 46.09 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001303/10.2, allocations: 244.6 kB / 3.764 GB, free: 45.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/10.2, allocations: 3.969 kB / 3.764 GB, free: 45.82 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001781/10.21, allocations: 347.6 kB / 3.764 GB, free: 45.81 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004834/10.21, allocations: 132.5 kB / 3.764 GB, free: 45.81 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008828/10.21, allocations: 0.7999 MB / 3.765 GB, free: 45.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000719/10.21, allocations: 118 kB / 3.765 GB, free: 45.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.799e-05/10.21, allocations: 34.81 kB / 3.765 GB, free: 45.27 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.466e-06/10.21, allocations: 8.938 kB / 3.765 GB, free: 45.27 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002052/10.21, allocations: 0.7617 MB / 3.766 GB, free: 45.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/10.21, allocations: 5.5 kB / 3.766 GB, free: 45.24 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/10.21, allocations: 208.6 kB / 3.766 GB, free: 45.23 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004758/10.21, allocations: 141.2 kB / 3.766 GB, free: 45.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008015/10.21, allocations: 0.7538 MB / 3.767 GB, free: 44.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000644/10.21, allocations: 119.3 kB / 3.767 GB, free: 44.69 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.282e-05/10.21, allocations: 30.25 kB / 3.767 GB, free: 44.69 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 (55): * Single equations (assignments): 54 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003899/10.21, allocations: 297.6 kB / 3.767 GB, free: 44.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/10.21, allocations: 57.19 kB / 3.767 GB, free: 44.47 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003675/10.22, allocations: 3.006 MB / 3.77 GB, free: 44.17 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.087e-05/10.22, allocations: 47.39 kB / 3.77 GB, free: 44.17 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/10.22, allocations: 3.938 kB / 3.77 GB, free: 44.17 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/10.22, allocations: 3.469 kB / 3.77 GB, free: 44.17 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/10.22, allocations: 1.455 MB / 3.772 GB, free: 43.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/10.22, allocations: 2.656 kB / 3.772 GB, free: 43.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003075/10.22, allocations: 88.58 kB / 3.772 GB, free: 43.88 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002239/10.22, allocations: 1.056 MB / 3.773 GB, free: 43.84 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.788e-05/10.22, allocations: 16.14 kB / 3.773 GB, free: 43.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00149/10.22, allocations: 1.439 MB / 3.774 GB, free: 43.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/10.22, allocations: 4.375 kB / 3.774 GB, free: 43.29 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003065/10.23, allocations: 2.029 MB / 3.776 GB, free: 42.99 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000467/10.23, allocations: 326.6 kB / 3.777 GB, free: 42.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/10.23, allocations: 12.06 kB / 3.777 GB, free: 42.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006271/10.23, allocations: 80.59 kB / 3.777 GB, free: 42.79 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/10.23, allocations: 51.17 kB / 3.777 GB, free: 42.79 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.171e-05/10.23, allocations: 22.39 kB / 3.777 GB, free: 42.79 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000749/10.23, allocations: 464.3 kB / 3.777 GB, free: 42.69 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.51e-07/10.23, allocations: 5.891 kB / 3.777 GB, free: 42.69 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006473/10.23, allocations: 1.432 MB / 3.779 GB, free: 42.46 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,$cse18.phase,$cse18.region,$cse19.phase,$cse19.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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.009823/10.24, allocations: 1.721 MB / 3.78 GB, free: 42.16 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003299/10.25, allocations: 1.329 MB / 3.782 GB, free: 42.14 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/10.25, allocations: 0 / 3.782 GB, free: 42.14 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00111/10.25, allocations: 0.7864 MB / 3.782 GB, free: 42.12 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002052/10.25, allocations: 327.2 kB / 3.783 GB, free: 42.11 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003487/10.25, allocations: 2.892 MB / 3.786 GB, free: 40.85 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005466/10.26, allocations: 1.136 MB / 3.787 GB, free: 40.14 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0009924/10.26, allocations: 0.6416 MB / 3.787 GB, free: 40.13 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/10.26, allocations: 57.09 kB / 3.787 GB, free: 40.12 MB / 0.5417 GB Notification: Performance of SimCode: time 6.21e-07/10.26, allocations: 0 / 3.787 GB, free: 40.12 MB / 0.5417 GB Notification: Performance of Templates: time 0.05655/10.31, allocations: 45.34 MB / 3.832 GB, free: 37.79 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefault/TestWaterPumpDefault.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches