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.001025/0.001025, allocations: 179.2 kB / 18.09 MB, free: 3.75 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.362/1.362, allocations: 223.3 MB / 242.1 MB, free: 11.7 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.0008437/0.0008437, allocations: 90.36 kB / 293.3 MB, free: 10.79 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.3552/0.3552, allocations: 44.15 MB / 388.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.0003613, allocations: 12 kB / 461.1 MB, free: 1.344 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3363, allocations: 61.88 MB / 0.5107 GB, free: 38.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6151/0.9514, allocations: 336.2 MB / 0.8391 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.9518, allocations: 93.5 kB / 0.8392 GB, free: 10.11 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.307/2.259, allocations: 339 MB / 1.17 GB, free: 85.43 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.415e-06/2.259, allocations: 0 / 1.17 GB, free: 85.43 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001095/2.259, allocations: 42.59 kB / 1.17 GB, free: 85.42 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.005167/2.264, allocations: 1.949 MB / 1.172 GB, free: 84.41 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/2.264, allocations: 10.5 kB / 1.172 GB, free: 84.41 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006863/2.265, allocations: 183.8 kB / 1.172 GB, free: 84.33 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002009/2.267, allocations: 1.098 MB / 1.173 GB, free: 83.96 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.059e-05/2.267, allocations: 74.59 kB / 1.174 GB, free: 83.96 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/2.267, allocations: 92.28 kB / 1.174 GB, free: 83.96 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/2.269, allocations: 1.486 MB / 1.175 GB, free: 83.65 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.038e-05/2.269, allocations: 6.344 kB / 1.175 GB, free: 83.65 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/2.269, allocations: 44.59 kB / 1.175 GB, free: 83.65 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.797e-05/2.269, allocations: 55.28 kB / 1.175 GB, free: 83.65 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/2.271, allocations: 1.334 MB / 1.176 GB, free: 83.64 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.007447/2.279, allocations: 6.457 MB / 1.183 GB, free: 79.99 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007451/2.28, allocations: 0.5431 MB / 1.183 GB, free: 79.96 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004632/2.28, allocations: 340.6 kB / 1.184 GB, free: 79.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0174/2.297, allocations: 16.87 MB / 1.2 GB, free: 63.38 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006391/2.298, allocations: 479.7 kB / 1.201 GB, free: 63.21 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=49): time 2.094e-06/2.298, allocations: 0 / 1.201 GB, free: 63.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.001529/2.3, allocations: 0.9082 MB / 1.201 GB, free: 63.07 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001853/2.3, allocations: 0.5466 MB / 1.202 GB, free: 62.41 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/2.301, allocations: 1.301 MB / 1.203 GB, free: 62.22 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.025e-05/2.301, allocations: 44.08 kB / 1.203 GB, free: 62.19 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005153/2.302, allocations: 0.7042 MB / 1.204 GB, free: 61.88 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001819/2.302, allocations: 179.1 kB / 1.204 GB, free: 61.77 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.223e-05/2.302, allocations: 24.59 kB / 1.204 GB, free: 61.77 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001143/2.302, allocations: 344.9 kB / 1.205 GB, free: 61.47 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005016/2.303, allocations: 330.7 kB / 1.205 GB, free: 61.46 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008185/2.304, allocations: 0.8703 MB / 1.206 GB, free: 60.82 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/2.305, allocations: 1.155 MB / 1.207 GB, free: 60.25 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/2.305, allocations: 7.812 kB / 1.207 GB, free: 60.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001831/2.307, allocations: 1.299 MB / 1.208 GB, free: 60.05 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002976/2.307, allocations: 0.5289 MB / 1.209 GB, free: 59.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/2.307, allocations: 18 kB / 1.209 GB, free: 59.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.423e-05/2.307, allocations: 24.25 kB / 1.209 GB, free: 59.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/2.309, allocations: 395.3 kB / 1.209 GB, free: 59.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005982/2.31, allocations: 1.268 MB / 1.21 GB, free: 58.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/2.311, allocations: 203.6 kB / 1.21 GB, free: 58.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/2.311, allocations: 69.98 kB / 1.211 GB, free: 58.13 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/2.311, allocations: 3.906 kB / 1.211 GB, free: 58.13 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001673/2.313, allocations: 1.103 MB / 1.212 GB, free: 57.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/2.313, allocations: 17.95 kB / 1.212 GB, free: 57.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/2.313, allocations: 23.09 kB / 1.212 GB, free: 57.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008244/2.314, allocations: 282.4 kB / 1.212 GB, free: 57.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002452/2.314, allocations: 0.6218 MB / 1.213 GB, free: 57.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/2.315, allocations: 159.5 kB / 1.213 GB, free: 57.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/2.315, allocations: 64.83 kB / 1.213 GB, free: 57.04 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.0007587/2.316, allocations: 431.5 kB / 1.213 GB, free: 56.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/2.316, allocations: 142.9 kB / 1.213 GB, free: 56.64 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002291/2.318, allocations: 1.368 MB / 1.215 GB, free: 56.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/2.318, allocations: 18.47 kB / 1.215 GB, free: 56.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/2.318, allocations: 0 / 1.215 GB, free: 56.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/2.318, allocations: 10.56 kB / 1.215 GB, free: 56.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002818/2.321, allocations: 2.133 MB / 1.217 GB, free: 55.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/2.321, allocations: 3.406 kB / 1.217 GB, free: 55.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/2.323, allocations: 268.4 kB / 1.217 GB, free: 55.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/2.323, allocations: 3.75 kB / 1.217 GB, free: 55.12 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.706e-05/2.323, allocations: 30.41 kB / 1.217 GB, free: 55.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004374/2.323, allocations: 1.226 MB / 1.218 GB, free: 53.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/2.323, allocations: 3.938 kB / 1.218 GB, free: 53.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/2.325, allocations: 1.06 MB / 1.219 GB, free: 53.37 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003008/2.325, allocations: 257.8 kB / 1.219 GB, free: 53.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/2.325, allocations: 26.19 kB / 1.22 GB, free: 53.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006265/2.326, allocations: 55.61 kB / 1.22 GB, free: 53.14 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/2.326, allocations: 59.5 kB / 1.22 GB, free: 53.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-05/2.326, allocations: 34.52 kB / 1.22 GB, free: 53.12 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001047/2.327, allocations: 0.8978 MB / 1.221 GB, free: 52.75 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/2.327, allocations: 0 / 1.221 GB, free: 52.75 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004254/2.331, allocations: 1.395 MB / 1.222 GB, free: 52.38 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.00294/2.334, allocations: 1.353 MB / 1.223 GB, free: 51.93 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004193/2.338, allocations: 1.827 MB / 1.225 GB, free: 51.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/2.338, allocations: 0 / 1.225 GB, free: 51.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002361/2.341, allocations: 0.6778 MB / 1.226 GB, free: 51.08 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002706/2.343, allocations: 0.5565 MB / 1.226 GB, free: 50.95 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003212/2.347, allocations: 2.581 MB / 1.229 GB, free: 49.57 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005918/2.347, allocations: 1.172 MB / 1.23 GB, free: 48.84 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001528/2.349, allocations: 488.7 kB / 1.23 GB, free: 48.72 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002561/2.349, allocations: 137 kB / 1.23 GB, free: 48.7 MB / 0.5261 GB Notification: Performance of SimCode: time 7.61e-07/2.349, allocations: 0 / 1.23 GB, free: 48.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.05074/2.4, allocations: 37.98 MB / 1.268 GB, free: 25.45 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/jenkins1/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