Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001065, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 221.3 MB / 236 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000937/0.000937, allocations: 84.05 kB / 287 MB, free: 268 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2329/0.2329, allocations: 44.16 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.045e-05/3.048e-05, allocations: 224 / 451.8 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1498, allocations: 61.91 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.267/6.417, allocations: 2.787 GB / 3.289 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/6.417, allocations: 82.7 kB / 3.289 GB, free: 146.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.339/7.757, allocations: 443.4 MB / 3.722 GB, free: 62.96 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.723e-06/7.757, allocations: 0 / 3.722 GB, free: 62.96 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.81e-05/7.757, allocations: 15.81 kB / 3.722 GB, free: 62.96 MB / 0.5261 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.008474/7.765, allocations: 1.748 MB / 3.724 GB, free: 62.07 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.109e-05/7.765, allocations: 7.812 kB / 3.724 GB, free: 62.07 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003806/7.769, allocations: 328.8 kB / 3.724 GB, free: 62 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/7.771, allocations: 0.5676 MB / 3.724 GB, free: 61.64 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.067e-05/7.771, allocations: 47.56 kB / 3.724 GB, free: 61.62 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.941e-05/7.771, allocations: 55.94 kB / 3.725 GB, free: 61.61 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002659/7.774, allocations: 0.9702 MB / 3.725 GB, free: 61.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/7.774, allocations: 1.031 kB / 3.725 GB, free: 61.16 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-05/7.774, allocations: 33.91 kB / 3.726 GB, free: 61.14 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.055e-05/7.774, allocations: 28.7 kB / 3.726 GB, free: 61.14 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002326/7.776, allocations: 0.8059 MB / 3.726 GB, free: 60.92 MB / 0.5261 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.006158/7.782, allocations: 4.807 MB / 3.731 GB, free: 56.98 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002273/7.785, allocations: 0.6285 MB / 3.732 GB, free: 56.79 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004048/7.785, allocations: 221.9 kB / 3.732 GB, free: 56.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0536/7.839, allocations: 24.17 MB / 3.755 GB, free: 41.35 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/7.839, allocations: 37.78 kB / 3.755 GB, free: 41.31 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=43): time 3.186e-06/7.839, allocations: 0 / 3.755 GB, free: 41.31 MB / 0.5261 GB Notification: Performance of matching and sorting (n=43): time 0.004459/7.843, allocations: 1.018 MB / 3.756 GB, free: 41 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/7.843, allocations: 114.6 kB / 3.757 GB, free: 40.86 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008766/7.844, allocations: 453.9 kB / 3.757 GB, free: 40.64 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.292e-05/7.844, allocations: 29.7 kB / 3.757 GB, free: 40.61 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/7.845, allocations: 340 kB / 3.757 GB, free: 40.34 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/7.845, allocations: 144.7 kB / 3.758 GB, free: 40.23 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/7.845, allocations: 19.88 kB / 3.758 GB, free: 40.21 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001338/7.845, allocations: 367.3 kB / 3.758 GB, free: 39.88 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004197/7.845, allocations: 162.4 kB / 3.758 GB, free: 39.81 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004772/7.846, allocations: 343.3 kB / 3.758 GB, free: 39.52 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004522/7.846, allocations: 210.3 kB / 3.759 GB, free: 39.45 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/7.846, allocations: 3.938 kB / 3.759 GB, free: 39.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001524/7.848, allocations: 0.6516 MB / 3.759 GB, free: 39.17 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004127/7.848, allocations: 2.006 MB / 3.761 GB, free: 37.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/7.848, allocations: 3.719 kB / 3.761 GB, free: 37.03 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00171/7.85, allocations: 273.8 kB / 3.761 GB, free: 36.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006159/7.851, allocations: 137.1 kB / 3.762 GB, free: 36.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008872/7.852, allocations: 0.7397 MB / 3.762 GB, free: 36.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/7.853, allocations: 125.4 kB / 3.762 GB, free: 36.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.674e-05/7.853, allocations: 30.55 kB / 3.762 GB, free: 36.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/7.853, allocations: 7.906 kB / 3.762 GB, free: 36.3 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00183/7.855, allocations: 0.6038 MB / 3.763 GB, free: 36.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/7.855, allocations: 15.58 kB / 3.763 GB, free: 36.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/7.856, allocations: 176.1 kB / 3.763 GB, free: 36.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006277/7.856, allocations: 139.1 kB / 3.763 GB, free: 36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006589/7.857, allocations: 0.7036 MB / 3.764 GB, free: 35.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009465/7.858, allocations: 119.2 kB / 3.764 GB, free: 35.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.679e-05/7.858, allocations: 27.53 kB / 3.764 GB, free: 35.36 MB / 0.5261 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 (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 (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.0002263/7.858, allocations: 144.7 kB / 3.764 GB, free: 35.22 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/7.859, allocations: 57.44 kB / 3.764 GB, free: 35.19 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003721/7.862, allocations: 2.987 MB / 3.767 GB, free: 33.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.724e-05/7.862, allocations: 45.72 kB / 3.767 GB, free: 33.71 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/7.862, allocations: 0 / 3.767 GB, free: 33.71 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/7.862, allocations: 11.78 kB / 3.767 GB, free: 33.71 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001998/7.864, allocations: 1.454 MB / 3.769 GB, free: 32.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/7.864, allocations: 0 / 3.769 GB, free: 32.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004282/7.865, allocations: 92.41 kB / 3.769 GB, free: 32.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002658/7.868, allocations: 1.207 MB / 3.77 GB, free: 32.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.515e-05/7.868, allocations: 14.03 kB / 3.77 GB, free: 32.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001525/7.869, allocations: 1.479 MB / 3.771 GB, free: 31.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/7.869, allocations: 3.125 kB / 3.771 GB, free: 31.73 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002506/7.872, allocations: 1.958 MB / 3.773 GB, free: 30.74 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005032/7.872, allocations: 325.5 kB / 3.774 GB, free: 30.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/7.872, allocations: 19.56 kB / 3.774 GB, free: 30.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007026/7.873, allocations: 84.47 kB / 3.774 GB, free: 30.46 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/7.873, allocations: 50.88 kB / 3.774 GB, free: 30.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-05/7.873, allocations: 22.53 kB / 3.774 GB, free: 30.45 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007031/7.874, allocations: 450.5 kB / 3.774 GB, free: 30.23 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.01e-07/7.874, allocations: 0 / 3.774 GB, free: 30.23 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006772/7.881, allocations: 1.421 MB / 3.776 GB, free: 29.93 MB / 0.5261 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,$cse18.phase,$cse18.region,$cse19.phase,$cse19.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 (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.01026/7.891, allocations: 1.71 MB / 3.777 GB, free: 29.49 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002646/7.894, allocations: 1.132 MB / 3.778 GB, free: 29.06 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/7.894, allocations: 3.719 kB / 3.778 GB, free: 29.06 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/7.895, allocations: 0.7249 MB / 3.779 GB, free: 28.71 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/7.897, allocations: 313.7 kB / 3.779 GB, free: 28.63 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/7.9, allocations: 1.748 MB / 3.781 GB, free: 27.86 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000573/7.901, allocations: 1.163 MB / 3.782 GB, free: 27.12 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001457/7.902, allocations: 0.6727 MB / 3.783 GB, free: 27.07 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/7.902, allocations: 57.28 kB / 3.783 GB, free: 27.06 MB / 0.5261 GB Notification: Performance of SimCode: time 2.265e-06/7.902, allocations: 0 / 3.783 GB, free: 27.06 MB / 0.5261 GB Notification: Performance of Templates: time 0.07644/7.979, allocations: 45.35 MB / 3.827 GB, free: 0.6797 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefault/TestWaterPumpDefault.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches