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.002117/0.002117, allocations: 186.1 kB / 16.4 MB, free: 5.719 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.965/1.965, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001094/0.001094, allocations: 91.02 kB / 270.9 MB, free: 8.363 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.5041/0.5041, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004491/0.0004491, allocations: 15.98 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1204, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.233/8.354, allocations: 2.765 GB / 3.243 GB, free: 49.22 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/8.354, allocations: 85.14 kB / 3.244 GB, free: 49.18 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.034/10.39, allocations: 421.4 MB / 3.655 GB, free: 20.25 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.395e-06/10.39, allocations: 0 / 3.655 GB, free: 20.25 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.417e-05/10.39, allocations: 14.89 kB / 3.655 GB, free: 20.24 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.007382/10.4, allocations: 1.715 MB / 3.657 GB, free: 18.48 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/10.4, allocations: 11.97 kB / 3.657 GB, free: 18.47 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003298/10.4, allocations: 300.8 kB / 3.657 GB, free: 18.18 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/10.4, allocations: 0.5288 MB / 3.658 GB, free: 17.62 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-05/10.4, allocations: 50.34 kB / 3.658 GB, free: 17.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/10.4, allocations: 56 kB / 3.658 GB, free: 17.52 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003373/10.4, allocations: 0.9695 MB / 3.659 GB, free: 16.48 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/10.4, allocations: 11.92 kB / 3.659 GB, free: 16.47 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.873e-05/10.4, allocations: 24 kB / 3.659 GB, free: 16.45 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.786e-05/10.4, allocations: 17 kB / 3.659 GB, free: 16.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003604/10.41, allocations: 0.8741 MB / 3.66 GB, free: 15.56 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.006505/10.41, allocations: 4.637 MB / 3.664 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003683/10.42, allocations: 0.7537 MB / 3.665 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4577/10.88, allocations: 24.08 MB / 3.688 GB, free: 64.03 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/10.88, allocations: 39.09 kB / 3.688 GB, free: 63.99 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=43): time 3.176e-06/10.88, allocations: 0 / 3.688 GB, free: 63.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43): time 0.01018/10.89, allocations: 1.603 MB / 3.69 GB, free: 63.84 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/10.89, allocations: 111.7 kB / 3.69 GB, free: 63.72 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008104/10.89, allocations: 408.2 kB / 3.69 GB, free: 63.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.778e-05/10.89, allocations: 34.83 kB / 3.69 GB, free: 63.58 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000242/10.89, allocations: 359.1 kB / 3.691 GB, free: 63.39 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/10.89, allocations: 145 kB / 3.691 GB, free: 63.32 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.959e-05/10.89, allocations: 9.844 kB / 3.691 GB, free: 63.32 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.159e-05/10.89, allocations: 332.4 kB / 3.691 GB, free: 63.01 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/10.89, allocations: 220.6 kB / 3.691 GB, free: 63.01 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/10.89, allocations: 396.7 kB / 3.692 GB, free: 62.82 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/10.89, allocations: 259 kB / 3.692 GB, free: 62.81 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/10.89, allocations: 1.156 kB / 3.692 GB, free: 62.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003335/10.89, allocations: 0.7688 MB / 3.693 GB, free: 62.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003922/10.89, allocations: 1.922 MB / 3.695 GB, free: 60.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/10.89, allocations: 5.594 kB / 3.695 GB, free: 60.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001558/10.9, allocations: 204.1 kB / 3.695 GB, free: 60.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008436/10.9, allocations: 120.2 kB / 3.695 GB, free: 60.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/10.9, allocations: 0.7746 MB / 3.696 GB, free: 60.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/10.9, allocations: 112.5 kB / 3.696 GB, free: 60.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.04e-05/10.9, allocations: 31.41 kB / 3.696 GB, free: 60.21 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/10.9, allocations: 4.5 kB / 3.696 GB, free: 60.21 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00318/10.9, allocations: 0.7127 MB / 3.697 GB, free: 60.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/10.9, allocations: 5.469 kB / 3.697 GB, free: 60.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00162/10.9, allocations: 184.2 kB / 3.697 GB, free: 60.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007786/10.91, allocations: 124.6 kB / 3.697 GB, free: 60.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/10.91, allocations: 0.7441 MB / 3.698 GB, free: 59.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008657/10.91, allocations: 97.95 kB / 3.698 GB, free: 59.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.61e-05/10.91, allocations: 28.02 kB / 3.698 GB, free: 59.65 MB / 0.5105 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.0005107/10.91, allocations: 280 kB / 3.698 GB, free: 59.46 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/10.91, allocations: 54.41 kB / 3.698 GB, free: 59.44 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005404/10.91, allocations: 2.931 MB / 3.701 GB, free: 59.18 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.677e-05/10.91, allocations: 41.33 kB / 3.701 GB, free: 59.18 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/10.91, allocations: 0 / 3.701 GB, free: 59.18 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/10.91, allocations: 2.156 kB / 3.701 GB, free: 59.18 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002054/10.92, allocations: 1.425 MB / 3.702 GB, free: 58.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/10.92, allocations: 0 / 3.702 GB, free: 58.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006361/10.92, allocations: 94.22 kB / 3.702 GB, free: 58.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001877/10.92, allocations: 0.6588 MB / 3.703 GB, free: 58.93 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.519e-05/10.92, allocations: 14.06 kB / 3.703 GB, free: 58.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/10.92, allocations: 1.206 MB / 3.704 GB, free: 58.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/10.92, allocations: 0 / 3.704 GB, free: 58.39 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003938/10.92, allocations: 1.874 MB / 3.706 GB, free: 58.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005639/10.92, allocations: 325.7 kB / 3.706 GB, free: 57.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/10.93, allocations: 12.95 kB / 3.706 GB, free: 57.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008554/10.93, allocations: 72.75 kB / 3.707 GB, free: 57.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/10.93, allocations: 49.41 kB / 3.707 GB, free: 57.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.076e-05/10.93, allocations: 29 kB / 3.707 GB, free: 57.93 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007371/10.93, allocations: 420.5 kB / 3.707 GB, free: 57.83 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.01e-07/10.93, allocations: 0 / 3.707 GB, free: 57.83 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006317/10.93, allocations: 1.358 MB / 3.708 GB, free: 57.81 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,$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.01018/10.94, allocations: 1.643 MB / 3.71 GB, free: 57.64 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004494/10.95, allocations: 1.302 MB / 3.711 GB, free: 57.62 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/10.95, allocations: 5.562 kB / 3.711 GB, free: 57.62 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001676/10.95, allocations: 0.7768 MB / 3.712 GB, free: 57.61 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002694/10.95, allocations: 298.8 kB / 3.712 GB, free: 57.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004778/10.96, allocations: 2.862 MB / 3.715 GB, free: 56.36 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006169/10.96, allocations: 1.136 MB / 3.716 GB, free: 55.65 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/10.96, allocations: 58.45 kB / 3.716 GB, free: 55.64 MB / 0.5105 GB Notification: Performance of SimCode: time 8.42e-07/10.96, allocations: 0 / 3.716 GB, free: 55.64 MB / 0.5105 GB Notification: Performance of Templates: time 0.07736/11.04, allocations: 36.6 MB / 3.752 GB, free: 53.41 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