Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.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.TestWaterPumpDefaultCV,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.TestWaterPumpDefaultCV") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,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.TestWaterPumpDefaultCV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 179.1 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.353/1.353, allocations: 221.3 MB / 236 MB, free: 2.977 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.0008846/0.0008847, allocations: 99.97 kB / 287 MB, free: 236 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.2422/0.2422, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.793e-05/3.796e-05, allocations: 4 kB / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1628, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.565/6.728, allocations: 2.788 GB / 3.289 GB, free: 83.36 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/6.728, allocations: 89.58 kB / 3.289 GB, free: 83.32 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.388/8.116, allocations: 444.5 MB / 3.723 GB, free: 55.63 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.713e-06/8.116, allocations: 2.969 kB / 3.723 GB, free: 55.63 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.523e-05/8.116, allocations: 11.72 kB / 3.723 GB, free: 55.63 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.005894/8.122, allocations: 1.779 MB / 3.725 GB, free: 54.55 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/8.122, allocations: 11.47 kB / 3.725 GB, free: 54.55 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002288/8.124, allocations: 327.6 kB / 3.726 GB, free: 54.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009771/8.125, allocations: 0.5802 MB / 3.726 GB, free: 54.11 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.674e-05/8.125, allocations: 50.72 kB / 3.726 GB, free: 54.08 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-05/8.125, allocations: 62.81 kB / 3.726 GB, free: 54.06 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/8.127, allocations: 0.9912 MB / 3.727 GB, free: 53.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/8.127, allocations: 3.938 kB / 3.727 GB, free: 53.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.456e-05/8.127, allocations: 27.66 kB / 3.727 GB, free: 53.58 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/8.127, allocations: 20.41 kB / 3.727 GB, free: 53.58 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/8.129, allocations: 0.8374 MB / 3.728 GB, free: 53.33 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.004484/8.133, allocations: 4.841 MB / 3.733 GB, free: 49.35 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/8.135, allocations: 0.7589 MB / 3.734 GB, free: 48.61 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/8.135, allocations: 230.1 kB / 3.734 GB, free: 48.39 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03864/8.174, allocations: 24.16 MB / 3.757 GB, free: 21.54 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/8.174, allocations: 42.94 kB / 3.757 GB, free: 21.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 2.044e-06/8.174, allocations: 0 / 3.757 GB, free: 21.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.002979/8.177, allocations: 1.081 MB / 3.758 GB, free: 20.39 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/8.177, allocations: 111.2 kB / 3.759 GB, free: 20.25 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005003/8.178, allocations: 468.7 kB / 3.759 GB, free: 19.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.573e-05/8.178, allocations: 33.7 kB / 3.759 GB, free: 19.76 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/8.178, allocations: 340 kB / 3.759 GB, free: 19.42 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.333e-05/8.178, allocations: 167.5 kB / 3.759 GB, free: 19.26 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/8.178, allocations: 12 kB / 3.759 GB, free: 19.25 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.48e-05/8.178, allocations: 366.8 kB / 3.76 GB, free: 18.88 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002569/8.178, allocations: 185.5 kB / 3.76 GB, free: 18.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/8.179, allocations: 373.5 kB / 3.76 GB, free: 18.25 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002994/8.179, allocations: 229.1 kB / 3.761 GB, free: 18.04 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/8.179, allocations: 4 kB / 3.761 GB, free: 18.03 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009951/8.18, allocations: 0.7267 MB / 3.761 GB, free: 17.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003128/8.18, allocations: 2.01 MB / 3.763 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/8.18, allocations: 4 kB / 3.763 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002066/8.182, allocations: 436.4 kB / 3.764 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004901/8.183, allocations: 151.8 kB / 3.764 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008482/8.184, allocations: 0.8018 MB / 3.765 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00074/8.185, allocations: 131.3 kB / 3.765 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.823e-05/8.185, allocations: 39.94 kB / 3.765 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.877e-06/8.185, allocations: 4 kB / 3.765 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001113/8.186, allocations: 0.6553 MB / 3.765 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/8.186, allocations: 8.062 kB / 3.765 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007741/8.187, allocations: 180.6 kB / 3.766 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004962/8.187, allocations: 155.8 kB / 3.766 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006412/8.188, allocations: 0.7201 MB / 3.766 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006416/8.188, allocations: 115.5 kB / 3.767 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.8e-05/8.188, allocations: 35.92 kB / 3.767 GB, free: 11.66 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 (59): * Single equations (assignments): 58 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0001567/8.189, allocations: 136.9 kB / 3.767 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.533e-05/8.189, allocations: 75.09 kB / 3.767 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002491/8.191, allocations: 3.05 MB / 3.77 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.844e-05/8.191, allocations: 51.86 kB / 3.77 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/8.191, allocations: 0 / 3.77 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/8.191, allocations: 3.984 kB / 3.77 GB, free: 8.32 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/8.192, allocations: 1.477 MB / 3.771 GB, free: 6.801 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/8.192, allocations: 3.984 kB / 3.771 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/8.193, allocations: 87.94 kB / 3.771 GB, free: 6.711 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002453/8.195, allocations: 1.404 MB / 3.773 GB, free: 5.309 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.823e-05/8.195, allocations: 15.98 kB / 3.773 GB, free: 5.293 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/8.196, allocations: 1.531 MB / 3.774 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/8.196, allocations: 0 / 3.774 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/8.198, allocations: 2.016 MB / 3.776 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003611/8.198, allocations: 338.6 kB / 3.777 GB, free: 1.355 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.17e-05/8.198, allocations: 12 kB / 3.777 GB, free: 1.344 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005078/8.199, allocations: 87.83 kB / 3.777 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.368e-05/8.199, allocations: 52.44 kB / 3.777 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.776e-05/8.199, allocations: 23.98 kB / 3.777 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000443/8.2, allocations: 463.2 kB / 3.777 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.41e-07/8.2, allocations: 0 / 3.777 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005475/8.205, allocations: 1.44 MB / 3.779 GB, free: 15.29 MB / 0.5417 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,$cse20.phase,$cse20.region,$cse21.phase,$cse21.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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.008048/8.213, allocations: 1.721 MB / 3.78 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002843/8.216, allocations: 1.213 MB / 3.781 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/8.216, allocations: 6.188 kB / 3.781 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001166/8.217, allocations: 0.7382 MB / 3.782 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00216/8.219, allocations: 321.4 kB / 3.782 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002886/8.222, allocations: 1.78 MB / 3.784 GB, free: 9.668 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007033/8.223, allocations: 1.167 MB / 3.785 GB, free: 8.473 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001341/8.224, allocations: 0.6761 MB / 3.786 GB, free: 7.801 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/8.225, allocations: 55.36 kB / 3.786 GB, free: 7.746 MB / 0.5417 GB Notification: Performance of SimCode: time 1.052e-06/8.225, allocations: 0 / 3.786 GB, free: 7.746 MB / 0.5417 GB Notification: Performance of Templates: time 0.3527/8.577, allocations: 45.94 MB / 3.831 GB, free: 79.31 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefaultCV/TestWaterPumpDefaultCV.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches