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.00101/0.00101, allocations: 177.8 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 98.14 kB / 261.7 MB, free: 1.684 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.2049/0.2049, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.45e-05/1.451e-05, allocations: 0 / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1206, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.407/6.528, allocations: 2.764 GB / 3.23 GB, free: 156.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/6.528, allocations: 91.36 kB / 3.23 GB, free: 156.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.428/7.956, allocations: 416.1 MB / 3.636 GB, free: 66.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.684e-06/7.956, allocations: 0 / 3.636 GB, free: 66.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.201e-05/7.957, allocations: 18.38 kB / 3.636 GB, free: 66.3 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.006396/7.963, allocations: 1.653 MB / 3.638 GB, free: 65.66 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/7.963, allocations: 7.625 kB / 3.638 GB, free: 65.66 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002427/7.965, allocations: 295 kB / 3.638 GB, free: 65.62 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/7.967, allocations: 0.527 MB / 3.639 GB, free: 65.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.74e-05/7.967, allocations: 21.28 kB / 3.639 GB, free: 65.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/7.967, allocations: 33.45 kB / 3.639 GB, free: 65.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008566/7.968, allocations: 0.5137 MB / 3.639 GB, free: 65.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009211/7.969, allocations: 0.6447 MB / 3.64 GB, free: 65.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/7.969, allocations: 3.953 kB / 3.64 GB, free: 65.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.728e-05/7.969, allocations: 2.938 kB / 3.64 GB, free: 65.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.935e-05/7.969, allocations: 19.78 kB / 3.64 GB, free: 65.2 MB / 0.4948 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.07006/8.039, allocations: 44.1 MB / 3.683 GB, free: 38.02 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006768/8.039, allocations: 386.6 kB / 3.683 GB, free: 37.99 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/8.04, allocations: 187.5 kB / 3.684 GB, free: 37.98 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03856/8.078, allocations: 24.16 MB / 3.707 GB, free: 22.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/8.078, allocations: 37.42 kB / 3.707 GB, free: 22.46 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=39): time 1.903e-06/8.078, allocations: 0 / 3.707 GB, free: 22.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.002679/8.081, allocations: 0.8364 MB / 3.708 GB, free: 22.38 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/8.081, allocations: 113.8 kB / 3.708 GB, free: 22.26 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004127/8.081, allocations: 362.6 kB / 3.708 GB, free: 22.14 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/8.082, allocations: 25.7 kB / 3.709 GB, free: 22.11 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/8.082, allocations: 341.2 kB / 3.709 GB, free: 21.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.497e-05/8.082, allocations: 126.5 kB / 3.709 GB, free: 21.85 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.511e-05/8.082, allocations: 0 / 3.709 GB, free: 21.85 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.227e-05/8.082, allocations: 364.3 kB / 3.709 GB, free: 21.53 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/8.082, allocations: 152 kB / 3.709 GB, free: 21.53 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002916/8.082, allocations: 322.2 kB / 3.71 GB, free: 21.33 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007429/8.083, allocations: 246.6 kB / 3.71 GB, free: 21.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/8.083, allocations: 0 / 3.71 GB, free: 21.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001484/8.085, allocations: 0.6742 MB / 3.711 GB, free: 21.24 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003643/8.085, allocations: 1.925 MB / 3.713 GB, free: 19.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/8.085, allocations: 9.734 kB / 3.713 GB, free: 19.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006238/8.086, allocations: 166.7 kB / 3.713 GB, free: 19.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003882/8.086, allocations: 127.8 kB / 3.713 GB, free: 19.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006939/8.087, allocations: 0.7637 MB / 3.714 GB, free: 18.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006752/8.087, allocations: 115.8 kB / 3.714 GB, free: 18.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.895e-05/8.088, allocations: 29.42 kB / 3.714 GB, free: 18.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.796e-06/8.088, allocations: 3.688 kB / 3.714 GB, free: 18.66 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001367/8.089, allocations: 0.5667 MB / 3.714 GB, free: 18.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/8.089, allocations: 3.688 kB / 3.714 GB, free: 18.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006798/8.09, allocations: 167.8 kB / 3.714 GB, free: 18.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/8.09, allocations: 125.2 kB / 3.715 GB, free: 18.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/8.091, allocations: 0.7166 MB / 3.715 GB, free: 34.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005843/8.092, allocations: 88.95 kB / 3.715 GB, free: 34.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.517e-05/8.092, allocations: 32.89 kB / 3.715 GB, free: 34.07 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 (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.0001603/8.092, allocations: 125.2 kB / 3.715 GB, free: 33.96 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.521e-05/8.092, allocations: 46.53 kB / 3.716 GB, free: 33.94 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002269/8.094, allocations: 2.365 MB / 3.718 GB, free: 33.66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.343e-05/8.094, allocations: 32.83 kB / 3.718 GB, free: 33.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/8.094, allocations: 0 / 3.718 GB, free: 33.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/8.094, allocations: 11.64 kB / 3.718 GB, free: 33.66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009191/8.095, allocations: 1.103 MB / 3.719 GB, free: 33.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/8.095, allocations: 0 / 3.719 GB, free: 33.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/8.096, allocations: 74.42 kB / 3.719 GB, free: 33.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008745/8.097, allocations: 0.7402 MB / 3.72 GB, free: 33.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/8.097, allocations: 7.719 kB / 3.72 GB, free: 33.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001006/8.098, allocations: 1.332 MB / 3.721 GB, free: 32.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/8.098, allocations: 0 / 3.721 GB, free: 32.85 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/8.099, allocations: 1.629 MB / 3.723 GB, free: 32.56 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002499/8.1, allocations: 264.4 kB / 3.723 GB, free: 32.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.457e-05/8.1, allocations: 0 / 3.723 GB, free: 32.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004655/8.1, allocations: 72.66 kB / 3.723 GB, free: 32.37 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.918e-05/8.1, allocations: 42.83 kB / 3.723 GB, free: 32.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.3e-05/8.1, allocations: 17.25 kB / 3.723 GB, free: 32.37 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003085/8.101, allocations: 345.1 kB / 3.723 GB, free: 32.28 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/8.101, allocations: 0 / 3.723 GB, free: 32.28 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004759/8.105, allocations: 1.307 MB / 3.725 GB, free: 32.07 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: 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.005429/8.111, allocations: 1.747 MB / 3.726 GB, free: 31.71 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001639/8.112, allocations: 0.9915 MB / 3.727 GB, free: 31.68 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/8.112, allocations: 1.531 kB / 3.727 GB, free: 31.68 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005433/8.113, allocations: 0.6017 MB / 3.728 GB, free: 31.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/8.114, allocations: 252.1 kB / 3.728 GB, free: 31.67 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/8.116, allocations: 1.438 MB / 3.73 GB, free: 31.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004788/8.117, allocations: 1.079 MB / 3.731 GB, free: 30.59 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009308/8.118, allocations: 0.7472 MB / 3.731 GB, free: 30.56 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.576e-05/8.118, allocations: 45.75 kB / 3.731 GB, free: 30.55 MB / 0.5105 GB Notification: Performance of SimCode: time 5.41e-07/8.118, allocations: 0 / 3.731 GB, free: 30.55 MB / 0.5105 GB Notification: Performance of Templates: time 0.04418/8.162, allocations: 36.04 MB / 3.767 GB, free: 21.1 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