Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001178/0.001178, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.215/1.215, allocations: 227.2 MB / 245 MB, free: 7.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009412/0.0009412, allocations: 104 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3064/0.3064, allocations: 45.22 MB / 394.7 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002341/0.0002341, allocations: 4 kB / 468.4 MB, free: 7.734 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2889, allocations: 63.24 MB / 0.5192 GB, free: 43.64 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.527/5.815, allocations: 2.79 GB / 3.309 GB, free: 119.5 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/5.816, allocations: 87.42 kB / 3.309 GB, free: 119.5 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.234/9.05, allocations: 0.7731 GB / 4.082 GB, free: 40.95 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.124e-06/9.05, allocations: 0 / 4.082 GB, free: 40.95 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001036/9.05, allocations: 37.11 kB / 4.082 GB, free: 40.95 MB / 0.5573 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.01138/9.062, allocations: 2.89 MB / 4.085 GB, free: 39.81 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/9.062, allocations: 10.59 kB / 4.085 GB, free: 39.81 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005284/9.067, allocations: 0.668 MB / 4.086 GB, free: 39.73 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002529/9.07, allocations: 0.9749 MB / 4.086 GB, free: 39.41 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/9.07, allocations: 99.22 kB / 4.087 GB, free: 39.41 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/9.07, allocations: 108.8 kB / 4.087 GB, free: 39.41 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005442/9.075, allocations: 2.028 MB / 4.089 GB, free: 39 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.365e-05/9.075, allocations: 2.906 kB / 4.089 GB, free: 39 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001705/9.076, allocations: 53.47 kB / 4.089 GB, free: 39 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.229e-05/9.076, allocations: 40.83 kB / 4.089 GB, free: 39 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004711/9.08, allocations: 1.888 MB / 4.091 GB, free: 38.98 MB / 0.5573 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.009866/9.09, allocations: 9.48 MB / 4.1 GB, free: 32.61 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00449/9.095, allocations: 1.651 MB / 4.101 GB, free: 32.59 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04776/9.143, allocations: 26.81 MB / 4.128 GB, free: 31.13 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.14e-05/9.143, allocations: 44.72 kB / 4.128 GB, free: 31.09 MB / 0.573 GB Notification: Performance of pre-optimization done (n=94): time 5.991e-06/9.143, allocations: 1.531 kB / 4.128 GB, free: 31.09 MB / 0.573 GB Notification: Performance of matching and sorting (n=94): time 0.0133/9.156, allocations: 3.337 MB / 4.131 GB, free: 30.76 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/9.156, allocations: 173.3 kB / 4.131 GB, free: 30.57 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/9.158, allocations: 0.7821 MB / 4.132 GB, free: 30.41 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001297/9.158, allocations: 45.11 kB / 4.132 GB, free: 30.38 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005298/9.159, allocations: 0.5821 MB / 4.132 GB, free: 30.12 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003685/9.159, allocations: 318.6 kB / 4.133 GB, free: 29.91 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.42e-05/9.159, allocations: 25.41 kB / 4.133 GB, free: 29.91 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000196/9.159, allocations: 348 kB / 4.133 GB, free: 29.61 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/9.161, allocations: 0.5037 MB / 4.134 GB, free: 29.61 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001622/9.162, allocations: 0.8405 MB / 4.134 GB, free: 29.22 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/9.164, allocations: 0.5742 MB / 4.135 GB, free: 29.21 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/9.164, allocations: 4.281 kB / 4.135 GB, free: 29.21 MB / 0.573 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004377/9.168, allocations: 1.659 MB / 4.137 GB, free: 29.08 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002079/9.17, allocations: 3.752 MB / 4.14 GB, free: 25.18 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.858e-05/9.17, allocations: 13.09 kB / 4.14 GB, free: 25.18 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002862/9.173, allocations: 0.5111 MB / 4.141 GB, free: 25.16 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/9.175, allocations: 294.2 kB / 4.141 GB, free: 25.16 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002557/9.177, allocations: 1.564 MB / 4.143 GB, free: 24.11 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/9.179, allocations: 239.3 kB / 4.143 GB, free: 24.05 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/9.179, allocations: 69.3 kB / 4.143 GB, free: 24.05 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/9.179, allocations: 3.906 kB / 4.143 GB, free: 24.05 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002956/9.182, allocations: 1.356 MB / 4.144 GB, free: 24.03 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/9.182, allocations: 7.844 kB / 4.144 GB, free: 24.03 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/9.182, allocations: 16.12 kB / 4.144 GB, free: 24.03 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002061/9.184, allocations: 459.8 kB / 4.145 GB, free: 24.03 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.895e-05/9.184, allocations: 22.78 kB / 4.145 GB, free: 24.03 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/9.186, allocations: 232.9 kB / 4.145 GB, free: 23.97 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/9.186, allocations: 61.05 kB / 4.145 GB, free: 23.97 MB / 0.573 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.0008699/9.187, allocations: 387.2 kB / 4.145 GB, free: 23.78 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/9.187, allocations: 117.6 kB / 4.145 GB, free: 23.72 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007206/9.194, allocations: 5.908 MB / 4.151 GB, free: 23.14 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-05/9.195, allocations: 79.56 kB / 4.151 GB, free: 23.14 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/9.195, allocations: 0 / 4.151 GB, free: 23.14 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/9.195, allocations: 6.422 kB / 4.151 GB, free: 23.14 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00987/9.204, allocations: 8.042 MB / 4.159 GB, free: 22.42 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.747e-06/9.204, allocations: 0 / 4.159 GB, free: 22.42 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008093/9.205, allocations: 223.2 kB / 4.159 GB, free: 22.42 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003388/9.209, allocations: 1.636 MB / 4.161 GB, free: 22.32 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-05/9.209, allocations: 33.28 kB / 4.161 GB, free: 22.32 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002687/9.212, allocations: 2.634 MB / 4.164 GB, free: 21.24 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/9.212, allocations: 2.688 kB / 4.164 GB, free: 21.24 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005811/9.217, allocations: 3.8 MB / 4.167 GB, free: 20.78 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001545/9.219, allocations: 0.562 MB / 4.168 GB, free: 20.48 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002589/9.219, allocations: 20.5 kB / 4.168 GB, free: 20.48 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001771/9.221, allocations: 184.6 kB / 4.168 GB, free: 20.45 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003164/9.221, allocations: 105.3 kB / 4.168 GB, free: 20.45 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001291/9.221, allocations: 40.09 kB / 4.168 GB, free: 20.45 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001759/9.223, allocations: 0.8052 MB / 4.169 GB, free: 20.34 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.31e-07/9.223, allocations: 0 / 4.169 GB, free: 20.34 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01298/9.236, allocations: 1.884 MB / 4.171 GB, free: 20.07 MB / 0.573 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.01267/9.249, allocations: 2.139 MB / 4.173 GB, free: 19.56 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.006208/9.255, allocations: 2.716 MB / 4.176 GB, free: 19.48 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/9.255, allocations: 0 / 4.176 GB, free: 19.48 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002248/9.257, allocations: 1.599 MB / 4.177 GB, free: 19.44 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003186/9.261, allocations: 0.6127 MB / 4.178 GB, free: 19.4 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00645/9.267, allocations: 5.513 MB / 4.183 GB, free: 16.96 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/9.268, allocations: 1.642 MB / 4.185 GB, free: 16.19 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002441/9.271, allocations: 1.366 MB / 4.186 GB, free: 16.15 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002961/9.271, allocations: 105.6 kB / 4.186 GB, free: 16.14 MB / 0.573 GB Notification: Performance of SimCode: time 1.603e-06/9.271, allocations: 0 / 4.186 GB, free: 16.14 MB / 0.573 GB Notification: Performance of Templates: time 0.09242/9.363, allocations: 62.21 MB / 4.247 GB, free: 10.64 MB / 0.573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestControlledPump/TestControlledPump.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches