Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.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.TestWaterPumpDefault,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|Valve.minLimiter.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,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|Valve.minLimiter.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009647/0.0009648, allocations: 176.7 kB / 8.004 MB, free: 1.07 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.611/1.611, allocations: 205.3 MB / 213.7 MB, free: 1.734 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.0008553/0.0008553, allocations: 90.14 kB / 261.7 MB, free: 1.688 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.2164/0.2164, allocations: 43.49 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.42e-05/1.441e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1273, allocations: 58.85 MB / 477.1 MB, free: 1.648 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.513/6.64, allocations: 2.781 GB / 3.247 GB, free: 91.72 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/6.64, allocations: 85.39 kB / 3.247 GB, free: 91.68 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.392/8.032, allocations: 434.5 MB / 3.671 GB, free: 45.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.162e-06/8.032, allocations: 0 / 3.671 GB, free: 45.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.553e-05/8.032, allocations: 16 kB / 3.671 GB, free: 45.59 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.0061/8.038, allocations: 1.744 MB / 3.673 GB, free: 43.95 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/8.038, allocations: 8.031 kB / 3.673 GB, free: 43.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00243/8.041, allocations: 329.3 kB / 3.673 GB, free: 43.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/8.042, allocations: 0.5632 MB / 3.674 GB, free: 43.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.063e-05/8.042, allocations: 28 kB / 3.674 GB, free: 43.16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/8.042, allocations: 32 kB / 3.674 GB, free: 43.12 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008666/8.043, allocations: 0.5393 MB / 3.674 GB, free: 42.64 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009694/8.044, allocations: 0.6588 MB / 3.675 GB, free: 42 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/8.044, allocations: 3.938 kB / 3.675 GB, free: 42 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.383e-05/8.044, allocations: 4 kB / 3.675 GB, free: 41.99 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.813e-05/8.044, allocations: 29.25 kB / 3.675 GB, free: 41.96 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.07016/8.114, allocations: 44.26 MB / 3.718 GB, free: 9.965 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006213/8.115, allocations: 347.8 kB / 3.719 GB, free: 9.617 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002769/8.115, allocations: 189.5 kB / 3.719 GB, free: 9.43 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2962/8.411, allocations: 24.15 MB / 3.742 GB, free: 67.28 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/8.411, allocations: 39.16 kB / 3.742 GB, free: 67.24 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=39): time 2.414e-06/8.411, allocations: 0 / 3.742 GB, free: 67.24 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.002838/8.414, allocations: 0.8257 MB / 3.743 GB, free: 67.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/8.414, allocations: 106.9 kB / 3.743 GB, free: 67.07 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005263/8.415, allocations: 399.2 kB / 3.744 GB, free: 66.96 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/8.415, allocations: 28.48 kB / 3.744 GB, free: 66.93 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/8.415, allocations: 357.2 kB / 3.744 GB, free: 66.79 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.315e-05/8.415, allocations: 131.3 kB / 3.744 GB, free: 66.73 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/8.415, allocations: 0 / 3.744 GB, free: 66.73 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.751e-05/8.415, allocations: 356.5 kB / 3.745 GB, free: 66.41 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002439/8.416, allocations: 167.1 kB / 3.745 GB, free: 66.41 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/8.416, allocations: 336.5 kB / 3.745 GB, free: 66.21 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/8.417, allocations: 293.7 kB / 3.745 GB, free: 66.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/8.417, allocations: 1.688 kB / 3.745 GB, free: 66.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001724/8.419, allocations: 0.7052 MB / 3.746 GB, free: 66.13 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003272/8.419, allocations: 2.01 MB / 3.748 GB, free: 64.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/8.419, allocations: 9.031 kB / 3.748 GB, free: 64.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006865/8.42, allocations: 176.9 kB / 3.748 GB, free: 64.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004961/8.42, allocations: 140 kB / 3.748 GB, free: 64.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/8.421, allocations: 0.8185 MB / 3.749 GB, free: 63.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007987/8.422, allocations: 128.3 kB / 3.749 GB, free: 63.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.461e-05/8.422, allocations: 33.64 kB / 3.749 GB, free: 63.51 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/8.422, allocations: 4.031 kB / 3.749 GB, free: 63.51 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001647/8.424, allocations: 0.6147 MB / 3.75 GB, free: 63.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/8.424, allocations: 4.656 kB / 3.75 GB, free: 63.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007856/8.425, allocations: 166.6 kB / 3.75 GB, free: 63.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004857/8.425, allocations: 141.1 kB / 3.75 GB, free: 63.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007794/8.426, allocations: 0.7285 MB / 3.751 GB, free: 62.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006205/8.427, allocations: 103.9 kB / 3.751 GB, free: 62.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.368e-05/8.427, allocations: 35.45 kB / 3.751 GB, free: 62.94 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (55): * Single equations (assignments): 54 * 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 {2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001632/8.427, allocations: 117.8 kB / 3.751 GB, free: 62.84 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.925e-05/8.427, allocations: 57.44 kB / 3.751 GB, free: 62.81 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002821/8.43, allocations: 2.46 MB / 3.754 GB, free: 62.59 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.954e-05/8.43, allocations: 42.05 kB / 3.754 GB, free: 62.59 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/8.43, allocations: 1.031 kB / 3.754 GB, free: 62.59 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/8.43, allocations: 3.844 kB / 3.754 GB, free: 62.59 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/8.431, allocations: 1.135 MB / 3.755 GB, free: 62.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/8.431, allocations: 4.531 kB / 3.755 GB, free: 62.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002525/8.431, allocations: 69.3 kB / 3.755 GB, free: 62.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001118/8.433, allocations: 1.085 MB / 3.756 GB, free: 62.35 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/8.433, allocations: 9.328 kB / 3.756 GB, free: 62.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00124/8.434, allocations: 1.637 MB / 3.757 GB, free: 61.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/8.434, allocations: 3.344 kB / 3.757 GB, free: 61.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/8.436, allocations: 1.797 MB / 3.759 GB, free: 61.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002955/8.436, allocations: 276.4 kB / 3.759 GB, free: 61.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.47e-05/8.436, allocations: 1.25 kB / 3.759 GB, free: 61.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004771/8.436, allocations: 72.39 kB / 3.76 GB, free: 61.34 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.05e-05/8.437, allocations: 41.33 kB / 3.76 GB, free: 61.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/8.437, allocations: 15.06 kB / 3.76 GB, free: 61.34 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003355/8.437, allocations: 373.2 kB / 3.76 GB, free: 61.26 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.81e-07/8.437, allocations: 2.344 kB / 3.76 GB, free: 61.26 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005243/8.442, allocations: 1.383 MB / 3.761 GB, free: 61.24 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,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.007237/8.449, allocations: 1.794 MB / 3.763 GB, free: 61.07 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002237/8.452, allocations: 1.024 MB / 3.764 GB, free: 61.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/8.452, allocations: 0 / 3.764 GB, free: 61.05 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005754/8.452, allocations: 0.6113 MB / 3.765 GB, free: 61.04 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/8.454, allocations: 260.8 kB / 3.765 GB, free: 61.04 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/8.456, allocations: 1.491 MB / 3.766 GB, free: 60.68 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/8.456, allocations: 1.102 MB / 3.767 GB, free: 59.98 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009577/8.457, allocations: 0.7399 MB / 3.768 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.056e-05/8.457, allocations: 44.48 kB / 3.768 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of SimCode: time 4.01e-07/8.457, allocations: 0 / 3.768 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of Templates: time 0.04342/8.501, allocations: 37.22 MB / 3.805 GB, free: 58.07 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefault/TestWaterPumpDefault.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches