Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.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.TestControlledPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|massFlowRate.y|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|valve.port_b.m_flow|valve.port_b.p|valve.port_b.h_outflow|valve.minLimiter.y|valveOpening.y|pressure1.y|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|pump1.port_b.m_flow|pump1.port_b.p|pump1.port_b.h_outflow|valve1.port_b.m_flow|valve1.port_b.p|valve1.port_b.h_outflow|valve1.minLimiter.y|valveOpening1.y|sinkPressure.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|massFlowRate.y|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|valve.port_b.m_flow|valve.port_b.p|valve.port_b.h_outflow|valve.minLimiter.y|valveOpening.y|pressure1.y|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|pump1.port_b.m_flow|pump1.port_b.p|pump1.port_b.h_outflow|valve1.port_b.m_flow|valve1.port_b.p|valve1.port_b.h_outflow|valve1.minLimiter.y|valveOpening1.y|sinkPressure.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00118/0.00118, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.791/1.791, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009734/0.0009732, allocations: 86.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2395/0.2395, allocations: 43.57 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003472, allocations: 8 kB / 431.4 MB, free: 19.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1407, allocations: 58.84 MB / 490.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.026/7.167, allocations: 2.783 GB / 3.262 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/7.167, allocations: 92.98 kB / 3.262 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.469/10.64, allocations: 0.7647 GB / 4.027 GB, free: 40.34 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.907e-06/10.64, allocations: 0 / 4.027 GB, free: 40.34 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002568/10.64, allocations: 40.28 kB / 4.027 GB, free: 40.34 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: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.01679/10.65, allocations: 2.877 MB / 4.029 GB, free: 39.05 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/10.65, allocations: 9.812 kB / 4.029 GB, free: 39.05 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006053/10.66, allocations: 0.6458 MB / 4.03 GB, free: 38.97 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004187/10.66, allocations: 0.9774 MB / 4.031 GB, free: 38.65 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000268/10.66, allocations: 98.31 kB / 4.031 GB, free: 38.64 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006628/10.67, allocations: 111 kB / 4.031 GB, free: 38.64 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006959/10.67, allocations: 2.026 MB / 4.033 GB, free: 38.24 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.911e-05/10.67, allocations: 5.5 kB / 4.033 GB, free: 38.24 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003433/10.67, allocations: 54.58 kB / 4.033 GB, free: 38.24 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.307e-05/10.67, allocations: 46.3 kB / 4.033 GB, free: 38.24 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005179/10.68, allocations: 1.882 MB / 4.035 GB, free: 38.22 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01416/10.69, allocations: 9.498 MB / 4.044 GB, free: 31.83 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005/10.7, allocations: 1.65 MB / 4.046 GB, free: 31.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04496/10.74, allocations: 24.25 MB / 4.07 GB, free: 16.96 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.684e-05/10.74, allocations: 44.47 kB / 4.07 GB, free: 16.93 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=94): time 3.827e-06/10.74, allocations: 0 / 4.07 GB, free: 16.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=94): time 0.01255/10.75, allocations: 3.339 MB / 4.073 GB, free: 16.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/10.75, allocations: 171.2 kB / 4.073 GB, free: 16.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/10.76, allocations: 0.7858 MB / 4.074 GB, free: 16.25 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002372/10.76, allocations: 41.98 kB / 4.074 GB, free: 16.21 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000553/10.76, allocations: 0.5867 MB / 4.075 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004472/10.76, allocations: 323.3 kB / 4.075 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.519e-05/10.76, allocations: 20.84 kB / 4.075 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001182/10.76, allocations: 346.7 kB / 4.075 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/10.76, allocations: 0.5041 MB / 4.076 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/10.76, allocations: 0.8377 MB / 4.077 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/10.76, allocations: 0.5775 MB / 4.077 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.341e-05/10.76, allocations: 3.594 kB / 4.077 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004148/10.77, allocations: 1.654 MB / 4.079 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002356/10.77, allocations: 3.749 MB / 4.082 GB, free: 26.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.183e-05/10.77, allocations: 12.44 kB / 4.082 GB, free: 26.95 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002667/10.77, allocations: 0.5173 MB / 4.083 GB, free: 26.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/10.77, allocations: 287.8 kB / 4.083 GB, free: 26.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002527/10.78, allocations: 1.562 MB / 4.085 GB, free: 25.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/10.78, allocations: 232.2 kB / 4.085 GB, free: 25.79 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/10.78, allocations: 78.58 kB / 4.085 GB, free: 25.79 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/10.78, allocations: 7.781 kB / 4.085 GB, free: 25.78 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003374/10.78, allocations: 1.356 MB / 4.086 GB, free: 25.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/10.78, allocations: 7.938 kB / 4.086 GB, free: 25.73 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.672e-05/10.78, allocations: 23.64 kB / 4.086 GB, free: 25.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002204/10.78, allocations: 452.3 kB / 4.087 GB, free: 25.72 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.712e-05/10.78, allocations: 20.78 kB / 4.087 GB, free: 25.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/10.78, allocations: 225.9 kB / 4.087 GB, free: 25.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001709/10.79, allocations: 60.61 kB / 4.087 GB, free: 25.66 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 12 (source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,valve1.state_b.phase,valve1.state_a.phase,pump1.monitoring.state_in.phase,valve.state_b.phase,valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 11,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.001139/10.79, allocations: 391.4 kB / 4.087 GB, free: 25.46 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004802/10.79, allocations: 119.6 kB / 4.088 GB, free: 25.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008159/10.79, allocations: 5.903 MB / 4.093 GB, free: 24.77 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.153e-05/10.8, allocations: 76.31 kB / 4.093 GB, free: 24.77 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/10.8, allocations: 7.656 kB / 4.093 GB, free: 24.76 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/10.8, allocations: 6.469 kB / 4.093 GB, free: 24.76 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/10.81, allocations: 8.039 MB / 4.101 GB, free: 24.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/10.81, allocations: 0 / 4.101 GB, free: 24.01 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008169/10.81, allocations: 230.4 kB / 4.101 GB, free: 24 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003731/10.81, allocations: 1.639 MB / 4.103 GB, free: 23.89 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001294/10.81, allocations: 25.47 kB / 4.103 GB, free: 23.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003271/10.81, allocations: 2.647 MB / 4.106 GB, free: 22.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/10.81, allocations: 1.031 kB / 4.106 GB, free: 22.79 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006632/10.82, allocations: 3.793 MB / 4.109 GB, free: 22.32 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001614/10.82, allocations: 0.5608 MB / 4.11 GB, free: 22.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005615/10.82, allocations: 26.53 kB / 4.11 GB, free: 22.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00184/10.83, allocations: 175.4 kB / 4.11 GB, free: 22 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003072/10.83, allocations: 111.1 kB / 4.11 GB, free: 21.99 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001348/10.83, allocations: 39.89 kB / 4.11 GB, free: 21.99 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001953/10.83, allocations: 0.8015 MB / 4.111 GB, free: 21.88 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.9e-07/10.83, allocations: 0 / 4.111 GB, free: 21.88 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01019/10.84, allocations: 1.883 MB / 4.113 GB, free: 21.61 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: 48 ($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,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.region3boundary,$cse27.region3boundary,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 16,2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.01193/10.85, allocations: 2.137 MB / 4.115 GB, free: 21.1 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007263/10.86, allocations: 2.726 MB / 4.118 GB, free: 21.01 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/10.86, allocations: 0 / 4.118 GB, free: 21.01 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003249/10.86, allocations: 1.587 MB / 4.119 GB, free: 20.97 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00427/10.86, allocations: 0.6031 MB / 4.12 GB, free: 20.91 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008687/10.87, allocations: 5.512 MB / 4.125 GB, free: 18.47 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001635/10.88, allocations: 1.636 MB / 4.127 GB, free: 17.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002846/10.88, allocations: 1.378 MB / 4.128 GB, free: 17.64 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004364/10.88, allocations: 109.6 kB / 4.128 GB, free: 17.63 MB / 0.5417 GB Notification: Performance of SimCode: time 1.223e-06/10.88, allocations: 2.062 kB / 4.128 GB, free: 17.63 MB / 0.5417 GB Notification: Performance of Templates: time 0.1009/10.98, allocations: 61.98 MB / 4.189 GB, free: 7.719 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestControlledPump/TestControlledPump.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches