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.001141/0.001141, allocations: 180.9 kB / 16.77 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.63/1.63, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.000693/0.0006932, allocations: 89.53 kB / 271.3 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.3942/0.3942, allocations: 43.57 MB / 363.1 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003976/0.0003981, allocations: 12 kB / 432.6 MB, free: 4.973 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1235, allocations: 58.85 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8678/0.9914, allocations: 335.7 MB / 0.8078 GB, free: 35.16 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/0.9917, allocations: 97.44 kB / 0.8079 GB, free: 35.1 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.246/2.237, allocations: 334.2 MB / 1.134 GB, free: 70.87 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.176e-06/2.237, allocations: 0 / 1.134 GB, free: 70.87 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001813/2.238, allocations: 31.5 kB / 1.134 GB, free: 70.87 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.006002/2.244, allocations: 1.959 MB / 1.136 GB, free: 69.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/2.244, allocations: 10.81 kB / 1.136 GB, free: 69.77 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/2.245, allocations: 182.1 kB / 1.136 GB, free: 69.69 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00281/2.248, allocations: 1.109 MB / 1.137 GB, free: 69.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.395e-05/2.248, allocations: 76.38 kB / 1.138 GB, free: 69.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003399/2.248, allocations: 94.78 kB / 1.138 GB, free: 69.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003035/2.251, allocations: 1.484 MB / 1.139 GB, free: 69.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/2.251, allocations: 3.719 kB / 1.139 GB, free: 69.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001875/2.251, allocations: 46.59 kB / 1.139 GB, free: 69.02 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.467e-05/2.251, allocations: 54.27 kB / 1.139 GB, free: 69.02 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001954/2.253, allocations: 1.333 MB / 1.14 GB, free: 69 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.008144/2.262, allocations: 6.505 MB / 1.147 GB, free: 65.31 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007935/2.262, allocations: 0.5448 MB / 1.147 GB, free: 65.28 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004542/2.263, allocations: 340.4 kB / 1.148 GB, free: 65.27 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01786/2.281, allocations: 16.91 MB / 1.164 GB, free: 48.69 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007175/2.281, allocations: 477.7 kB / 1.165 GB, free: 48.51 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=49): time 3.507e-06/2.281, allocations: 0 / 1.165 GB, free: 48.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49): time 0.001918/2.283, allocations: 0.9101 MB / 1.166 GB, free: 48.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001567/2.284, allocations: 0.5454 MB / 1.166 GB, free: 47.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002126/2.286, allocations: 1.301 MB / 1.167 GB, free: 47.04 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001036/2.286, allocations: 35.48 kB / 1.167 GB, free: 47.01 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000557/2.286, allocations: 0.724 MB / 1.168 GB, free: 46.43 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/2.287, allocations: 168.2 kB / 1.168 GB, free: 46.31 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.437e-05/2.287, allocations: 19.97 kB / 1.168 GB, free: 46.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.925e-05/2.287, allocations: 354.3 kB / 1.169 GB, free: 45.97 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000552/2.287, allocations: 328.2 kB / 1.169 GB, free: 45.85 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008779/2.288, allocations: 0.8754 MB / 1.17 GB, free: 45.04 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/2.29, allocations: 1.164 MB / 1.171 GB, free: 44.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.635e-05/2.29, allocations: 5.781 kB / 1.171 GB, free: 44.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002298/2.292, allocations: 1.299 MB / 1.172 GB, free: 43.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002901/2.292, allocations: 0.5253 MB / 1.173 GB, free: 42.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.739e-05/2.292, allocations: 20.5 kB / 1.173 GB, free: 42.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.863e-05/2.292, allocations: 26.22 kB / 1.173 GB, free: 42.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001997/2.294, allocations: 391.8 kB / 1.173 GB, free: 42.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006158/2.295, allocations: 1.271 MB / 1.174 GB, free: 41.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/2.296, allocations: 187.1 kB / 1.175 GB, free: 41.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/2.297, allocations: 72.06 kB / 1.175 GB, free: 41.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/2.297, allocations: 3.938 kB / 1.175 GB, free: 41.54 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001745/2.298, allocations: 1.11 MB / 1.176 GB, free: 41.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.39e-05/2.298, allocations: 13.69 kB / 1.176 GB, free: 41.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/2.298, allocations: 23.69 kB / 1.176 GB, free: 41.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000897/2.299, allocations: 282.2 kB / 1.176 GB, free: 41.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002974/2.3, allocations: 0.6243 MB / 1.177 GB, free: 40.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/2.301, allocations: 158.6 kB / 1.177 GB, free: 40.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/2.301, allocations: 70.84 kB / 1.177 GB, free: 40.37 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.0008173/2.302, allocations: 426.4 kB / 1.177 GB, free: 40.04 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003416/2.302, allocations: 143.7 kB / 1.177 GB, free: 39.97 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002475/2.305, allocations: 1.392 MB / 1.179 GB, free: 39.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/2.305, allocations: 7.625 kB / 1.179 GB, free: 39.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/2.305, allocations: 2.156 kB / 1.179 GB, free: 39.41 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/2.305, allocations: 11.64 kB / 1.179 GB, free: 39.41 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003437/2.308, allocations: 2.164 MB / 1.181 GB, free: 38.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/2.308, allocations: 3.562 kB / 1.181 GB, free: 38.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001672/2.31, allocations: 269.4 kB / 1.181 GB, free: 38.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.397e-05/2.31, allocations: 3.812 kB / 1.181 GB, free: 38.37 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.593e-05/2.31, allocations: 26.22 kB / 1.181 GB, free: 38.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000438/2.311, allocations: 1.224 MB / 1.182 GB, free: 37.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/2.311, allocations: 7.875 kB / 1.182 GB, free: 37.14 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/2.312, allocations: 1.054 MB / 1.183 GB, free: 36.62 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006671/2.313, allocations: 255.8 kB / 1.184 GB, free: 36.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003954/2.313, allocations: 19.72 kB / 1.184 GB, free: 36.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009381/2.314, allocations: 61.17 kB / 1.184 GB, free: 36.38 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/2.314, allocations: 64.88 kB / 1.184 GB, free: 36.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.892e-05/2.314, allocations: 34.12 kB / 1.184 GB, free: 36.36 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001445/2.316, allocations: 0.8987 MB / 1.185 GB, free: 36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.9e-07/2.316, allocations: 0 / 1.185 GB, free: 36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004758/2.321, allocations: 1.396 MB / 1.186 GB, free: 35.62 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.004505/2.325, allocations: 1.363 MB / 1.187 GB, free: 35.12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004781/2.33, allocations: 1.823 MB / 1.189 GB, free: 34.46 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.126e-06/2.33, allocations: 1.031 kB / 1.189 GB, free: 34.46 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002612/2.333, allocations: 0.6768 MB / 1.19 GB, free: 34.24 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003536/2.336, allocations: 0.564 MB / 1.19 GB, free: 34.09 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004283/2.34, allocations: 2.569 MB / 1.193 GB, free: 32.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007874/2.341, allocations: 1.176 MB / 1.194 GB, free: 31.94 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002122/2.343, allocations: 0.4891 MB / 1.194 GB, free: 31.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003912/2.344, allocations: 140.2 kB / 1.195 GB, free: 31.78 MB / 0.4948 GB Notification: Performance of SimCode: time 1.062e-06/2.344, allocations: 0 / 1.195 GB, free: 31.78 MB / 0.4948 GB Notification: Performance of Templates: time 0.05887/2.403, allocations: 38.7 MB / 1.232 GB, free: 2.234 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/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_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches