Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 177 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001133, allocations: 95.33 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4139/0.4139, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003925/0.0003927, allocations: 8 kB / 459.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4482/0.4487, allocations: 61.9 MB / 0.5096 GB, free: 38.06 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.945/7.394, allocations: 2.77 GB / 3.28 GB, free: 88.38 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/7.394, allocations: 94.45 kB / 3.28 GB, free: 88.29 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.358/8.752, allocations: 425.9 MB / 3.696 GB, free: 51.68 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.572e-06/8.752, allocations: 0 / 3.696 GB, free: 51.68 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.746e-05/8.752, allocations: 18.23 kB / 3.696 GB, free: 51.68 MB / 0.5261 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.00595/8.758, allocations: 1.717 MB / 3.698 GB, free: 50.64 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/8.758, allocations: 14.84 kB / 3.698 GB, free: 50.64 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002305/8.761, allocations: 299.1 kB / 3.698 GB, free: 50.59 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009734/8.762, allocations: 0.5295 MB / 3.698 GB, free: 50.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.067e-05/8.762, allocations: 45.97 kB / 3.698 GB, free: 50.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.826e-05/8.762, allocations: 54.78 kB / 3.698 GB, free: 50.19 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/8.764, allocations: 0.9692 MB / 3.699 GB, free: 49.77 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/8.764, allocations: 11.38 kB / 3.699 GB, free: 49.77 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.244e-05/8.764, allocations: 22.88 kB / 3.699 GB, free: 49.75 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.093e-05/8.764, allocations: 22.03 kB / 3.699 GB, free: 49.74 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001997/8.766, allocations: 0.8643 MB / 3.7 GB, free: 49.54 MB / 0.5261 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.004053/8.77, allocations: 4.652 MB / 3.705 GB, free: 45.69 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002163/8.772, allocations: 0.7618 MB / 3.706 GB, free: 45.49 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03814/8.811, allocations: 24.08 MB / 3.729 GB, free: 29.93 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/8.811, allocations: 40 kB / 3.729 GB, free: 29.88 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=43): time 2.595e-06/8.811, allocations: 3.938 kB / 3.729 GB, free: 29.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=43): time 0.005308/8.816, allocations: 1.602 MB / 3.731 GB, free: 29.42 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/8.816, allocations: 110.3 kB / 3.731 GB, free: 29.29 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004769/8.817, allocations: 403.7 kB / 3.731 GB, free: 29.09 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.002e-05/8.817, allocations: 37.67 kB / 3.731 GB, free: 29.05 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/8.817, allocations: 319.7 kB / 3.732 GB, free: 28.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/8.817, allocations: 147.8 kB / 3.732 GB, free: 28.69 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/8.817, allocations: 11.91 kB / 3.732 GB, free: 28.68 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.438e-05/8.817, allocations: 359.6 kB / 3.732 GB, free: 28.35 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004656/8.817, allocations: 231.4 kB / 3.732 GB, free: 28.28 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005088/8.818, allocations: 394.7 kB / 3.733 GB, free: 28 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004852/8.818, allocations: 263.6 kB / 3.733 GB, free: 27.89 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/8.818, allocations: 3.969 kB / 3.733 GB, free: 27.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001579/8.82, allocations: 0.7887 MB / 3.734 GB, free: 27.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003618/8.82, allocations: 1.923 MB / 3.736 GB, free: 25.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/8.82, allocations: 3.844 kB / 3.736 GB, free: 25.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008496/8.821, allocations: 205.5 kB / 3.736 GB, free: 25.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003764/8.822, allocations: 125 kB / 3.736 GB, free: 25.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007954/8.822, allocations: 0.7694 MB / 3.737 GB, free: 24.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006216/8.823, allocations: 106.3 kB / 3.737 GB, free: 24.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.943e-05/8.823, allocations: 34.31 kB / 3.737 GB, free: 24.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/8.823, allocations: 5.312 kB / 3.737 GB, free: 24.84 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001514/8.825, allocations: 0.7088 MB / 3.737 GB, free: 24.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/8.825, allocations: 7.641 kB / 3.737 GB, free: 24.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000935/8.826, allocations: 209.5 kB / 3.738 GB, free: 24.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003652/8.826, allocations: 126.5 kB / 3.738 GB, free: 24.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000696/8.827, allocations: 0.7541 MB / 3.739 GB, free: 23.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005869/8.827, allocations: 109 kB / 3.739 GB, free: 23.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-05/8.827, allocations: 26.88 kB / 3.739 GB, free: 23.88 MB / 0.5261 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.0003838/8.828, allocations: 278.4 kB / 3.739 GB, free: 23.64 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.292e-05/8.828, allocations: 57.06 kB / 3.739 GB, free: 23.61 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00305/8.831, allocations: 2.924 MB / 3.742 GB, free: 21.63 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.842e-05/8.831, allocations: 42.75 kB / 3.742 GB, free: 21.61 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/8.831, allocations: 0 / 3.742 GB, free: 21.61 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/8.831, allocations: 3.75 kB / 3.742 GB, free: 21.61 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/8.833, allocations: 1.421 MB / 3.743 GB, free: 20.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/8.833, allocations: 4 kB / 3.743 GB, free: 20.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003255/8.833, allocations: 95.16 kB / 3.743 GB, free: 20.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001078/8.834, allocations: 0.6554 MB / 3.744 GB, free: 19.74 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/8.834, allocations: 12 kB / 3.744 GB, free: 19.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/8.835, allocations: 1.207 MB / 3.745 GB, free: 18.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/8.835, allocations: 4.062 kB / 3.745 GB, free: 18.58 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/8.837, allocations: 1.868 MB / 3.747 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000363/8.838, allocations: 322.5 kB / 3.747 GB, free: 16.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.768e-05/8.838, allocations: 16 kB / 3.747 GB, free: 16.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004592/8.838, allocations: 77.8 kB / 3.747 GB, free: 16.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/8.838, allocations: 45.14 kB / 3.747 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.614e-05/8.838, allocations: 19.19 kB / 3.747 GB, free: 16.46 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004102/8.839, allocations: 427 kB / 3.748 GB, free: 16.11 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/8.839, allocations: 0 / 3.748 GB, free: 16.11 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006146/8.845, allocations: 1.36 MB / 3.749 GB, free: 14.77 MB / 0.5261 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.008035/8.853, allocations: 1.651 MB / 3.751 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003041/8.856, allocations: 1.306 MB / 3.752 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/8.856, allocations: 8.312 kB / 3.752 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009821/8.857, allocations: 0.7763 MB / 3.753 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/8.859, allocations: 299.5 kB / 3.753 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003184/8.862, allocations: 2.827 MB / 3.756 GB, free: 8.809 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005206/8.862, allocations: 1.137 MB / 3.757 GB, free: 7.809 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009816/8.863, allocations: 0.6663 MB / 3.758 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/8.864, allocations: 59.05 kB / 3.758 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of SimCode: time 8.62e-07/8.864, allocations: 0 / 3.758 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of Templates: time 0.3183/9.182, allocations: 41.47 MB / 3.798 GB, free: 74.29 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefaultLV/TestWaterPumpDefaultLV.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches