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.001172/0.001172, allocations: 183.8 kB / 13.19 MB, free: 2.129 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.268/1.268, allocations: 205.2 MB / 218.9 MB, free: 9.145 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.000808/0.0008079, allocations: 90.59 kB / 267 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3256/0.3256, allocations: 43.46 MB / 358.6 MB, free: 52.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.8e-05/2.802e-05, allocations: 0 / 425.3 MB, free: 8.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1126, allocations: 58.84 MB / 484.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.637/5.749, allocations: 2.783 GB / 3.256 GB, free: 44.97 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001882/5.75, allocations: 82.95 kB / 3.256 GB, free: 44.93 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.392/8.142, allocations: 0.7624 GB / 4.018 GB, free: 50.83 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.422e-06/8.142, allocations: 10.19 kB / 4.018 GB, free: 50.83 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.767e-05/8.142, allocations: 39.89 kB / 4.018 GB, free: 50.82 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.007404/8.149, allocations: 2.705 MB / 4.021 GB, free: 49.49 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/8.149, allocations: 7.094 kB / 4.021 GB, free: 49.49 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004086/8.153, allocations: 0.6511 MB / 4.022 GB, free: 49.41 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/8.155, allocations: 0.9704 MB / 4.023 GB, free: 49.05 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.94e-05/8.155, allocations: 97.16 kB / 4.023 GB, free: 49.05 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/8.155, allocations: 107.5 kB / 4.023 GB, free: 49.05 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003349/8.158, allocations: 1.944 MB / 4.025 GB, free: 48.63 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/8.158, allocations: 3.938 kB / 4.025 GB, free: 48.63 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/8.159, allocations: 53.09 kB / 4.025 GB, free: 48.63 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.876e-05/8.159, allocations: 47.66 kB / 4.025 GB, free: 48.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003062/8.162, allocations: 1.63 MB / 4.026 GB, free: 48.58 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.007562/8.169, allocations: 9.489 MB / 4.036 GB, free: 41.08 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003099/8.172, allocations: 1.433 MB / 4.037 GB, free: 40.64 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005456/8.173, allocations: 460.6 kB / 4.037 GB, free: 40.45 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03789/8.211, allocations: 24.32 MB / 4.061 GB, free: 24.64 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/8.211, allocations: 54.81 kB / 4.061 GB, free: 24.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=94): time 2.765e-06/8.211, allocations: 0 / 4.061 GB, free: 24.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=94): time 0.005449/8.216, allocations: 2.042 MB / 4.063 GB, free: 23.98 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/8.216, allocations: 166.6 kB / 4.063 GB, free: 23.79 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008874/8.217, allocations: 0.7679 MB / 4.064 GB, free: 23.45 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.167e-05/8.217, allocations: 41.58 kB / 4.064 GB, free: 23.41 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002946/8.218, allocations: 0.5899 MB / 4.065 GB, free: 22.94 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/8.218, allocations: 316.4 kB / 4.065 GB, free: 22.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-05/8.218, allocations: 26.34 kB / 4.065 GB, free: 22.68 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.85e-05/8.218, allocations: 350.4 kB / 4.065 GB, free: 22.35 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000488/8.219, allocations: 343.3 kB / 4.066 GB, free: 22.21 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000593/8.219, allocations: 0.6612 MB / 4.066 GB, free: 21.67 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005599/8.22, allocations: 419 kB / 4.067 GB, free: 21.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/8.22, allocations: 3.594 kB / 4.067 GB, free: 21.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001792/8.222, allocations: 1.281 MB / 4.068 GB, free: 20.96 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.00057/8.222, allocations: 3.744 MB / 4.072 GB, free: 16.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/8.222, allocations: 12.62 kB / 4.072 GB, free: 16.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002046/8.224, allocations: 457.4 kB / 4.072 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009755/8.225, allocations: 301 kB / 4.072 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/8.227, allocations: 1.475 MB / 4.074 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/8.228, allocations: 242.5 kB / 4.074 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/8.228, allocations: 68.91 kB / 4.074 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/8.228, allocations: 4.219 kB / 4.074 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001522/8.23, allocations: 1.006 MB / 4.075 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/8.23, allocations: 17.09 kB / 4.075 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/8.23, allocations: 13.66 kB / 4.075 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001921/8.232, allocations: 448 kB / 4.076 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/8.232, allocations: 21.8 kB / 4.076 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/8.233, allocations: 236.1 kB / 4.076 GB, free: 15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.02e-05/8.233, allocations: 61.25 kB / 4.076 GB, free: 14.99 MB / 0.5261 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 () * 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.0002652/8.234, allocations: 180.2 kB / 4.076 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/8.234, allocations: 117.9 kB / 4.076 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004539/8.238, allocations: 5.728 MB / 4.082 GB, free: 9.551 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.712e-05/8.238, allocations: 76.77 kB / 4.082 GB, free: 9.508 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/8.238, allocations: 11.95 kB / 4.082 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/8.238, allocations: 7.219 kB / 4.082 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006049/8.245, allocations: 7.83 MB / 4.09 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/8.245, allocations: 0 / 4.09 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007496/8.245, allocations: 226.8 kB / 4.09 GB, free: 2.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002848/8.248, allocations: 1.897 MB / 4.092 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.751e-05/8.248, allocations: 27.89 kB / 4.092 GB, free: 0.8438 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002127/8.25, allocations: 2.656 MB / 4.094 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/8.25, allocations: 4 kB / 4.094 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003787/8.254, allocations: 3.528 MB / 4.098 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008117/8.255, allocations: 0.5612 MB / 4.098 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/8.255, allocations: 24 kB / 4.098 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/8.256, allocations: 185.8 kB / 4.098 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/8.256, allocations: 105.9 kB / 4.099 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.653e-05/8.257, allocations: 39.84 kB / 4.099 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009998/8.258, allocations: 0.7862 MB / 4.099 GB, free: 9.531 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.81e-07/8.258, allocations: 0 / 4.099 GB, free: 9.531 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006358/8.264, allocations: 1.878 MB / 4.101 GB, free: 7.688 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 () * 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.008634/8.273, allocations: 2.123 MB / 4.103 GB, free: 6.078 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004105/8.277, allocations: 2.249 MB / 4.105 GB, free: 3.969 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/8.277, allocations: 4 kB / 4.105 GB, free: 3.965 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001661/8.278, allocations: 1.416 MB / 4.107 GB, free: 2.633 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003055/8.281, allocations: 0.5958 MB / 4.107 GB, free: 2.195 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2822/8.564, allocations: 3.535 MB / 4.111 GB, free: 64.54 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001214/8.565, allocations: 1.643 MB / 4.113 GB, free: 63.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003226/8.568, allocations: 1.423 MB / 4.114 GB, free: 63.79 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/8.568, allocations: 90.2 kB / 4.114 GB, free: 63.79 MB / 0.5417 GB Notification: Performance of SimCode: time 9.62e-07/8.568, allocations: 1.062 kB / 4.114 GB, free: 63.79 MB / 0.5417 GB Notification: Performance of Templates: time 0.08403/8.653, allocations: 66 MB / 4.178 GB, free: 61.25 MB / 0.5417 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