Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.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.Valves.TestValveCharacteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valve_linear.port_b.m_flow|valve_linear.port_b.p|valve_linear.port_b.h_outflow|valve_linear.minLimiter.y|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|opening.y|valve_constant.port_b.m_flow|valve_constant.port_b.p|valve_constant.port_b.h_outflow|valve_constant.minLimiter.y|valve_quadratic.port_b.m_flow|valve_quadratic.port_b.p|valve_quadratic.port_b.h_outflow|valve_quadratic.minLimiter.y|sink2.ports.1..m_flow|sink2.ports.1..p|sink2.ports.1..h_outflow|sink3.ports.1..m_flow|sink3.ports.1..p|sink3.ports.1..h_outflow|valve_equalPercentage.port_b.m_flow|valve_equalPercentage.port_b.p|valve_equalPercentage.port_b.h_outflow|valve_equalPercentage.minLimiter.y|sink4.ports.1..m_flow|sink4.ports.1..p|sink4.ports.1..h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valve_linear.port_b.m_flow|valve_linear.port_b.p|valve_linear.port_b.h_outflow|valve_linear.minLimiter.y|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|opening.y|valve_constant.port_b.m_flow|valve_constant.port_b.p|valve_constant.port_b.h_outflow|valve_constant.minLimiter.y|valve_quadratic.port_b.m_flow|valve_quadratic.port_b.p|valve_quadratic.port_b.h_outflow|valve_quadratic.minLimiter.y|sink2.ports.1..m_flow|sink2.ports.1..p|sink2.ports.1..h_outflow|sink3.ports.1..m_flow|sink3.ports.1..p|sink3.ports.1..h_outflow|valve_equalPercentage.port_b.m_flow|valve_equalPercentage.port_b.p|valve_equalPercentage.port_b.h_outflow|valve_equalPercentage.minLimiter.y|sink4.ports.1..m_flow|sink4.ports.1..p|sink4.ports.1..h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00127/0.00127, allocations: 184 kB / 15.76 MB, free: 6.367 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.628/1.628, allocations: 205.4 MB / 221.9 MB, free: 13.85 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.001086/0.001086, allocations: 98.8 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.2436/0.2436, allocations: 43.57 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003437, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1477, allocations: 58.85 MB / 490.2 MB, free: 8.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.271/6.419, allocations: 2.773 GB / 3.251 GB, free: 65.65 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/6.419, allocations: 89.11 kB / 3.252 GB, free: 65.61 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.899/8.318, allocations: 0.6395 GB / 3.891 GB, free: 17.75 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.854e-06/8.318, allocations: 0 / 3.891 GB, free: 17.75 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001557/8.318, allocations: 41.86 kB / 3.891 GB, free: 17.71 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.01139/8.33, allocations: 2.58 MB / 3.894 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/8.33, allocations: 8.031 kB / 3.894 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008381/8.338, allocations: 0.944 MB / 3.895 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002929/8.341, allocations: 1.004 MB / 3.895 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001873/8.341, allocations: 102.4 kB / 3.896 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003991/8.342, allocations: 112 kB / 3.896 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006334/8.348, allocations: 2.3 MB / 3.898 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.799e-05/8.348, allocations: 7.938 kB / 3.898 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003043/8.349, allocations: 58.7 kB / 3.898 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.297e-05/8.349, allocations: 35.88 kB / 3.898 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005712/8.354, allocations: 2.182 MB / 3.9 GB, free: 8.227 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01289/8.367, allocations: 10.02 MB / 3.91 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005583/8.373, allocations: 1.741 MB / 3.912 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3883/8.761, allocations: 25.99 MB / 3.937 GB, free: 40.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/8.761, allocations: 44.94 kB / 3.937 GB, free: 40.06 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=88): time 3.086e-06/8.761, allocations: 0 / 3.937 GB, free: 40.06 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88): time 0.009813/8.771, allocations: 2.934 MB / 3.94 GB, free: 40 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.122e-05/8.771, allocations: 271.1 kB / 3.94 GB, free: 39.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/8.773, allocations: 0.9212 MB / 3.941 GB, free: 39.53 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/8.773, allocations: 49.23 kB / 3.941 GB, free: 39.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000526/8.774, allocations: 0.6075 MB / 3.942 GB, free: 39.29 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003119/8.774, allocations: 297.5 kB / 3.942 GB, free: 39.14 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.27e-05/8.774, allocations: 20.25 kB / 3.942 GB, free: 39.14 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001226/8.774, allocations: 353.2 kB / 3.942 GB, free: 38.84 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/8.776, allocations: 0.5003 MB / 3.943 GB, free: 38.84 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001506/8.777, allocations: 0.9068 MB / 3.944 GB, free: 38.37 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/8.779, allocations: 0.5764 MB / 3.944 GB, free: 38.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.53e-05/8.779, allocations: 7.359 kB / 3.944 GB, free: 38.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003749/8.782, allocations: 1.539 MB / 3.946 GB, free: 38.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001014/8.783, allocations: 4.472 MB / 3.95 GB, free: 33.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.334e-05/8.783, allocations: 10.28 kB / 3.95 GB, free: 33.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.492e-05/8.783, allocations: 19.53 kB / 3.95 GB, free: 33.63 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/8.785, allocations: 358.7 kB / 3.951 GB, free: 33.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.823e-05/8.785, allocations: 23.22 kB / 3.951 GB, free: 33.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/8.787, allocations: 243.8 kB / 3.951 GB, free: 33.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001993/8.787, allocations: 67.2 kB / 3.951 GB, free: 33.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/8.787, allocations: 3.719 kB / 3.951 GB, free: 33.59 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003289/8.79, allocations: 1.386 MB / 3.952 GB, free: 33.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-05/8.79, allocations: 11.91 kB / 3.952 GB, free: 33.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.762e-05/8.79, allocations: 22.27 kB / 3.952 GB, free: 33.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/8.791, allocations: 356.6 kB / 3.953 GB, free: 33.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.591e-05/8.791, allocations: 27.69 kB / 3.953 GB, free: 33.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/8.793, allocations: 224.7 kB / 3.953 GB, free: 33.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/8.793, allocations: 67.7 kB / 3.953 GB, free: 33.53 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 16 (source2.medium.phase,sink2.medium.phase,source1.medium.phase,sink1.medium.phase,source3.medium.phase,sink3.medium.phase,source4.medium.phase,sink4.medium.phase,valve_equalPercentage.state_b.phase,valve_equalPercentage.state_a.phase,valve_quadratic.state_b.phase,valve_quadratic.state_a.phase,valve_constant.state_b.phase,valve_constant.state_a.phase,valve_linear.state_b.phase,valve_linear.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 141 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008633/8.794, allocations: 390 kB / 3.953 GB, free: 33.34 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004708/8.795, allocations: 142.7 kB / 3.953 GB, free: 33.27 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007964/8.803, allocations: 6.799 MB / 3.96 GB, free: 32.55 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.374e-05/8.803, allocations: 84.45 kB / 3.96 GB, free: 32.55 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/8.803, allocations: 3.891 kB / 3.96 GB, free: 32.55 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/8.803, allocations: 3.844 kB / 3.96 GB, free: 32.55 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003846/8.806, allocations: 3.277 MB / 3.963 GB, free: 32.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/8.807, allocations: 0 / 3.963 GB, free: 32.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/8.808, allocations: 318.4 kB / 3.964 GB, free: 32.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.328e-05/8.808, allocations: 5.922 kB / 3.964 GB, free: 32.08 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-05/8.808, allocations: 27.09 kB / 3.964 GB, free: 32.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/8.808, allocations: 11.48 kB / 3.964 GB, free: 32.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/8.808, allocations: 0 / 3.964 GB, free: 32.08 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004186/8.812, allocations: 3.112 MB / 3.967 GB, free: 31.62 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001403/8.813, allocations: 0.906 MB / 3.968 GB, free: 31.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004595/8.814, allocations: 20.86 kB / 3.968 GB, free: 31.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/8.815, allocations: 143.8 kB / 3.968 GB, free: 31.22 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/8.815, allocations: 115.8 kB / 3.968 GB, free: 31.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.393e-05/8.815, allocations: 41.91 kB / 3.968 GB, free: 31.21 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001785/8.817, allocations: 1.54 MB / 3.969 GB, free: 31.07 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.81e-07/8.817, allocations: 0 / 3.969 GB, free: 31.07 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008443/8.826, allocations: 1.831 MB / 3.971 GB, free: 30.97 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 56 ($cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse29.phase,$cse29.region,$cse33.phase,$cse33.region,$cse37.phase,$cse37.region,$cse41.phase,$cse41.region,$cse44.phase,$cse44.region,$cse45.phase,$cse45.region,$cse47.phase,$cse47.region,$cse48.phase,$cse48.region,$cse51.phase,$cse51.region,$cse55.phase,$cse55.region,source1.medium.phase,sink1.medium.phase,source2.medium.phase,sink2.medium.phase,source3.medium.phase,sink3.medium.phase,source4.medium.phase,sink4.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01036/8.836, allocations: 1.94 MB / 3.973 GB, free: 30.77 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005635/8.842, allocations: 2.672 MB / 3.976 GB, free: 30.73 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/8.842, allocations: 5.516 kB / 3.976 GB, free: 30.73 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002051/8.844, allocations: 1.537 MB / 3.977 GB, free: 30.72 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004096/8.848, allocations: 0.7863 MB / 3.978 GB, free: 30.69 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007311/8.855, allocations: 6.529 MB / 3.984 GB, free: 27.78 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/8.856, allocations: 1.865 MB / 3.986 GB, free: 27.04 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003183/8.86, allocations: 2.105 MB / 3.988 GB, free: 26.96 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003365/8.86, allocations: 139.8 kB / 3.988 GB, free: 26.95 MB / 0.5261 GB Notification: Performance of SimCode: time 1.192e-06/8.86, allocations: 2.406 kB / 3.988 GB, free: 26.95 MB / 0.5261 GB Notification: Performance of Templates: time 0.1275/8.987, allocations: 62.8 MB / 4.05 GB, free: 22.67 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValveCharacteristics/TestValveCharacteristics.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches