Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001472/0.001471, allocations: 179.4 kB / 8.364 MB, free: 0.7148 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.963/1.963, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001098/0.001097, allocations: 98.66 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2978/0.2978, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.081e-05/2.091e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3936, allocations: 58.85 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.201/8.594, allocations: 2.781 GB / 3.247 GB, free: 7.996 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000388/8.595, allocations: 86.33 kB / 3.247 GB, free: 7.953 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 2.584/11.18, allocations: 434.5 MB / 3.671 GB, free: 58.11 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.713e-06/11.18, allocations: 0 / 3.671 GB, free: 58.11 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 6.275e-05/11.18, allocations: 19.12 kB / 3.671 GB, free: 58.11 MB / 0.4952 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.007721/11.19, allocations: 1.747 MB / 3.673 GB, free: 57.4 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/11.19, allocations: 7.812 kB / 3.673 GB, free: 57.4 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003544/11.19, allocations: 337.2 kB / 3.673 GB, free: 57.36 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/11.19, allocations: 0.5665 MB / 3.674 GB, free: 57.13 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.694e-05/11.19, allocations: 24.62 kB / 3.674 GB, free: 57.13 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/11.19, allocations: 31.97 kB / 3.674 GB, free: 57.13 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001413/11.19, allocations: 0.5419 MB / 3.674 GB, free: 57.12 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/11.19, allocations: 0.659 MB / 3.675 GB, free: 56.93 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/11.19, allocations: 1.594 kB / 3.675 GB, free: 56.93 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-05/11.19, allocations: 7.531 kB / 3.675 GB, free: 56.93 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.376e-05/11.19, allocations: 25.16 kB / 3.675 GB, free: 56.92 MB / 0.4952 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.1298/11.32, allocations: 44.25 MB / 3.718 GB, free: 29.63 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009488/11.33, allocations: 347.5 kB / 3.719 GB, free: 29.6 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00039/11.33, allocations: 195.2 kB / 3.719 GB, free: 29.59 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07635/11.4, allocations: 24.17 MB / 3.742 GB, free: 30.11 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.717e-05/11.4, allocations: 52.09 kB / 3.742 GB, free: 30.06 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=39): time 3.336e-06/11.4, allocations: 0 / 3.742 GB, free: 30.06 MB / 0.5108 GB Notification: Performance of matching and sorting (n=39): time 0.003997/11.41, allocations: 0.8151 MB / 3.743 GB, free: 29.98 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.514e-05/11.41, allocations: 114.3 kB / 3.743 GB, free: 29.86 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006933/11.41, allocations: 398.8 kB / 3.744 GB, free: 29.75 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 8.75e-05/11.41, allocations: 29.36 kB / 3.744 GB, free: 29.71 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.000258/11.41, allocations: 388.4 kB / 3.744 GB, free: 29.45 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/11.41, allocations: 133.6 kB / 3.744 GB, free: 29.37 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/11.41, allocations: 0 / 3.744 GB, free: 29.37 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001467/11.41, allocations: 333.2 kB / 3.745 GB, free: 29.05 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004303/11.41, allocations: 163.3 kB / 3.745 GB, free: 29.05 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004821/11.41, allocations: 338.6 kB / 3.745 GB, free: 28.84 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/11.41, allocations: 303.2 kB / 3.745 GB, free: 28.83 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/11.41, allocations: 5.469 kB / 3.745 GB, free: 28.83 MB / 0.5108 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003071/11.41, allocations: 0.6718 MB / 3.746 GB, free: 28.77 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009379/11.41, allocations: 2.004 MB / 3.748 GB, free: 26.67 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.686e-05/11.41, allocations: 9.094 kB / 3.748 GB, free: 26.67 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00132/11.42, allocations: 178.9 kB / 3.748 GB, free: 26.66 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/11.42, allocations: 141.6 kB / 3.748 GB, free: 26.66 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002223/11.42, allocations: 0.8196 MB / 3.749 GB, free: 26.13 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/11.42, allocations: 122.9 kB / 3.749 GB, free: 26.09 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/11.42, allocations: 35.33 kB / 3.749 GB, free: 26.09 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/11.42, allocations: 6.062 kB / 3.749 GB, free: 26.09 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002655/11.42, allocations: 0.6079 MB / 3.75 GB, free: 26.06 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/11.42, allocations: 8.656 kB / 3.75 GB, free: 26.06 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/11.43, allocations: 149.1 kB / 3.75 GB, free: 26.05 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008917/11.43, allocations: 141.8 kB / 3.75 GB, free: 26.05 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/11.43, allocations: 0.7226 MB / 3.751 GB, free: 25.53 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/11.43, allocations: 104.5 kB / 3.751 GB, free: 25.5 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-05/11.43, allocations: 34.84 kB / 3.751 GB, free: 25.5 MB / 0.5108 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.0002797/11.43, allocations: 121.6 kB / 3.751 GB, free: 25.39 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/11.43, allocations: 53.34 kB / 3.751 GB, free: 25.36 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004219/11.43, allocations: 2.453 MB / 3.753 GB, free: 25.09 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-05/11.43, allocations: 39.72 kB / 3.754 GB, free: 25.09 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/11.43, allocations: 0 / 3.754 GB, free: 25.09 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/11.43, allocations: 7.656 kB / 3.754 GB, free: 25.09 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/11.44, allocations: 1.132 MB / 3.755 GB, free: 24.85 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/11.44, allocations: 4 kB / 3.755 GB, free: 24.85 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005056/11.44, allocations: 67.66 kB / 3.755 GB, free: 24.85 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00209/11.44, allocations: 1.095 MB / 3.756 GB, free: 24.81 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.847e-05/11.44, allocations: 3.562 kB / 3.756 GB, free: 24.81 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002399/11.44, allocations: 1.643 MB / 3.757 GB, free: 24.25 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/11.44, allocations: 0 / 3.757 GB, free: 24.25 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003187/11.44, allocations: 1.796 MB / 3.759 GB, free: 23.96 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005966/11.44, allocations: 276.9 kB / 3.759 GB, free: 23.78 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/11.44, allocations: 0 / 3.759 GB, free: 23.78 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009251/11.45, allocations: 69.48 kB / 3.759 GB, free: 23.77 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/11.45, allocations: 37.73 kB / 3.76 GB, free: 23.77 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-05/11.45, allocations: 24.23 kB / 3.76 GB, free: 23.77 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.000604/11.45, allocations: 374.4 kB / 3.76 GB, free: 23.68 MB / 0.5108 GB Notification: Performance of sort global known variables: time 4.51e-07/11.45, allocations: 0 / 3.76 GB, free: 23.68 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.006605/11.45, allocations: 1.378 MB / 3.761 GB, free: 23.45 MB / 0.5108 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.01092/11.46, allocations: 1.784 MB / 3.763 GB, free: 23.07 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.003517/11.47, allocations: 1.018 MB / 3.764 GB, free: 23.05 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/11.47, allocations: 0 / 3.764 GB, free: 23.05 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/11.47, allocations: 0.6142 MB / 3.765 GB, free: 23.04 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/11.47, allocations: 266.7 kB / 3.765 GB, free: 23.02 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/11.47, allocations: 1.513 MB / 3.766 GB, free: 22.62 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007208/11.47, allocations: 1.101 MB / 3.767 GB, free: 21.89 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/11.48, allocations: 56.12 kB / 3.767 GB, free: 21.89 MB / 0.5108 GB Notification: Performance of SimCode: time 1.293e-06/11.48, allocations: 0 / 3.767 GB, free: 21.89 MB / 0.5108 GB Notification: Performance of Templates: time 0.07388/11.55, allocations: 36.82 MB / 3.803 GB, free: 15.16 MB / 0.5108 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches