Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001587/0.001587, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.924/1.924, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001098/0.001098, 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.245/0.245, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.000356, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.159, allocations: 58.86 MB / 490.2 MB, free: 8.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.051/1.21, allocations: 335.6 MB / 0.8065 GB, free: 85.11 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/1.211, allocations: 86.73 kB / 0.8066 GB, free: 85.06 MB / 0.4948 GB [/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.293/2.504, allocations: 337.3 MB / 1.136 GB, free: 73.19 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.094e-06/2.504, allocations: 0 / 1.136 GB, free: 73.19 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001186/2.504, allocations: 35.2 kB / 1.136 GB, free: 73.19 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.005532/2.51, allocations: 1.966 MB / 1.138 GB, free: 72.24 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/2.51, allocations: 10.06 kB / 1.138 GB, free: 72.24 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008108/2.511, allocations: 186.3 kB / 1.138 GB, free: 72.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002425/2.513, allocations: 1.078 MB / 1.139 GB, free: 71.84 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.152e-05/2.513, allocations: 73.62 kB / 1.139 GB, free: 71.83 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/2.513, allocations: 100.2 kB / 1.139 GB, free: 71.83 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/2.516, allocations: 1.474 MB / 1.141 GB, free: 71.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/2.516, allocations: 1.875 kB / 1.141 GB, free: 71.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/2.516, allocations: 50.73 kB / 1.141 GB, free: 71.52 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.329e-05/2.516, allocations: 53.7 kB / 1.141 GB, free: 71.52 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/2.518, allocations: 1.334 MB / 1.142 GB, free: 71.51 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.008454/2.526, allocations: 6.64 MB / 1.149 GB, free: 67.86 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009769/2.527, allocations: 0.5359 MB / 1.149 GB, free: 67.83 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01902/2.546, allocations: 16.98 MB / 1.166 GB, free: 51.26 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005936/2.547, allocations: 480.8 kB / 1.166 GB, free: 51.08 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=49): time 1.874e-06/2.547, allocations: 7.031 kB / 1.166 GB, free: 51.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49): time 0.001518/2.548, allocations: 0.9987 MB / 1.167 GB, free: 50.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/2.549, allocations: 0.5377 MB / 1.168 GB, free: 50.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/2.55, allocations: 1.147 MB / 1.169 GB, free: 50.01 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.181e-05/2.55, allocations: 42.2 kB / 1.169 GB, free: 49.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004256/2.55, allocations: 0.7116 MB / 1.17 GB, free: 49.67 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/2.551, allocations: 168.9 kB / 1.17 GB, free: 49.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.232e-05/2.551, allocations: 23.56 kB / 1.17 GB, free: 49.57 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.862e-05/2.551, allocations: 347 kB / 1.17 GB, free: 49.26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004633/2.551, allocations: 330.3 kB / 1.17 GB, free: 49.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007345/2.552, allocations: 0.8654 MB / 1.171 GB, free: 48.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006169/2.553, allocations: 486.9 kB / 1.172 GB, free: 48.57 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/2.553, allocations: 3.781 kB / 1.172 GB, free: 48.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001798/2.554, allocations: 1.301 MB / 1.173 GB, free: 48.42 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001069/2.555, allocations: 5.578 MB / 1.178 GB, free: 42.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/2.555, allocations: 19.34 kB / 1.178 GB, free: 42.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.458e-05/2.556, allocations: 23.28 kB / 1.179 GB, free: 42.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002/2.558, allocations: 392.7 kB / 1.179 GB, free: 42.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000553/2.558, allocations: 1.271 MB / 1.18 GB, free: 41.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/2.559, allocations: 194.2 kB / 1.18 GB, free: 41.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/2.56, allocations: 68.97 kB / 1.18 GB, free: 41.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/2.56, allocations: 3.938 kB / 1.18 GB, free: 41.41 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001626/2.561, allocations: 1.111 MB / 1.181 GB, free: 41.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/2.561, allocations: 18.67 kB / 1.181 GB, free: 41.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/2.561, allocations: 21.03 kB / 1.182 GB, free: 41.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008692/2.562, allocations: 285.4 kB / 1.182 GB, free: 41.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002217/2.562, allocations: 0.6227 MB / 1.182 GB, free: 40.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/2.563, allocations: 155.6 kB / 1.183 GB, free: 40.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.642e-05/2.563, allocations: 63.75 kB / 1.183 GB, free: 40.71 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.0006753/2.564, allocations: 436.7 kB / 1.183 GB, free: 40.48 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/2.564, allocations: 133 kB / 1.183 GB, free: 40.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002207/2.567, allocations: 1.416 MB / 1.185 GB, free: 40.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/2.567, allocations: 10.22 kB / 1.185 GB, free: 40.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/2.567, allocations: 0 / 1.185 GB, free: 40.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.435e-06/2.567, allocations: 3.797 kB / 1.185 GB, free: 40.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002949/2.57, allocations: 2.194 MB / 1.187 GB, free: 39.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/2.57, allocations: 0 / 1.187 GB, free: 39.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00178/2.571, allocations: 263.6 kB / 1.187 GB, free: 39.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/2.571, allocations: 4.906 kB / 1.187 GB, free: 39.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.047e-05/2.571, allocations: 29.2 kB / 1.187 GB, free: 39.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004702/2.572, allocations: 1.228 MB / 1.188 GB, free: 38.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/2.572, allocations: 3.75 kB / 1.188 GB, free: 38.62 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/2.573, allocations: 1.071 MB / 1.189 GB, free: 38.33 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003968/2.574, allocations: 268.3 kB / 1.189 GB, free: 38.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/2.574, allocations: 19.78 kB / 1.189 GB, free: 38.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006962/2.575, allocations: 65.98 kB / 1.19 GB, free: 38.14 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.435e-05/2.575, allocations: 53.12 kB / 1.19 GB, free: 38.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-05/2.575, allocations: 33.58 kB / 1.19 GB, free: 38.14 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001071/2.576, allocations: 0.8996 MB / 1.191 GB, free: 38.03 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.8e-07/2.576, allocations: 0 / 1.191 GB, free: 38.03 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004495/2.58, allocations: 1.396 MB / 1.192 GB, free: 37.75 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.003882/2.584, allocations: 1.371 MB / 1.193 GB, free: 37.35 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00465/2.589, allocations: 1.812 MB / 1.195 GB, free: 37.21 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/2.589, allocations: 3.875 kB / 1.195 GB, free: 37.21 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002654/2.592, allocations: 0.6708 MB / 1.196 GB, free: 37.12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002825/2.594, allocations: 0.5538 MB / 1.196 GB, free: 37.11 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003782/2.598, allocations: 2.578 MB / 1.199 GB, free: 35.93 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005435/2.599, allocations: 1.204 MB / 1.2 GB, free: 35.22 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001729/2.601, allocations: 486.6 kB / 1.2 GB, free: 35.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002917/2.601, allocations: 141 kB / 1.2 GB, free: 35.15 MB / 0.4948 GB Notification: Performance of SimCode: time 1.322e-06/2.601, allocations: 0 / 1.2 GB, free: 35.15 MB / 0.4948 GB Notification: Performance of Templates: time 0.05667/2.657, allocations: 37.43 MB / 1.237 GB, free: 22.73 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction_res.mat","/var/lib/jenkins/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_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches