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.001426/0.001426, allocations: 186.7 kB / 16.41 MB, free: 5.727 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.898/1.898, allocations: 205.4 MB / 222.5 MB, free: 9.148 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.001124/0.001123, allocations: 95.55 kB / 270.9 MB, free: 8.402 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.5186/0.5186, allocations: 43.55 MB / 362.7 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006361/0.000636, allocations: 16 kB / 431.4 MB, free: 6.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1303, allocations: 58.85 MB / 490.2 MB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.499/8.63, allocations: 2.782 GB / 3.26 GB, free: 29.16 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003496/8.63, allocations: 90.64 kB / 3.26 GB, free: 29.11 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 2.561/11.19, allocations: 440 MB / 3.69 GB, free: 57.12 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.364e-06/11.19, allocations: 0 / 3.69 GB, free: 57.12 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.178e-05/11.19, allocations: 20.16 kB / 3.69 GB, free: 57.12 MB / 0.5105 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.008668/11.2, allocations: 1.828 MB / 3.692 GB, free: 56.49 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/11.2, allocations: 8.594 kB / 3.692 GB, free: 56.49 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003965/11.2, allocations: 330.9 kB / 3.692 GB, free: 56.45 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001925/11.21, allocations: 0.5671 MB / 3.693 GB, free: 56.21 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/11.21, allocations: 49.27 kB / 3.693 GB, free: 56.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/11.21, allocations: 54.53 kB / 3.693 GB, free: 56.21 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004287/11.21, allocations: 1.006 MB / 3.694 GB, free: 56.02 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.114e-05/11.21, allocations: 5.219 kB / 3.694 GB, free: 56.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/11.21, allocations: 25.5 kB / 3.694 GB, free: 56.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.168e-05/11.21, allocations: 21.59 kB / 3.694 GB, free: 56.01 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004571/11.22, allocations: 0.9045 MB / 3.695 GB, free: 56.01 MB / 0.5105 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.008536/11.22, allocations: 4.81 MB / 3.7 GB, free: 52.71 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00363/11.23, allocations: 0.6934 MB / 3.7 GB, free: 52.69 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07509/11.3, allocations: 24.08 MB / 3.724 GB, free: 38.04 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/11.3, allocations: 39.64 kB / 3.724 GB, free: 38 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=43): time 3.867e-06/11.3, allocations: 3 kB / 3.724 GB, free: 38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43): time 0.01032/11.31, allocations: 1.64 MB / 3.725 GB, free: 37.82 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/11.31, allocations: 109.7 kB / 3.725 GB, free: 37.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009196/11.31, allocations: 465.3 kB / 3.726 GB, free: 37.58 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001288/11.31, allocations: 32.55 kB / 3.726 GB, free: 37.55 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002309/11.31, allocations: 370.4 kB / 3.726 GB, free: 37.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/11.32, allocations: 150.6 kB / 3.726 GB, free: 37.26 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.759e-05/11.32, allocations: 9.562 kB / 3.726 GB, free: 37.26 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.99e-05/11.32, allocations: 336.8 kB / 3.727 GB, free: 36.95 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/11.32, allocations: 236.8 kB / 3.727 GB, free: 36.95 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/11.32, allocations: 418.5 kB / 3.727 GB, free: 36.75 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/11.32, allocations: 279.2 kB / 3.728 GB, free: 36.75 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.096e-06/11.32, allocations: 2.156 kB / 3.728 GB, free: 36.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003071/11.32, allocations: 0.773 MB / 3.728 GB, free: 36.69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004652/11.32, allocations: 2.005 MB / 3.73 GB, free: 34.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/11.32, allocations: 10.23 kB / 3.73 GB, free: 34.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0026/11.33, allocations: 303.4 kB / 3.731 GB, free: 34.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009706/11.33, allocations: 134.7 kB / 3.731 GB, free: 34.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/11.33, allocations: 0.7945 MB / 3.732 GB, free: 34.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/11.33, allocations: 122.3 kB / 3.732 GB, free: 34.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/11.33, allocations: 31.36 kB / 3.732 GB, free: 34.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/11.33, allocations: 5.781 kB / 3.732 GB, free: 34.04 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003942/11.33, allocations: 0.761 MB / 3.732 GB, free: 34.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/11.33, allocations: 3.094 kB / 3.732 GB, free: 34.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001698/11.34, allocations: 199.2 kB / 3.733 GB, free: 34.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009723/11.34, allocations: 139.2 kB / 3.733 GB, free: 34.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/11.34, allocations: 0.7455 MB / 3.734 GB, free: 33.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/11.34, allocations: 104 kB / 3.734 GB, free: 33.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.522e-05/11.34, allocations: 33.94 kB / 3.734 GB, free: 33.47 MB / 0.5105 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.0005789/11.34, allocations: 284.6 kB / 3.734 GB, free: 33.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002365/11.34, allocations: 62.06 kB / 3.734 GB, free: 33.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005899/11.35, allocations: 3.015 MB / 3.737 GB, free: 32.94 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.477e-05/11.35, allocations: 46.95 kB / 3.737 GB, free: 32.94 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/11.35, allocations: 0 / 3.737 GB, free: 32.94 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/11.35, allocations: 3.891 kB / 3.737 GB, free: 32.94 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002374/11.35, allocations: 1.458 MB / 3.738 GB, free: 32.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/11.35, allocations: 0 / 3.738 GB, free: 32.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006671/11.35, allocations: 88.42 kB / 3.738 GB, free: 32.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003391/11.35, allocations: 1.06 MB / 3.74 GB, free: 32.61 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001183/11.35, allocations: 14.33 kB / 3.74 GB, free: 32.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002299/11.35, allocations: 1.438 MB / 3.741 GB, free: 32.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/11.35, allocations: 3.953 kB / 3.741 GB, free: 32.06 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00451/11.36, allocations: 2.019 MB / 3.743 GB, free: 31.76 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007879/11.36, allocations: 331.5 kB / 3.743 GB, free: 31.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/11.36, allocations: 16.55 kB / 3.743 GB, free: 31.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000992/11.36, allocations: 83.06 kB / 3.743 GB, free: 31.55 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/11.36, allocations: 49.41 kB / 3.743 GB, free: 31.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.971e-05/11.36, allocations: 21.36 kB / 3.743 GB, free: 31.55 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009505/11.36, allocations: 472 kB / 3.744 GB, free: 31.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.71e-07/11.36, allocations: 0 / 3.744 GB, free: 31.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007145/11.37, allocations: 1.419 MB / 3.745 GB, free: 31.23 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.011/11.38, allocations: 1.699 MB / 3.747 GB, free: 30.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004821/11.39, allocations: 1.316 MB / 3.748 GB, free: 30.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/11.39, allocations: 1 kB / 3.748 GB, free: 30.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002006/11.39, allocations: 0.7935 MB / 3.749 GB, free: 30.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003051/11.39, allocations: 317.9 kB / 3.749 GB, free: 30.88 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005809/11.4, allocations: 2.923 MB / 3.752 GB, free: 29.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007859/11.4, allocations: 1.156 MB / 3.753 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00035/11.4, allocations: 61.41 kB / 3.753 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of SimCode: time 1.403e-06/11.4, allocations: 0 / 3.753 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of Templates: time 0.07866/11.48, allocations: 37.85 MB / 3.79 GB, free: 25.86 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