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.001693/0.001693, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 221.5 MB / 230.7 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009202/0.00092, allocations: 95.47 kB / 281.6 MB, free: 5.336 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.2133/0.2133, allocations: 44.15 MB / 376.5 MB, free: 3.074 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.614e-05/1.618e-05, allocations: 4.219 kB / 444.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1471, allocations: 61.91 MB / 0.4947 GB, free: 1.273 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.135/8.282, allocations: 2.77 GB / 3.264 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003586/8.283, allocations: 84.64 kB / 3.264 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.601/9.883, allocations: 420.5 MB / 3.675 GB, free: 74.45 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.553e-06/9.884, allocations: 2.531 kB / 3.675 GB, free: 74.45 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.345e-05/9.884, allocations: 18.62 kB / 3.675 GB, free: 74.45 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.006419/9.89, allocations: 1.649 MB / 3.677 GB, free: 73.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/9.89, allocations: 14.64 kB / 3.677 GB, free: 73.69 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002418/9.893, allocations: 303.1 kB / 3.677 GB, free: 73.66 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/9.894, allocations: 0.5211 MB / 3.677 GB, free: 73.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.851e-05/9.894, allocations: 26.59 kB / 3.678 GB, free: 73.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/9.894, allocations: 31.22 kB / 3.678 GB, free: 73.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009073/9.895, allocations: 0.5129 MB / 3.678 GB, free: 73.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009675/9.896, allocations: 0.6435 MB / 3.679 GB, free: 73.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/9.896, allocations: 1.875 kB / 3.679 GB, free: 73.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.078e-05/9.896, allocations: 0 / 3.679 GB, free: 73.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.83e-05/9.896, allocations: 24.72 kB / 3.679 GB, free: 73.2 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.07157/9.968, allocations: 44.12 MB / 3.722 GB, free: 45.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006934/9.968, allocations: 388.9 kB / 3.722 GB, free: 45.62 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/9.969, allocations: 191.9 kB / 3.722 GB, free: 45.61 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04063/10.01, allocations: 24.17 MB / 3.746 GB, free: 30.13 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/10.01, allocations: 40.64 kB / 3.746 GB, free: 30.09 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=39): time 2.785e-06/10.01, allocations: 0 / 3.746 GB, free: 30.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.002826/10.01, allocations: 0.8274 MB / 3.747 GB, free: 30.02 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/10.01, allocations: 106.2 kB / 3.747 GB, free: 29.89 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004107/10.01, allocations: 362 kB / 3.747 GB, free: 29.78 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/10.01, allocations: 25.7 kB / 3.747 GB, free: 29.75 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/10.01, allocations: 342.1 kB / 3.748 GB, free: 29.55 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.752e-05/10.01, allocations: 130.5 kB / 3.748 GB, free: 29.47 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/10.01, allocations: 0 / 3.748 GB, free: 29.47 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.965e-05/10.01, allocations: 355.8 kB / 3.748 GB, free: 29.16 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/10.01, allocations: 150.6 kB / 3.748 GB, free: 29.16 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/10.01, allocations: 321.2 kB / 3.749 GB, free: 28.96 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007766/10.01, allocations: 253.8 kB / 3.749 GB, free: 28.95 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/10.01, allocations: 3.844 kB / 3.749 GB, free: 28.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001543/10.02, allocations: 0.6754 MB / 3.749 GB, free: 28.87 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003523/10.02, allocations: 1.927 MB / 3.751 GB, free: 26.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/10.02, allocations: 3.688 kB / 3.751 GB, free: 26.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006636/10.02, allocations: 172.5 kB / 3.751 GB, free: 26.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000386/10.02, allocations: 122.8 kB / 3.752 GB, free: 26.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007216/10.02, allocations: 0.76 MB / 3.752 GB, free: 26.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006812/10.02, allocations: 110.8 kB / 3.752 GB, free: 26.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.074e-05/10.02, allocations: 29.22 kB / 3.752 GB, free: 26.28 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/10.02, allocations: 10.34 kB / 3.752 GB, free: 26.27 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001409/10.02, allocations: 0.5666 MB / 3.753 GB, free: 26.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/10.02, allocations: 3.906 kB / 3.753 GB, free: 26.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007122/10.02, allocations: 165.4 kB / 3.753 GB, free: 26.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003709/10.02, allocations: 120.3 kB / 3.753 GB, free: 26.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005075/10.02, allocations: 0.7145 MB / 3.754 GB, free: 25.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005681/10.02, allocations: 99.45 kB / 3.754 GB, free: 25.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-05/10.02, allocations: 27.06 kB / 3.754 GB, free: 25.69 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 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete 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.0001566/10.02, allocations: 128.5 kB / 3.754 GB, free: 25.57 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.893e-05/10.02, allocations: 55.38 kB / 3.754 GB, free: 25.55 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002458/10.03, allocations: 2.343 MB / 3.757 GB, free: 25.28 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.718e-05/10.03, allocations: 42.25 kB / 3.757 GB, free: 25.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/10.03, allocations: 0 / 3.757 GB, free: 25.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/10.03, allocations: 3.422 kB / 3.757 GB, free: 25.27 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/10.03, allocations: 1.106 MB / 3.758 GB, free: 25.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/10.03, allocations: 2.062 kB / 3.758 GB, free: 25.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/10.03, allocations: 66.98 kB / 3.758 GB, free: 25.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009278/10.03, allocations: 0.7364 MB / 3.758 GB, free: 25 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/10.03, allocations: 7.969 kB / 3.758 GB, free: 25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009764/10.03, allocations: 1.335 MB / 3.76 GB, free: 24.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/10.03, allocations: 0 / 3.76 GB, free: 24.46 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/10.03, allocations: 1.628 MB / 3.761 GB, free: 24.17 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002902/10.03, allocations: 265.7 kB / 3.762 GB, free: 23.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.353e-05/10.03, allocations: 3.375 kB / 3.762 GB, free: 23.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004881/10.03, allocations: 65.23 kB / 3.762 GB, free: 23.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.85e-05/10.03, allocations: 38.77 kB / 3.762 GB, free: 23.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.425e-05/10.03, allocations: 18.84 kB / 3.762 GB, free: 23.98 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003339/10.03, allocations: 343.4 kB / 3.762 GB, free: 23.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.733e-06/10.03, allocations: 4 kB / 3.762 GB, free: 23.89 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005491/10.04, allocations: 1.316 MB / 3.763 GB, free: 23.68 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: 20 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.006604/10.04, allocations: 1.757 MB / 3.765 GB, free: 23.29 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001786/10.05, allocations: 0.99 MB / 3.766 GB, free: 23.27 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/10.05, allocations: 7.875 kB / 3.766 GB, free: 23.27 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006578/10.05, allocations: 0.6005 MB / 3.767 GB, free: 23.25 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/10.05, allocations: 246.4 kB / 3.767 GB, free: 23.23 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/10.05, allocations: 1.438 MB / 3.768 GB, free: 22.87 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/10.05, allocations: 1.084 MB / 3.769 GB, free: 22.15 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001039/10.05, allocations: 0.7543 MB / 3.77 GB, free: 22.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.559e-05/10.05, allocations: 45.08 kB / 3.77 GB, free: 22.11 MB / 0.5261 GB Notification: Performance of SimCode: time 6.61e-07/10.05, allocations: 0 / 3.77 GB, free: 22.11 MB / 0.5261 GB Notification: Performance of Templates: time 0.04615/10.1, allocations: 36.12 MB / 3.805 GB, free: 0.7539 MB / 0.5261 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