Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.0009936/0.0009941, allocations: 184 kB / 13.19 MB, free: 2.129 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.417/1.417, allocations: 205.2 MB / 218.9 MB, free: 9.195 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.0008746/0.0008748, allocations: 96.95 kB / 267.1 MB, free: 9.281 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.3736/0.3736, allocations: 43.48 MB / 358.6 MB, free: 51.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.2e-05/3.202e-05, allocations: 3.984 kB / 425.3 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1189, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.753/5.872, allocations: 2.765 GB / 3.237 GB, free: 64.47 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/5.873, allocations: 84.31 kB / 3.238 GB, free: 64.44 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.217/7.09, allocations: 420.2 MB / 3.648 GB, free: 51.32 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.302e-06/7.09, allocations: 3.656 kB / 3.648 GB, free: 51.32 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.588e-05/7.09, allocations: 18.12 kB / 3.648 GB, free: 51.32 MB / 0.5105 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.005156/7.095, allocations: 1.652 MB / 3.65 GB, free: 50.31 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/7.095, allocations: 7.625 kB / 3.65 GB, free: 50.31 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001974/7.097, allocations: 299.2 kB / 3.65 GB, free: 50.26 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000782/7.098, allocations: 0.5176 MB / 3.65 GB, free: 49.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.135e-05/7.098, allocations: 50.55 kB / 3.65 GB, free: 49.89 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.44e-05/7.098, allocations: 54.22 kB / 3.65 GB, free: 49.87 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/7.099, allocations: 0.9566 MB / 3.651 GB, free: 49.42 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/7.1, allocations: 3.938 kB / 3.651 GB, free: 49.42 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.878e-05/7.1, allocations: 23.78 kB / 3.651 GB, free: 49.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/7.1, allocations: 19.78 kB / 3.651 GB, free: 49.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/7.101, allocations: 0.7889 MB / 3.652 GB, free: 49.17 MB / 0.5105 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.003778/7.105, allocations: 4.652 MB / 3.657 GB, free: 45.32 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/7.106, allocations: 0.6799 MB / 3.657 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/7.107, allocations: 228.9 kB / 3.658 GB, free: 45.01 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03612/7.143, allocations: 24.15 MB / 3.681 GB, free: 29.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/7.143, allocations: 38.47 kB / 3.681 GB, free: 29.18 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=43): time 2.144e-06/7.143, allocations: 0 / 3.681 GB, free: 29.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43): time 0.002771/7.146, allocations: 0.9948 MB / 3.682 GB, free: 28.77 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/7.146, allocations: 118.7 kB / 3.682 GB, free: 28.64 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004206/7.146, allocations: 401.7 kB / 3.683 GB, free: 28.27 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.896e-05/7.146, allocations: 29.7 kB / 3.683 GB, free: 28.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/7.146, allocations: 325.8 kB / 3.683 GB, free: 27.94 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.864e-05/7.146, allocations: 143.1 kB / 3.683 GB, free: 27.81 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/7.147, allocations: 12 kB / 3.683 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.783e-05/7.147, allocations: 361.2 kB / 3.684 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/7.147, allocations: 156.5 kB / 3.684 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/7.147, allocations: 332.7 kB / 3.684 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/7.147, allocations: 197.3 kB / 3.684 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/7.147, allocations: 4 kB / 3.684 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001035/7.148, allocations: 0.6349 MB / 3.685 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002789/7.149, allocations: 1.919 MB / 3.687 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/7.149, allocations: 8 kB / 3.687 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006455/7.149, allocations: 177.6 kB / 3.687 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000388/7.15, allocations: 120.9 kB / 3.687 GB, free: 23.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005703/7.15, allocations: 0.7314 MB / 3.688 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005794/7.151, allocations: 103.4 kB / 3.688 GB, free: 23.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.923e-05/7.151, allocations: 35.98 kB / 3.688 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.832e-06/7.151, allocations: 4 kB / 3.688 GB, free: 22.97 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009291/7.152, allocations: 0.5673 MB / 3.688 GB, free: 22.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/7.152, allocations: 8.062 kB / 3.688 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007277/7.153, allocations: 176.6 kB / 3.689 GB, free: 22.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000371/7.153, allocations: 115.9 kB / 3.689 GB, free: 22.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004336/7.154, allocations: 0.7062 MB / 3.689 GB, free: 21.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004809/7.154, allocations: 99.55 kB / 3.689 GB, free: 21.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.326e-05/7.154, allocations: 27.98 kB / 3.689 GB, free: 21.25 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 () * 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.0001292/7.154, allocations: 144.8 kB / 3.69 GB, free: 21.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.13e-05/7.154, allocations: 59.14 kB / 3.69 GB, free: 21.05 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002353/7.157, allocations: 2.9 MB / 3.693 GB, free: 18.13 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-05/7.157, allocations: 43.92 kB / 3.693 GB, free: 18.09 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/7.157, allocations: 0 / 3.693 GB, free: 18.09 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/7.157, allocations: 3.984 kB / 3.693 GB, free: 18.08 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/7.158, allocations: 1.431 MB / 3.694 GB, free: 16.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/7.158, allocations: 0 / 3.694 GB, free: 16.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003087/7.158, allocations: 95.88 kB / 3.694 GB, free: 16.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009489/7.159, allocations: 0.7401 MB / 3.695 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.348e-05/7.159, allocations: 15.98 kB / 3.695 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000799/7.16, allocations: 1.249 MB / 3.696 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/7.16, allocations: 0 / 3.696 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/7.162, allocations: 1.797 MB / 3.698 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000293/7.162, allocations: 322.7 kB / 3.698 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.293e-05/7.162, allocations: 15.95 kB / 3.698 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000451/7.162, allocations: 83.78 kB / 3.698 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.615e-05/7.163, allocations: 56.42 kB / 3.698 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/7.163, allocations: 19.98 kB / 3.698 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003797/7.163, allocations: 415.2 kB / 3.699 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/7.163, allocations: 0 / 3.699 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004946/7.168, allocations: 1.35 MB / 3.7 GB, free: 10.4 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 () * 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.005678/7.174, allocations: 1.653 MB / 3.702 GB, free: 8.949 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001792/7.175, allocations: 1.127 MB / 3.703 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/7.175, allocations: 3.938 kB / 3.703 GB, free: 7.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000623/7.176, allocations: 0.7146 MB / 3.703 GB, free: 7.102 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/7.178, allocations: 298 kB / 3.704 GB, free: 6.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/7.179, allocations: 1.701 MB / 3.705 GB, free: 5.09 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/7.18, allocations: 1.135 MB / 3.706 GB, free: 3.93 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008779/7.181, allocations: 0.6865 MB / 3.707 GB, free: 3.246 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.187e-05/7.181, allocations: 47.44 kB / 3.707 GB, free: 3.199 MB / 0.5105 GB Notification: Performance of SimCode: time 9.42e-07/7.181, allocations: 0 / 3.707 GB, free: 3.199 MB / 0.5105 GB Notification: Performance of Templates: time 0.319/7.5, allocations: 43.78 MB / 3.75 GB, free: 58.68 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat","/var/lib/jenkins/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_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches