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.000901/0.0009009, allocations: 175.3 kB / 16.76 MB, free: 5.047 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.518/1.518, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.000771/0.0007708, allocations: 89.05 kB / 271.3 MB, free: 8.246 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.3824/0.3824, allocations: 43.56 MB / 363.1 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004345/0.0004346, allocations: 16 kB / 432.6 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1373, allocations: 58.84 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.935/6.072, allocations: 2.784 GB / 3.263 GB, free: 90.22 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/6.072, allocations: 90.89 kB / 3.264 GB, free: 90.17 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.001/9.073, allocations: 0.7259 GB / 3.99 GB, free: 37.24 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.448e-06/9.073, allocations: 6.062 kB / 3.99 GB, free: 37.24 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002042/9.074, allocations: 33.39 kB / 3.99 GB, free: 37.24 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.01356/9.087, allocations: 2.867 MB / 3.992 GB, free: 36.06 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.195e-05/9.087, allocations: 10.78 kB / 3.992 GB, free: 36.06 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005738/9.093, allocations: 0.6471 MB / 3.993 GB, free: 35.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00306/9.096, allocations: 1.017 MB / 3.994 GB, free: 35.61 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001966/9.096, allocations: 99.62 kB / 3.994 GB, free: 35.61 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004672/9.097, allocations: 109.5 kB / 3.994 GB, free: 35.61 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005412/9.102, allocations: 2.031 MB / 3.996 GB, free: 35.21 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.926e-05/9.102, allocations: 10.81 kB / 3.996 GB, free: 35.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001591/9.103, allocations: 54.72 kB / 3.996 GB, free: 35.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-05/9.103, allocations: 41.8 kB / 3.996 GB, free: 35.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00474/9.107, allocations: 1.881 MB / 3.998 GB, free: 35.18 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.0114/9.119, allocations: 9.5 MB / 4.007 GB, free: 28.79 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005225/9.124, allocations: 1.646 MB / 4.009 GB, free: 28.76 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00138/9.125, allocations: 0.6198 MB / 4.01 GB, free: 28.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04481/9.17, allocations: 24.25 MB / 4.033 GB, free: 29.91 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.049e-05/9.17, allocations: 49.22 kB / 4.033 GB, free: 29.87 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=94): time 3.887e-06/9.17, allocations: 0 / 4.033 GB, free: 29.87 MB / 0.5417 GB Notification: Performance of matching and sorting (n=94): time 0.01247/9.183, allocations: 3.488 MB / 4.037 GB, free: 29.53 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/9.183, allocations: 163.1 kB / 4.037 GB, free: 29.34 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/9.185, allocations: 0.8961 MB / 4.038 GB, free: 29.19 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001396/9.185, allocations: 43.02 kB / 4.038 GB, free: 29.16 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004024/9.185, allocations: 0.5972 MB / 4.038 GB, free: 28.89 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002891/9.185, allocations: 313.3 kB / 4.039 GB, free: 28.69 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.532e-05/9.185, allocations: 20.06 kB / 4.039 GB, free: 28.69 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001418/9.186, allocations: 343.3 kB / 4.039 GB, free: 28.38 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/9.187, allocations: 0.5043 MB / 4.04 GB, free: 28.38 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/9.188, allocations: 0.8432 MB / 4.04 GB, free: 28 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002374/9.19, allocations: 1.347 MB / 4.042 GB, free: 27.64 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.575e-06/9.19, allocations: 1.969 kB / 4.042 GB, free: 27.64 MB / 0.5417 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003747/9.194, allocations: 1.654 MB / 4.043 GB, free: 27.51 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002219/9.194, allocations: 386.2 kB / 4.044 GB, free: 27.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/9.194, allocations: 7.469 kB / 4.044 GB, free: 27.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002866/9.197, allocations: 0.5879 MB / 4.044 GB, free: 27.06 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009999/9.198, allocations: 284.8 kB / 4.044 GB, free: 27.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00239/9.201, allocations: 1.567 MB / 4.046 GB, free: 26.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002036/9.203, allocations: 240.7 kB / 4.046 GB, free: 25.95 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/9.203, allocations: 66.28 kB / 4.046 GB, free: 25.95 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/9.203, allocations: 3.375 kB / 4.046 GB, free: 25.95 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003401/9.206, allocations: 1.356 MB / 4.048 GB, free: 25.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/9.206, allocations: 13.28 kB / 4.048 GB, free: 25.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/9.206, allocations: 17.88 kB / 4.048 GB, free: 25.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002179/9.209, allocations: 453.1 kB / 4.048 GB, free: 25.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.41e-05/9.209, allocations: 19.44 kB / 4.048 GB, free: 25.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/9.21, allocations: 227.5 kB / 4.048 GB, free: 25.88 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/9.21, allocations: 68.31 kB / 4.048 GB, free: 25.88 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.0009806/9.211, allocations: 387.2 kB / 4.049 GB, free: 25.68 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002992/9.212, allocations: 122 kB / 4.049 GB, free: 25.62 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007057/9.219, allocations: 5.897 MB / 4.055 GB, free: 25.02 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.13e-05/9.219, allocations: 82.12 kB / 4.055 GB, free: 25.02 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/9.219, allocations: 0 / 4.055 GB, free: 25.02 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.821e-05/9.219, allocations: 15.34 kB / 4.055 GB, free: 25.01 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/9.23, allocations: 8.043 MB / 4.063 GB, free: 24.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.679e-06/9.23, allocations: 0 / 4.063 GB, free: 24.26 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008108/9.23, allocations: 221.1 kB / 4.063 GB, free: 24.25 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003824/9.234, allocations: 1.637 MB / 4.064 GB, free: 24.14 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001499/9.234, allocations: 28.38 kB / 4.064 GB, free: 24.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002968/9.237, allocations: 2.647 MB / 4.067 GB, free: 23.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/9.237, allocations: 7.453 kB / 4.067 GB, free: 23.04 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005658/9.243, allocations: 3.787 MB / 4.071 GB, free: 22.58 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001318/9.245, allocations: 0.5543 MB / 4.071 GB, free: 22.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001708/9.245, allocations: 26.75 kB / 4.071 GB, free: 22.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/9.246, allocations: 187.5 kB / 4.071 GB, free: 22.25 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002119/9.246, allocations: 106.7 kB / 4.072 GB, free: 22.25 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.006e-05/9.246, allocations: 45.19 kB / 4.072 GB, free: 22.25 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00114/9.247, allocations: 0.8014 MB / 4.072 GB, free: 22.14 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.8e-07/9.247, allocations: 0 / 4.072 GB, free: 22.14 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009002/9.256, allocations: 1.874 MB / 4.074 GB, free: 21.87 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.01216/9.268, allocations: 2.127 MB / 4.076 GB, free: 21.36 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006141/9.275, allocations: 2.718 MB / 4.079 GB, free: 21.27 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.407e-06/9.275, allocations: 0 / 4.079 GB, free: 21.27 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002758/9.277, allocations: 1.593 MB / 4.081 GB, free: 21.23 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00358/9.281, allocations: 0.6123 MB / 4.081 GB, free: 21.2 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007162/9.288, allocations: 5.522 MB / 4.087 GB, free: 18.75 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/9.289, allocations: 1.595 MB / 4.088 GB, free: 17.98 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002642/9.292, allocations: 1.368 MB / 4.089 GB, free: 17.93 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003111/9.292, allocations: 111.9 kB / 4.09 GB, free: 17.92 MB / 0.5417 GB Notification: Performance of SimCode: time 8.71e-07/9.292, allocations: 0 / 4.09 GB, free: 17.92 MB / 0.5417 GB Notification: Performance of Templates: time 0.09816/9.391, allocations: 64.53 MB / 4.153 GB, free: 2.5 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/jenkins1/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