Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001685/0.001684, allocations: 192.3 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 226.5 MB / 244.1 MB, free: 8.262 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008495/0.0008496, allocations: 101.1 kB / 296.1 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4149/0.4149, allocations: 44.82 MB / 393 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003143/0.0003143, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.4145, allocations: 62.95 MB / 0.5165 GB, free: 36.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.544/6.959, allocations: 2.772 GB / 3.288 GB, free: 159.4 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/6.959, allocations: 93.2 kB / 3.288 GB, free: 159.4 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.106/8.065, allocations: 407.4 MB / 3.686 GB, free: 32.76 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.603e-06/8.066, allocations: 0 / 3.686 GB, free: 32.76 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.763e-05/8.066, allocations: 16 kB / 3.686 GB, free: 32.74 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.006463/8.072, allocations: 1.711 MB / 3.688 GB, free: 30.99 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/8.072, allocations: 16.03 kB / 3.688 GB, free: 30.97 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002316/8.074, allocations: 298.8 kB / 3.688 GB, free: 30.68 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/8.075, allocations: 0.5428 MB / 3.688 GB, free: 30.11 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.095e-05/8.076, allocations: 46.44 kB / 3.689 GB, free: 30.06 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/8.076, allocations: 56 kB / 3.689 GB, free: 30.01 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/8.078, allocations: 0.9757 MB / 3.69 GB, free: 28.97 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/8.078, allocations: 3.938 kB / 3.69 GB, free: 28.97 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-05/8.078, allocations: 24 kB / 3.69 GB, free: 28.95 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.078e-05/8.078, allocations: 24.98 kB / 3.69 GB, free: 28.92 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002163/8.08, allocations: 0.8702 MB / 3.69 GB, free: 28.05 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.004372/8.085, allocations: 4.636 MB / 3.695 GB, free: 23.03 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002222/8.087, allocations: 0.7563 MB / 3.696 GB, free: 22.27 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005408/8.087, allocations: 289.7 kB / 3.696 GB, free: 21.98 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.339/8.426, allocations: 26.63 MB / 3.722 GB, free: 72.15 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/8.426, allocations: 43.41 kB / 3.722 GB, free: 72.11 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=43): time 2.645e-06/8.426, allocations: 2.188 kB / 3.722 GB, free: 72.11 MB / 0.5417 GB Notification: Performance of matching and sorting (n=43): time 0.007152/8.434, allocations: 1.691 MB / 3.724 GB, free: 71.97 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/8.434, allocations: 112.4 kB / 3.724 GB, free: 71.84 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00054/8.434, allocations: 462.1 kB / 3.724 GB, free: 71.73 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.598e-05/8.434, allocations: 32.11 kB / 3.724 GB, free: 71.7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/8.435, allocations: 317.6 kB / 3.725 GB, free: 71.59 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/8.435, allocations: 151.6 kB / 3.725 GB, free: 71.52 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/8.435, allocations: 14 kB / 3.725 GB, free: 71.52 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.98e-05/8.435, allocations: 360.4 kB / 3.725 GB, free: 71.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005249/8.435, allocations: 219.4 kB / 3.725 GB, free: 71.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005972/8.436, allocations: 402.2 kB / 3.726 GB, free: 71.02 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/8.437, allocations: 0.6028 MB / 3.726 GB, free: 70.84 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/8.437, allocations: 0 / 3.726 GB, free: 70.84 MB / 0.5417 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001856/8.439, allocations: 0.7976 MB / 3.727 GB, free: 70.76 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/8.439, allocations: 234.2 kB / 3.727 GB, free: 70.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/8.439, allocations: 7.969 kB / 3.727 GB, free: 70.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/8.44, allocations: 257.1 kB / 3.727 GB, free: 70.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/8.441, allocations: 118 kB / 3.728 GB, free: 70.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009165/8.442, allocations: 0.7754 MB / 3.728 GB, free: 69.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006427/8.442, allocations: 107.9 kB / 3.728 GB, free: 69.96 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.312e-05/8.442, allocations: 31.75 kB / 3.728 GB, free: 69.96 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.726e-06/8.442, allocations: 5.281 kB / 3.728 GB, free: 69.96 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001648/8.444, allocations: 0.7132 MB / 3.729 GB, free: 69.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/8.444, allocations: 3.906 kB / 3.729 GB, free: 69.94 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009571/8.445, allocations: 212.9 kB / 3.729 GB, free: 69.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003849/8.445, allocations: 119.1 kB / 3.729 GB, free: 69.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007987/8.446, allocations: 0.7548 MB / 3.73 GB, free: 69.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006166/8.447, allocations: 98.83 kB / 3.73 GB, free: 69.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/8.447, allocations: 32.06 kB / 3.73 GB, free: 69.39 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.0003768/8.447, allocations: 280.8 kB / 3.731 GB, free: 69.2 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.57e-05/8.447, allocations: 60.48 kB / 3.731 GB, free: 69.18 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003228/8.451, allocations: 2.919 MB / 3.734 GB, free: 68.92 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-05/8.451, allocations: 42.86 kB / 3.734 GB, free: 68.92 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/8.451, allocations: 0 / 3.734 GB, free: 68.92 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/8.451, allocations: 3.234 kB / 3.734 GB, free: 68.92 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/8.452, allocations: 1.427 MB / 3.735 GB, free: 68.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/8.452, allocations: 0 / 3.735 GB, free: 68.67 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003157/8.452, allocations: 97.97 kB / 3.735 GB, free: 68.67 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001068/8.453, allocations: 0.6539 MB / 3.736 GB, free: 68.65 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.735e-05/8.453, allocations: 23.11 kB / 3.736 GB, free: 68.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/8.455, allocations: 1.202 MB / 3.737 GB, free: 68.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/8.455, allocations: 3.781 kB / 3.737 GB, free: 68.11 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002234/8.457, allocations: 1.868 MB / 3.739 GB, free: 67.81 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004154/8.457, allocations: 321 kB / 3.739 GB, free: 67.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.26e-05/8.457, allocations: 13.45 kB / 3.739 GB, free: 67.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005056/8.458, allocations: 75.11 kB / 3.739 GB, free: 67.65 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/8.458, allocations: 53.97 kB / 3.739 GB, free: 67.65 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-05/8.458, allocations: 23.31 kB / 3.739 GB, free: 67.65 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000444/8.458, allocations: 418.3 kB / 3.74 GB, free: 67.55 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/8.458, allocations: 3.969 kB / 3.74 GB, free: 67.55 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005398/8.464, allocations: 1.366 MB / 3.741 GB, free: 67.54 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.007876/8.472, allocations: 1.675 MB / 3.743 GB, free: 67.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002765/8.475, allocations: 1.281 MB / 3.744 GB, free: 67.38 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/8.475, allocations: 4.125 kB / 3.744 GB, free: 67.38 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0009655/8.476, allocations: 0.7849 MB / 3.745 GB, free: 67.36 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/8.477, allocations: 308.1 kB / 3.745 GB, free: 67.36 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00334/8.481, allocations: 2.855 MB / 3.748 GB, free: 66.11 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005676/8.481, allocations: 1.116 MB / 3.749 GB, free: 65.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/8.481, allocations: 57.95 kB / 3.749 GB, free: 65.4 MB / 0.5417 GB Notification: Performance of SimCode: time 6.81e-07/8.481, allocations: 1.312 kB / 3.749 GB, free: 65.4 MB / 0.5417 GB Notification: Performance of Templates: time 0.05429/8.536, allocations: 34.18 MB / 3.782 GB, free: 63.92 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefaultLV/TestWaterPumpDefaultLV.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches