Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 176.8 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008992/0.0008995, allocations: 94.34 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4735/0.4735, allocations: 44.23 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.0003651, allocations: 8 kB / 459.9 MB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4601/0.4605, allocations: 61.9 MB / 0.5096 GB, free: 38.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6889/1.149, allocations: 336.1 MB / 0.8378 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003203/1.15, allocations: 90.89 kB / 0.8379 GB, free: 10.19 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 4.0.0+maint.om/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.396/2.546, allocations: 341.9 MB / 1.172 GB, free: 85.83 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.268e-06/2.546, allocations: 0 / 1.172 GB, free: 85.83 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002698/2.547, allocations: 39.73 kB / 1.172 GB, free: 85.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: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.0109/2.558, allocations: 1.961 MB / 1.174 GB, free: 84.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 8.406e-05/2.558, allocations: 14.84 kB / 1.174 GB, free: 84.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00215/2.56, allocations: 180.5 kB / 1.174 GB, free: 84.72 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004914/2.565, allocations: 1.064 MB / 1.175 GB, free: 84.39 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/2.565, allocations: 74.55 kB / 1.175 GB, free: 84.39 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005437/2.565, allocations: 91.66 kB / 1.175 GB, free: 84.39 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003894/2.569, allocations: 1.473 MB / 1.177 GB, free: 84.08 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.882e-05/2.569, allocations: 10.45 kB / 1.177 GB, free: 84.08 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002978/2.57, allocations: 53.84 kB / 1.177 GB, free: 84.08 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.145e-05/2.57, allocations: 55.16 kB / 1.177 GB, free: 84.08 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002669/2.573, allocations: 1.335 MB / 1.178 GB, free: 84.07 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.0112/2.584, allocations: 6.561 MB / 1.184 GB, free: 80.42 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/2.585, allocations: 0.5303 MB / 1.185 GB, free: 80.39 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02175/2.607, allocations: 16.93 MB / 1.201 GB, free: 63.82 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008723/2.608, allocations: 475.5 kB / 1.202 GB, free: 63.64 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=49): time 3.367e-06/2.608, allocations: 0 / 1.202 GB, free: 63.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.002408/2.61, allocations: 0.9874 MB / 1.203 GB, free: 63.41 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002527/2.61, allocations: 0.5409 MB / 1.203 GB, free: 62.75 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002682/2.613, allocations: 1.149 MB / 1.204 GB, free: 62.58 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001508/2.613, allocations: 36.67 kB / 1.205 GB, free: 62.55 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008823/2.614, allocations: 0.7093 MB / 1.205 GB, free: 62.24 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/2.614, allocations: 181 kB / 1.205 GB, free: 62.13 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.78e-05/2.614, allocations: 21.03 kB / 1.205 GB, free: 62.13 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001306/2.615, allocations: 347 kB / 1.206 GB, free: 61.82 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006266/2.615, allocations: 335.3 kB / 1.206 GB, free: 61.82 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/2.616, allocations: 0.8586 MB / 1.207 GB, free: 61.17 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008626/2.617, allocations: 495.5 kB / 1.207 GB, free: 61.13 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.017e-05/2.617, allocations: 3.906 kB / 1.207 GB, free: 61.13 MB / 0.5261 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.00339/2.621, allocations: 1.304 MB / 1.209 GB, free: 60.97 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002747/2.623, allocations: 5.58 MB / 1.214 GB, free: 55.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.872e-05/2.623, allocations: 18.22 kB / 1.214 GB, free: 55.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.219e-05/2.624, allocations: 23.53 kB / 1.214 GB, free: 55.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002523/2.626, allocations: 392.1 kB / 1.215 GB, free: 55.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009525/2.627, allocations: 1.268 MB / 1.216 GB, free: 53.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001999/2.629, allocations: 191 kB / 1.216 GB, free: 53.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001988/2.629, allocations: 65.23 kB / 1.216 GB, free: 53.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/2.629, allocations: 6.5 kB / 1.216 GB, free: 53.8 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002279/2.632, allocations: 1.103 MB / 1.217 GB, free: 53.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.226e-05/2.632, allocations: 16.03 kB / 1.217 GB, free: 53.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.028e-05/2.632, allocations: 30.03 kB / 1.217 GB, free: 53.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/2.633, allocations: 279 kB / 1.217 GB, free: 53.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003445/2.633, allocations: 0.6277 MB / 1.218 GB, free: 52.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/2.635, allocations: 155.4 kB / 1.218 GB, free: 52.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/2.635, allocations: 66.08 kB / 1.218 GB, free: 52.64 MB / 0.5261 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.001065/2.636, allocations: 430.8 kB / 1.219 GB, free: 52.31 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005347/2.637, allocations: 139.2 kB / 1.219 GB, free: 52.24 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003188/2.64, allocations: 1.393 MB / 1.22 GB, free: 51.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.935e-05/2.64, allocations: 7.156 kB / 1.22 GB, free: 51.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/2.64, allocations: 5.812 kB / 1.22 GB, free: 51.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/2.64, allocations: 3.281 kB / 1.22 GB, free: 51.73 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004268/2.644, allocations: 2.172 MB / 1.222 GB, free: 50.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/2.644, allocations: 0 / 1.222 GB, free: 50.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001868/2.646, allocations: 267.7 kB / 1.222 GB, free: 50.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.866e-05/2.646, allocations: 0 / 1.222 GB, free: 50.71 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.494e-05/2.646, allocations: 25.75 kB / 1.223 GB, free: 50.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006027/2.647, allocations: 1.237 MB / 1.224 GB, free: 49.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/2.647, allocations: 0 / 1.224 GB, free: 49.49 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/2.649, allocations: 1.067 MB / 1.225 GB, free: 48.95 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000688/2.649, allocations: 257.9 kB / 1.225 GB, free: 48.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004285/2.65, allocations: 28.33 kB / 1.225 GB, free: 48.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/2.651, allocations: 57.86 kB / 1.225 GB, free: 48.71 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/2.651, allocations: 49.8 kB / 1.225 GB, free: 48.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.551e-05/2.651, allocations: 38.25 kB / 1.225 GB, free: 48.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001513/2.652, allocations: 0.8999 MB / 1.226 GB, free: 48.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.2e-07/2.652, allocations: 0 / 1.226 GB, free: 48.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005507/2.658, allocations: 1.41 MB / 1.227 GB, free: 47.95 MB / 0.5261 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.005114/2.663, allocations: 1.343 MB / 1.229 GB, free: 47.52 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005154/2.668, allocations: 1.811 MB / 1.231 GB, free: 46.89 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/2.668, allocations: 0 / 1.231 GB, free: 46.89 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002867/2.671, allocations: 0.6733 MB / 1.231 GB, free: 46.67 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00329/2.674, allocations: 0.5541 MB / 1.232 GB, free: 46.54 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005121/2.68, allocations: 2.564 MB / 1.234 GB, free: 45.12 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009654/2.681, allocations: 1.208 MB / 1.235 GB, free: 44.38 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002234/2.683, allocations: 479.6 kB / 1.236 GB, free: 44.27 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004241/2.683, allocations: 133.4 kB / 1.236 GB, free: 44.25 MB / 0.5261 GB Notification: Performance of SimCode: time 1.443e-06/2.683, allocations: 0 / 1.236 GB, free: 44.25 MB / 0.5261 GB Notification: Performance of Templates: time 0.06834/2.752, allocations: 36.72 MB / 1.272 GB, free: 20.05 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestWallFriction/TestWallFriction.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches