Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.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.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_3.2.3_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_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 181.5 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.591/1.591, 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.0007831/0.0007832, allocations: 98.3 kB / 271.9 MB, free: 8.246 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.3639/0.3639, allocations: 43.56 MB / 363.8 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003602, allocations: 23.98 kB / 432.6 MB, free: 5.641 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1284, allocations: 58.84 MB / 491.5 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.615/5.743, allocations: 2.765 GB / 3.245 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/5.743, allocations: 85.95 kB / 3.245 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.228/6.971, allocations: 402.8 MB / 3.639 GB, free: 45.46 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.893e-06/6.971, allocations: 0 / 3.639 GB, free: 45.46 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.874e-05/6.971, allocations: 11.88 kB / 3.639 GB, free: 45.46 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.005722/6.977, allocations: 1.719 MB / 3.64 GB, free: 44.47 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/6.977, allocations: 7.719 kB / 3.64 GB, free: 44.47 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001964/6.979, allocations: 294 kB / 3.64 GB, free: 44.42 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007493/6.98, allocations: 0.5542 MB / 3.641 GB, free: 44.04 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.295e-05/6.98, allocations: 45.81 kB / 3.641 GB, free: 44.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.391e-05/6.98, allocations: 52.94 kB / 3.641 GB, free: 44 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/6.982, allocations: 0.9763 MB / 3.642 GB, free: 43.58 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/6.982, allocations: 9.406 kB / 3.642 GB, free: 43.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.158e-05/6.982, allocations: 27.31 kB / 3.642 GB, free: 43.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.715e-05/6.982, allocations: 20.06 kB / 3.642 GB, free: 43.55 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002057/6.984, allocations: 0.8655 MB / 3.643 GB, free: 43.34 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.003809/6.988, allocations: 4.646 MB / 3.648 GB, free: 39.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002087/6.99, allocations: 0.7597 MB / 3.648 GB, free: 39.31 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005351/6.991, allocations: 282.4 kB / 3.649 GB, free: 39.22 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03585/7.027, allocations: 24.08 MB / 3.672 GB, free: 23.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/7.027, allocations: 42.25 kB / 3.672 GB, free: 23.63 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=43): time 2.845e-06/7.027, allocations: 0 / 3.672 GB, free: 23.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43): time 0.006565/7.033, allocations: 1.69 MB / 3.674 GB, free: 23.17 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/7.033, allocations: 106.6 kB / 3.674 GB, free: 23.04 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005395/7.034, allocations: 472.5 kB / 3.674 GB, free: 22.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.676e-05/7.034, allocations: 29.7 kB / 3.674 GB, free: 22.78 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/7.034, allocations: 323.9 kB / 3.675 GB, free: 22.52 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/7.034, allocations: 144.4 kB / 3.675 GB, free: 22.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/7.034, allocations: 8 kB / 3.675 GB, free: 22.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.714e-05/7.034, allocations: 367.5 kB / 3.675 GB, free: 22.06 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005133/7.035, allocations: 221.2 kB / 3.675 GB, free: 22 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005676/7.035, allocations: 396.2 kB / 3.676 GB, free: 21.72 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/7.036, allocations: 0.6045 MB / 3.676 GB, free: 21.36 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/7.036, allocations: 0 / 3.676 GB, free: 21.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001755/7.038, allocations: 0.8023 MB / 3.677 GB, free: 21.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/7.038, allocations: 231.4 kB / 3.677 GB, free: 20.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/7.038, allocations: 3.75 kB / 3.677 GB, free: 20.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001178/7.04, allocations: 257 kB / 3.678 GB, free: 20.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/7.04, allocations: 121.2 kB / 3.678 GB, free: 20.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008604/7.041, allocations: 0.7771 MB / 3.678 GB, free: 20.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006137/7.041, allocations: 109.9 kB / 3.679 GB, free: 20.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.161e-05/7.042, allocations: 28.89 kB / 3.679 GB, free: 20.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.283e-06/7.042, allocations: 7.625 kB / 3.679 GB, free: 20.05 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001587/7.043, allocations: 0.7168 MB / 3.679 GB, free: 19.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/7.043, allocations: 6.844 kB / 3.679 GB, free: 19.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009451/7.044, allocations: 206.4 kB / 3.679 GB, free: 19.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003849/7.045, allocations: 122.5 kB / 3.68 GB, free: 19.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007608/7.045, allocations: 0.7509 MB / 3.68 GB, free: 19.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005504/7.046, allocations: 98.78 kB / 3.68 GB, free: 19.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-05/7.046, allocations: 26.67 kB / 3.68 GB, free: 19.1 MB / 0.4948 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.000304/7.046, allocations: 279.5 kB / 3.681 GB, free: 18.86 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.46e-05/7.046, allocations: 68.12 kB / 3.681 GB, free: 18.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003242/7.05, allocations: 2.911 MB / 3.684 GB, free: 17.49 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-05/7.05, allocations: 46.97 kB / 3.684 GB, free: 17.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/7.05, allocations: 3.938 kB / 3.684 GB, free: 17.47 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/7.05, allocations: 3.562 kB / 3.684 GB, free: 17.47 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/7.051, allocations: 1.423 MB / 3.685 GB, free: 16.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/7.051, allocations: 3.625 kB / 3.685 GB, free: 16.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003056/7.051, allocations: 88.5 kB / 3.685 GB, free: 16.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001061/7.052, allocations: 0.6599 MB / 3.686 GB, free: 16.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.962e-05/7.052, allocations: 19.39 kB / 3.686 GB, free: 16.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/7.053, allocations: 1.207 MB / 3.687 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/7.053, allocations: 4.062 kB / 3.687 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002198/7.056, allocations: 1.872 MB / 3.689 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003387/7.056, allocations: 321.4 kB / 3.689 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.048e-05/7.056, allocations: 12 kB / 3.689 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005028/7.057, allocations: 91.38 kB / 3.689 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/7.057, allocations: 44.52 kB / 3.689 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.632e-05/7.057, allocations: 23.45 kB / 3.689 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004164/7.057, allocations: 420.9 kB / 3.69 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/7.057, allocations: 0 / 3.69 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005236/7.062, allocations: 1.347 MB / 3.691 GB, free: 14.1 MB / 0.4948 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.007651/7.07, allocations: 1.647 MB / 3.693 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002546/7.073, allocations: 1.293 MB / 3.694 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/7.073, allocations: 320 / 3.694 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008796/7.074, allocations: 0.7882 MB / 3.695 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/7.075, allocations: 312.2 kB / 3.695 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/7.078, allocations: 2.854 MB / 3.698 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/7.078, allocations: 1.116 MB / 3.699 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/7.079, allocations: 64.95 kB / 3.699 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of SimCode: time 4.6e-07/7.079, allocations: 0 / 3.699 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of Templates: time 0.04458/7.123, allocations: 34.02 MB / 3.732 GB, free: 2.477 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefaultLV/TestWaterPumpDefaultLV.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches