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.002125/0.002125, allocations: 181.3 kB / 8.366 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.138/2.138, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001169/0.001168, allocations: 90.81 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2953/0.2953, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.892e-05/2.901e-05, allocations: 0 / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4173/0.4174, allocations: 58.85 MB / 477.1 MB, free: 5.281 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.046/8.463, allocations: 2.764 GB / 3.23 GB, free: 26.12 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/8.463, allocations: 86.56 kB / 3.23 GB, free: 26.08 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 2.066/10.53, allocations: 416.1 MB / 3.636 GB, free: 9.422 MB / 0.4952 GB Notification: Performance of FrontEnd: time 2.084e-06/10.53, allocations: 0 / 3.636 GB, free: 9.422 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 5.186e-05/10.53, allocations: 15.91 kB / 3.636 GB, free: 9.41 MB / 0.4952 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.007268/10.54, allocations: 1.648 MB / 3.638 GB, free: 7.719 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/10.54, allocations: 8.031 kB / 3.638 GB, free: 7.711 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003179/10.54, allocations: 302.9 kB / 3.638 GB, free: 7.414 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/10.54, allocations: 0.5201 MB / 3.639 GB, free: 6.867 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.814e-05/10.54, allocations: 24 kB / 3.639 GB, free: 6.844 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/10.54, allocations: 28.86 kB / 3.639 GB, free: 6.816 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001318/10.54, allocations: 0.518 MB / 3.639 GB, free: 6.297 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/10.54, allocations: 0.6438 MB / 3.64 GB, free: 5.586 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/10.54, allocations: 4 kB / 3.64 GB, free: 5.582 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.015e-05/10.54, allocations: 4 kB / 3.64 GB, free: 5.578 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.075e-05/10.54, allocations: 21.31 kB / 3.64 GB, free: 5.559 MB / 0.4952 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.4984/11.04, allocations: 44.09 MB / 3.683 GB, free: 35.13 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/11.04, allocations: 394.6 kB / 3.683 GB, free: 35.11 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003957/11.04, allocations: 193.6 kB / 3.684 GB, free: 35.1 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07423/11.12, allocations: 24.16 MB / 3.707 GB, free: 35.97 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.377e-05/11.12, allocations: 46.3 kB / 3.707 GB, free: 35.93 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=39): time 3.877e-06/11.12, allocations: 0 / 3.707 GB, free: 35.93 MB / 0.5108 GB Notification: Performance of matching and sorting (n=39): time 0.004243/11.12, allocations: 0.8264 MB / 3.708 GB, free: 35.87 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.292e-05/11.12, allocations: 113.2 kB / 3.708 GB, free: 35.75 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006306/11.12, allocations: 360.9 kB / 3.708 GB, free: 35.64 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 7.866e-05/11.12, allocations: 25.7 kB / 3.708 GB, free: 35.61 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/11.12, allocations: 378 kB / 3.709 GB, free: 35.38 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/11.12, allocations: 129.6 kB / 3.709 GB, free: 35.31 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/11.12, allocations: 0 / 3.709 GB, free: 35.31 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001563/11.12, allocations: 332.6 kB / 3.709 GB, free: 35 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003779/11.12, allocations: 155.2 kB / 3.709 GB, free: 35 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004582/11.13, allocations: 315.4 kB / 3.71 GB, free: 34.8 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/11.13, allocations: 253.2 kB / 3.71 GB, free: 34.79 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/11.13, allocations: 2.953 kB / 3.71 GB, free: 34.79 MB / 0.5108 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002625/11.13, allocations: 0.6499 MB / 3.711 GB, free: 34.73 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008923/11.13, allocations: 1.918 MB / 3.712 GB, free: 32.71 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/11.13, allocations: 6.25 kB / 3.713 GB, free: 32.71 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001166/11.13, allocations: 181.2 kB / 3.713 GB, free: 32.7 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008196/11.13, allocations: 122.7 kB / 3.713 GB, free: 32.7 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/11.13, allocations: 0.7601 MB / 3.714 GB, free: 32.18 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/11.13, allocations: 110.3 kB / 3.714 GB, free: 32.16 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.434e-05/11.13, allocations: 30.56 kB / 3.714 GB, free: 32.16 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/11.13, allocations: 9.531 kB / 3.714 GB, free: 32.16 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002403/11.14, allocations: 0.5699 MB / 3.714 GB, free: 32.13 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/11.14, allocations: 7.922 kB / 3.714 GB, free: 32.13 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/11.14, allocations: 146.6 kB / 3.714 GB, free: 32.12 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007696/11.14, allocations: 126.9 kB / 3.715 GB, free: 32.12 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000915/11.14, allocations: 0.701 MB / 3.715 GB, free: 31.6 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009411/11.14, allocations: 97.38 kB / 3.715 GB, free: 31.58 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.895e-05/11.14, allocations: 30.05 kB / 3.715 GB, free: 31.58 MB / 0.5108 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.0002808/11.14, allocations: 122.3 kB / 3.715 GB, free: 31.47 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/11.14, allocations: 52.53 kB / 3.715 GB, free: 31.45 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004112/11.15, allocations: 2.349 MB / 3.718 GB, free: 31.21 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.651e-05/11.15, allocations: 38.03 kB / 3.718 GB, free: 31.21 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/11.15, allocations: 0 / 3.718 GB, free: 31.21 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/11.15, allocations: 6.875 kB / 3.718 GB, free: 31.21 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/11.15, allocations: 1.111 MB / 3.719 GB, free: 31 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/11.15, allocations: 0.6875 kB / 3.719 GB, free: 31 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004945/11.15, allocations: 73.3 kB / 3.719 GB, free: 31 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001612/11.15, allocations: 0.7362 MB / 3.72 GB, free: 30.97 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.198e-05/11.15, allocations: 3.516 kB / 3.72 GB, free: 30.97 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/11.15, allocations: 1.337 MB / 3.721 GB, free: 30.43 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/11.15, allocations: 11.59 kB / 3.721 GB, free: 30.43 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002998/11.15, allocations: 1.612 MB / 3.723 GB, free: 30.15 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005381/11.16, allocations: 268.5 kB / 3.723 GB, free: 30 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/11.16, allocations: 3.953 kB / 3.723 GB, free: 30 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008613/11.16, allocations: 72.84 kB / 3.723 GB, free: 29.99 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/11.16, allocations: 40.73 kB / 3.723 GB, free: 29.99 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.437e-05/11.16, allocations: 18.77 kB / 3.723 GB, free: 29.99 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0005576/11.16, allocations: 341.2 kB / 3.723 GB, free: 29.91 MB / 0.5108 GB Notification: Performance of sort global known variables: time 3.91e-07/11.16, allocations: 1.406 kB / 3.723 GB, free: 29.91 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.006345/11.16, allocations: 1.305 MB / 3.725 GB, free: 29.89 MB / 0.5108 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.01073/11.17, allocations: 1.742 MB / 3.726 GB, free: 29.67 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.0026/11.18, allocations: 0.9766 MB / 3.727 GB, free: 29.64 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/11.18, allocations: 0 / 3.727 GB, free: 29.64 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/11.18, allocations: 0.6048 MB / 3.728 GB, free: 29.63 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/11.18, allocations: 250.6 kB / 3.728 GB, free: 29.62 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002958/11.18, allocations: 1.465 MB / 3.729 GB, free: 29.25 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007244/11.18, allocations: 1.083 MB / 3.731 GB, free: 28.52 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002646/11.18, allocations: 57.03 kB / 3.731 GB, free: 28.51 MB / 0.5108 GB Notification: Performance of SimCode: time 1.062e-06/11.18, allocations: 0 / 3.731 GB, free: 28.51 MB / 0.5108 GB Notification: Performance of Templates: time 0.07144/11.26, allocations: 35.6 MB / 3.765 GB, free: 25.1 MB / 0.5108 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