Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 181.2 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.4 MB / 223.6 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007519/0.0007519, allocations: 86.36 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3567/0.3567, allocations: 43.56 MB / 363.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003911/0.0003912, allocations: 12 kB / 432.6 MB, free: 5.867 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1274, allocations: 58.84 MB / 491.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.258/6.386, allocations: 2.782 GB / 3.262 GB, free: 89.91 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/6.386, allocations: 88.02 kB / 3.262 GB, free: 89.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.31/7.697, allocations: 420.2 MB / 3.672 GB, free: 32.66 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.044e-06/7.697, allocations: 0 / 3.672 GB, free: 32.66 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.324e-05/7.697, allocations: 24.72 kB / 3.672 GB, free: 32.66 MB / 0.4948 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.00605/7.703, allocations: 1.813 MB / 3.674 GB, free: 31.54 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/7.703, allocations: 11.62 kB / 3.674 GB, free: 31.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002357/7.705, allocations: 327.3 kB / 3.675 GB, free: 31.48 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009377/7.706, allocations: 0.5848 MB / 3.675 GB, free: 31.08 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.7e-05/7.706, allocations: 55.66 kB / 3.675 GB, free: 31.06 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.178e-05/7.706, allocations: 53.03 kB / 3.675 GB, free: 31.04 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002074/7.709, allocations: 1.003 MB / 3.676 GB, free: 30.61 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/7.709, allocations: 4 kB / 3.676 GB, free: 30.61 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.956e-05/7.709, allocations: 36.61 kB / 3.676 GB, free: 30.59 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.684e-05/7.709, allocations: 18.69 kB / 3.676 GB, free: 30.59 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002153/7.711, allocations: 0.9003 MB / 3.677 GB, free: 30.37 MB / 0.4948 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.004401/7.715, allocations: 4.808 MB / 3.682 GB, free: 26.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/7.717, allocations: 0.6891 MB / 3.682 GB, free: 26.23 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005605/7.718, allocations: 284.7 kB / 3.683 GB, free: 26.13 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03749/7.755, allocations: 24.1 MB / 3.706 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/7.755, allocations: 34.56 kB / 3.706 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=43): time 2.915e-06/7.755, allocations: 3.531 kB / 3.706 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43): time 0.007158/7.763, allocations: 1.742 MB / 3.708 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/7.763, allocations: 106.8 kB / 3.708 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006441/7.763, allocations: 0.5185 MB / 3.709 GB, free: 9.461 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.898e-05/7.763, allocations: 29.7 kB / 3.709 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000194/7.764, allocations: 338.8 kB / 3.709 GB, free: 9.152 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/7.764, allocations: 155.5 kB / 3.709 GB, free: 9.035 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/7.764, allocations: 8 kB / 3.709 GB, free: 9.027 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001146/7.764, allocations: 370.9 kB / 3.709 GB, free: 8.688 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005424/7.764, allocations: 234.6 kB / 3.71 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006295/7.765, allocations: 414.3 kB / 3.71 GB, free: 8.227 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/7.766, allocations: 0.6395 MB / 3.711 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/7.766, allocations: 4 kB / 3.711 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001667/7.768, allocations: 0.8128 MB / 3.712 GB, free: 6.844 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00011/7.768, allocations: 240.3 kB / 3.712 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/7.768, allocations: 4 kB / 3.712 GB, free: 6.531 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001766/7.77, allocations: 348.4 kB / 3.712 GB, free: 6.289 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000461/7.77, allocations: 137.3 kB / 3.712 GB, free: 6.176 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008495/7.771, allocations: 0.7919 MB / 3.713 GB, free: 5.398 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006824/7.772, allocations: 117.9 kB / 3.713 GB, free: 5.301 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.628e-05/7.772, allocations: 31.8 kB / 3.713 GB, free: 5.273 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/7.772, allocations: 4 kB / 3.713 GB, free: 5.27 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001933/7.774, allocations: 0.7648 MB / 3.714 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/7.774, allocations: 4 kB / 3.714 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009543/7.775, allocations: 213.5 kB / 3.714 GB, free: 4.453 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004276/7.775, allocations: 137.9 kB / 3.714 GB, free: 4.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007233/7.776, allocations: 0.7513 MB / 3.715 GB, free: 3.602 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005733/7.777, allocations: 114.2 kB / 3.715 GB, free: 3.508 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.646e-05/7.777, allocations: 35.8 kB / 3.715 GB, free: 3.477 MB / 0.4948 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.0003474/7.777, allocations: 280.8 kB / 3.715 GB, free: 3.195 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.943e-05/7.777, allocations: 63.25 kB / 3.715 GB, free: 3.133 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003039/7.78, allocations: 3.016 MB / 3.718 GB, free: 128 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-05/7.78, allocations: 43.88 kB / 3.718 GB, free: 84 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/7.78, allocations: 0 / 3.718 GB, free: 84 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/7.78, allocations: 3.984 kB / 3.718 GB, free: 80 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/7.782, allocations: 1.453 MB / 3.72 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/7.782, allocations: 0 / 3.72 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000346/7.782, allocations: 91.81 kB / 3.72 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002057/7.784, allocations: 1.062 MB / 3.721 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.614e-05/7.784, allocations: 11.98 kB / 3.721 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001594/7.786, allocations: 1.439 MB / 3.722 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/7.786, allocations: 0 / 3.722 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0028/7.789, allocations: 2.032 MB / 3.724 GB, free: 9.898 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004593/7.789, allocations: 322.7 kB / 3.725 GB, free: 9.562 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.978e-05/7.789, allocations: 12 kB / 3.725 GB, free: 9.551 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005154/7.79, allocations: 83.77 kB / 3.725 GB, free: 9.469 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/7.79, allocations: 52.48 kB / 3.725 GB, free: 9.418 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-05/7.79, allocations: 23.98 kB / 3.725 GB, free: 9.395 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006301/7.791, allocations: 463 kB / 3.725 GB, free: 8.945 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.1e-07/7.791, allocations: 0 / 3.725 GB, free: 8.945 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005856/7.796, allocations: 1.42 MB / 3.727 GB, free: 7.527 MB / 0.5105 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.007889/7.804, allocations: 1.72 MB / 3.728 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003115/7.808, allocations: 1.336 MB / 3.73 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.627e-06/7.808, allocations: 4 kB / 3.73 GB, free: 4.637 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/7.809, allocations: 0.7887 MB / 3.73 GB, free: 3.844 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/7.811, allocations: 313.1 kB / 3.731 GB, free: 3.543 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003823/7.814, allocations: 2.925 MB / 3.734 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2549/8.069, allocations: 1.122 MB / 3.735 GB, free: 57.51 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/8.07, allocations: 60.02 kB / 3.735 GB, free: 57.51 MB / 0.5105 GB Notification: Performance of SimCode: time 1.643e-06/8.07, allocations: 1.438 kB / 3.735 GB, free: 57.51 MB / 0.5105 GB Notification: Performance of Templates: time 0.05441/8.124, allocations: 35.25 MB / 3.769 GB, free: 56.49 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefault/TestWaterPumpDefault.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches