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.001538/0.001538, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 221.5 MB / 230.7 MB, free: 7.551 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008418/0.0008418, allocations: 92.47 kB / 281.6 MB, free: 5.309 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.1836/0.1836, allocations: 44.15 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.652e-05/1.656e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1156, allocations: 61.92 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8183/0.934, allocations: 335.4 MB / 0.8222 GB, free: 53.94 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.9343, allocations: 83.52 kB / 0.8223 GB, free: 53.9 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.249/2.184, allocations: 334.5 MB / 1.149 GB, free: 79.31 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.156e-06/2.184, allocations: 0 / 1.149 GB, free: 79.31 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001903/2.184, allocations: 40.19 kB / 1.149 GB, free: 79.31 MB / 0.5105 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.005727/2.19, allocations: 1.792 MB / 1.151 GB, free: 78.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/2.19, allocations: 14.02 kB / 1.151 GB, free: 78.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/2.191, allocations: 185.5 kB / 1.151 GB, free: 78.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002666/2.194, allocations: 1.049 MB / 1.152 GB, free: 77.99 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.478e-05/2.194, allocations: 31.66 kB / 1.152 GB, free: 77.99 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002979/2.194, allocations: 55.38 kB / 1.152 GB, free: 77.99 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002063/2.196, allocations: 1.203 MB / 1.153 GB, free: 77.99 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002113/2.198, allocations: 1.3 MB / 1.154 GB, free: 77.69 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.918e-05/2.198, allocations: 7.406 kB / 1.155 GB, free: 77.69 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001936/2.199, allocations: 11.61 kB / 1.155 GB, free: 77.69 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.107e-05/2.199, allocations: 49.53 kB / 1.155 GB, free: 77.69 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.008177/2.207, allocations: 6.339 MB / 1.161 GB, free: 74.11 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000734/2.208, allocations: 0.5129 MB / 1.161 GB, free: 74.08 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003988/2.208, allocations: 328 kB / 1.162 GB, free: 74.07 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01985/2.228, allocations: 17.01 MB / 1.178 GB, free: 57.51 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006568/2.229, allocations: 457.3 kB / 1.179 GB, free: 57.33 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=49): time 2.675e-06/2.229, allocations: 0 / 1.179 GB, free: 57.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49): time 0.006104/2.235, allocations: 1.244 MB / 1.18 GB, free: 57.24 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001827/2.235, allocations: 0.5407 MB / 1.18 GB, free: 56.58 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/2.237, allocations: 0.8993 MB / 1.181 GB, free: 56.41 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001148/2.237, allocations: 25.7 kB / 1.181 GB, free: 56.38 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005747/2.237, allocations: 0.7338 MB / 1.182 GB, free: 56.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/2.237, allocations: 166.8 kB / 1.182 GB, free: 55.92 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-05/2.237, allocations: 3.125 kB / 1.182 GB, free: 55.92 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.712e-05/2.238, allocations: 351.5 kB / 1.182 GB, free: 55.61 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005425/2.238, allocations: 301.4 kB / 1.183 GB, free: 55.61 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007438/2.239, allocations: 0.8376 MB / 1.184 GB, free: 54.96 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005604/2.245, allocations: 1.145 MB / 1.185 GB, free: 54.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.816e-05/2.245, allocations: 2.875 kB / 1.185 GB, free: 54.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.007804/2.252, allocations: 1.845 MB / 1.186 GB, free: 54.84 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.00158/2.254, allocations: 5.536 MB / 1.192 GB, free: 49.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.593e-05/2.254, allocations: 18.72 kB / 1.192 GB, free: 49.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.684e-05/2.254, allocations: 22.41 kB / 1.192 GB, free: 49.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002103/2.256, allocations: 384.2 kB / 1.192 GB, free: 49.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/2.258, allocations: 1.366 MB / 1.194 GB, free: 47.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/2.26, allocations: 145 kB / 1.194 GB, free: 47.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002366/2.26, allocations: 67.69 kB / 1.194 GB, free: 47.84 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/2.26, allocations: 8.469 kB / 1.194 GB, free: 47.84 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005013/2.265, allocations: 1.431 MB / 1.195 GB, free: 47.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.382e-05/2.265, allocations: 15.78 kB / 1.195 GB, free: 47.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/2.265, allocations: 27.06 kB / 1.195 GB, free: 47.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009366/2.266, allocations: 283.4 kB / 1.196 GB, free: 47.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004041/2.266, allocations: 0.6469 MB / 1.196 GB, free: 47.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/2.268, allocations: 106.4 kB / 1.196 GB, free: 47.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/2.268, allocations: 65.17 kB / 1.196 GB, free: 47.2 MB / 0.5105 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 () * 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.0004447/2.268, allocations: 190.1 kB / 1.197 GB, free: 47.05 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000428/2.269, allocations: 118.8 kB / 1.197 GB, free: 46.99 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005052/2.274, allocations: 1.643 MB / 1.198 GB, free: 46.86 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/2.274, allocations: 14.05 kB / 1.198 GB, free: 46.86 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/2.274, allocations: 0 / 1.198 GB, free: 46.86 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/2.274, allocations: 8.969 kB / 1.198 GB, free: 46.86 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006156/2.28, allocations: 2.304 MB / 1.201 GB, free: 46.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/2.28, allocations: 3.75 kB / 1.201 GB, free: 46.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001655/2.282, allocations: 262.8 kB / 1.201 GB, free: 46.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.852e-05/2.282, allocations: 3.875 kB / 1.201 GB, free: 46.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.537e-05/2.282, allocations: 22.83 kB / 1.201 GB, free: 46.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001093/2.283, allocations: 1.314 MB / 1.202 GB, free: 45.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.323e-06/2.283, allocations: 5.5 kB / 1.202 GB, free: 45.37 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004082/2.287, allocations: 1.309 MB / 1.203 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000657/2.288, allocations: 241.3 kB / 1.204 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004346/2.288, allocations: 11.09 kB / 1.204 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/2.289, allocations: 51.91 kB / 1.204 GB, free: 44.94 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.552e-05/2.289, allocations: 55.47 kB / 1.204 GB, free: 44.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.876e-05/2.289, allocations: 27.25 kB / 1.204 GB, free: 44.94 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001159/2.291, allocations: 0.6878 MB / 1.204 GB, free: 44.83 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.51e-07/2.291, allocations: 0 / 1.204 GB, free: 44.83 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005273/2.296, allocations: 1.384 MB / 1.206 GB, free: 44.51 MB / 0.5105 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) * 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.00479/2.301, allocations: 1.322 MB / 1.207 GB, free: 44.12 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004999/2.306, allocations: 1.729 MB / 1.209 GB, free: 43.92 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/2.306, allocations: 0 / 1.209 GB, free: 43.92 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002699/2.308, allocations: 0.6398 MB / 1.209 GB, free: 43.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002806/2.311, allocations: 425.2 kB / 1.21 GB, free: 43.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003711/2.315, allocations: 1.504 MB / 1.211 GB, free: 43.37 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008606/2.316, allocations: 1.207 MB / 1.212 GB, free: 42.66 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002379/2.318, allocations: 0.4937 MB / 1.213 GB, free: 42.59 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003083/2.319, allocations: 110.1 kB / 1.213 GB, free: 42.58 MB / 0.5105 GB Notification: Performance of SimCode: time 1.573e-06/2.319, allocations: 0 / 1.213 GB, free: 42.58 MB / 0.5105 GB Notification: Performance of Templates: time 0.05179/2.37, allocations: 32.94 MB / 1.245 GB, free: 27.34 MB / 0.5105 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