Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.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.Fittings.TestWallFriction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|p_table.a|p_table.b|p_table.last|p_table.nextEvent",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|p_table.a|p_table.b|p_table.last|p_table.nextEvent",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001381/0.001381, allocations: 180.5 kB / 17.41 MB, free: 4.402 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.37/1.37, allocations: 205.4 MB / 223.6 MB, free: 8.945 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.0008098/0.0008101, allocations: 95.33 kB / 271.9 MB, free: 8.238 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.3267/0.3267, allocations: 43.56 MB / 363.8 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.000373, allocations: 12 kB / 432.6 MB, free: 5.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1194, allocations: 58.86 MB / 491.4 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7508/0.8702, allocations: 335.7 MB / 0.8078 GB, free: 35.89 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.8705, allocations: 85.33 kB / 0.8079 GB, free: 35.84 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Interfaces.mo:306:3-308:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Interfaces.mo:306:3-308:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... Notification: Performance of FrontEnd - DAE generated: time 1.05/1.92, allocations: 334.1 MB / 1.134 GB, free: 70.88 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.934e-06/1.92, allocations: 0 / 1.134 GB, free: 70.88 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001507/1.92, allocations: 41.5 kB / 1.134 GB, free: 70.88 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.005065/1.925, allocations: 1.953 MB / 1.136 GB, free: 69.79 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/1.925, allocations: 9 kB / 1.136 GB, free: 69.79 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009417/1.926, allocations: 186.5 kB / 1.136 GB, free: 69.71 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002269/1.929, allocations: 1.119 MB / 1.137 GB, free: 69.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.276e-05/1.929, allocations: 70.5 kB / 1.137 GB, free: 69.34 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002314/1.929, allocations: 98.62 kB / 1.138 GB, free: 69.34 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002281/1.931, allocations: 1.489 MB / 1.139 GB, free: 69.03 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/1.931, allocations: 0 / 1.139 GB, free: 69.03 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001593/1.932, allocations: 51.53 kB / 1.139 GB, free: 69.03 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.789e-05/1.932, allocations: 51.31 kB / 1.139 GB, free: 69.03 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/1.933, allocations: 1.33 MB / 1.14 GB, free: 69.02 MB / 0.4948 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.007046/1.941, allocations: 6.501 MB / 1.147 GB, free: 65.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007492/1.941, allocations: 0.5452 MB / 1.147 GB, free: 65.31 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004357/1.942, allocations: 337.8 kB / 1.148 GB, free: 65.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01735/1.959, allocations: 16.91 MB / 1.164 GB, free: 48.72 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006593/1.96, allocations: 483.1 kB / 1.165 GB, free: 48.54 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=49): time 3.396e-06/1.96, allocations: 0 / 1.165 GB, free: 48.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49): time 0.001861/1.962, allocations: 0.923 MB / 1.166 GB, free: 48.35 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/1.962, allocations: 0.5411 MB / 1.166 GB, free: 47.69 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002015/1.964, allocations: 1.296 MB / 1.167 GB, free: 47.16 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000112/1.964, allocations: 43.08 kB / 1.167 GB, free: 47.12 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005361/1.965, allocations: 0.705 MB / 1.168 GB, free: 46.56 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/1.965, allocations: 173.9 kB / 1.168 GB, free: 46.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.839e-05/1.965, allocations: 23.59 kB / 1.168 GB, free: 46.42 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.09e-05/1.965, allocations: 351.5 kB / 1.169 GB, free: 46.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000546/1.965, allocations: 327.6 kB / 1.169 GB, free: 45.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008209/1.966, allocations: 0.8751 MB / 1.17 GB, free: 45.17 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/1.968, allocations: 1.16 MB / 1.171 GB, free: 44.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-05/1.968, allocations: 7.844 kB / 1.171 GB, free: 44.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002288/1.97, allocations: 1.306 MB / 1.172 GB, free: 43.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003182/1.97, allocations: 0.5266 MB / 1.173 GB, free: 43.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/1.97, allocations: 14.03 kB / 1.173 GB, free: 43.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.692e-05/1.97, allocations: 24.5 kB / 1.173 GB, free: 43.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001995/1.972, allocations: 393.4 kB / 1.173 GB, free: 43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000589/1.973, allocations: 1.273 MB / 1.174 GB, free: 41.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/1.974, allocations: 189.3 kB / 1.174 GB, free: 41.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001659/1.975, allocations: 68.92 kB / 1.175 GB, free: 41.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/1.975, allocations: 3.938 kB / 1.175 GB, free: 41.66 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001786/1.976, allocations: 1.112 MB / 1.176 GB, free: 41.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.204e-05/1.976, allocations: 15.69 kB / 1.176 GB, free: 41.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/1.977, allocations: 18.81 kB / 1.176 GB, free: 41.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008999/1.977, allocations: 281.4 kB / 1.176 GB, free: 41.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002568/1.978, allocations: 0.6225 MB / 1.177 GB, free: 40.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/1.979, allocations: 163.2 kB / 1.177 GB, free: 40.51 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/1.979, allocations: 69.42 kB / 1.177 GB, free: 40.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007564/1.98, allocations: 439.6 kB / 1.177 GB, free: 40.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003191/1.98, allocations: 134.8 kB / 1.177 GB, free: 40.09 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002439/1.983, allocations: 1.396 MB / 1.179 GB, free: 39.54 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/1.983, allocations: 11.78 kB / 1.179 GB, free: 39.53 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.983, allocations: 2.25 kB / 1.179 GB, free: 39.53 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/1.983, allocations: 11.55 kB / 1.179 GB, free: 39.53 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003337/1.986, allocations: 2.16 MB / 1.181 GB, free: 38.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/1.986, allocations: 0 / 1.181 GB, free: 38.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/1.988, allocations: 263.4 kB / 1.181 GB, free: 38.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.467e-05/1.988, allocations: 3.938 kB / 1.181 GB, free: 38.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-05/1.988, allocations: 30.7 kB / 1.181 GB, free: 38.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004378/1.988, allocations: 1.231 MB / 1.182 GB, free: 37.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/1.988, allocations: 3.938 kB / 1.182 GB, free: 37.27 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/1.99, allocations: 1.05 MB / 1.183 GB, free: 36.74 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000633/1.991, allocations: 259.4 kB / 1.184 GB, free: 36.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004059/1.991, allocations: 26.66 kB / 1.184 GB, free: 36.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009258/1.992, allocations: 59.39 kB / 1.184 GB, free: 36.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/1.992, allocations: 55.12 kB / 1.184 GB, free: 36.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.901e-05/1.992, allocations: 32.27 kB / 1.184 GB, free: 36.49 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001422/1.994, allocations: 0.8981 MB / 1.185 GB, free: 36.12 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/1.994, allocations: 0 / 1.185 GB, free: 36.12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0047/1.998, allocations: 1.402 MB / 1.186 GB, free: 35.74 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004178/2.002, allocations: 1.361 MB / 1.187 GB, free: 35.24 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004744/2.007, allocations: 1.829 MB / 1.189 GB, free: 34.58 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/2.007, allocations: 5 kB / 1.189 GB, free: 34.58 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002624/2.01, allocations: 0.6707 MB / 1.19 GB, free: 34.36 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003815/2.014, allocations: 0.5546 MB / 1.19 GB, free: 34.22 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004552/2.018, allocations: 2.626 MB / 1.193 GB, free: 32.77 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008211/2.019, allocations: 1.179 MB / 1.194 GB, free: 32.02 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005223/2.02, allocations: 143 kB / 1.194 GB, free: 32 MB / 0.4948 GB Notification: Performance of SimCode: time 9.11e-07/2.02, allocations: 0 / 1.194 GB, free: 32 MB / 0.4948 GB Notification: Performance of Templates: time 0.04805/2.068, allocations: 42.17 MB / 1.235 GB, free: 15.55 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Fittings/TestWallFriction/TestWallFriction.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches