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.001256/0.001256, allocations: 183.6 kB / 13.19 MB, free: 2.129 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.354/1.354, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.000821/0.000821, allocations: 91.81 kB / 267.1 MB, free: 9.273 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.3212/0.3212, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.213e-05/3.217e-05, allocations: 7.938 kB / 425.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1076, allocations: 58.85 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8121/0.9197, allocations: 335.5 MB / 0.8004 GB, free: 73.25 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.92, allocations: 85.12 kB / 0.8005 GB, free: 73.21 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.143/2.063, allocations: 336.2 MB / 1.129 GB, free: 62.94 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.322e-06/2.063, allocations: 4.562 kB / 1.129 GB, free: 62.94 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001116/2.063, allocations: 39.98 kB / 1.129 GB, free: 62.93 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.004153/2.067, allocations: 1.785 MB / 1.131 GB, free: 62.03 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/2.067, allocations: 9.625 kB / 1.131 GB, free: 62.03 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006569/2.068, allocations: 182.2 kB / 1.131 GB, free: 61.95 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001962/2.07, allocations: 1.067 MB / 1.132 GB, free: 61.62 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.348e-05/2.07, allocations: 81.28 kB / 1.132 GB, free: 61.61 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/2.07, allocations: 96.28 kB / 1.132 GB, free: 61.61 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/2.072, allocations: 1.456 MB / 1.133 GB, free: 61.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/2.072, allocations: 7.062 kB / 1.133 GB, free: 61.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/2.072, allocations: 50.34 kB / 1.133 GB, free: 61.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.467e-05/2.072, allocations: 52.5 kB / 1.134 GB, free: 61.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/2.074, allocations: 1.307 MB / 1.135 GB, free: 61.29 MB / 0.4948 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.006762/2.08, allocations: 6.628 MB / 1.141 GB, free: 57.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008172/2.081, allocations: 0.5311 MB / 1.142 GB, free: 57.62 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004572/2.082, allocations: 331.4 kB / 1.142 GB, free: 57.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01674/2.098, allocations: 17.14 MB / 1.159 GB, free: 41.03 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005697/2.099, allocations: 481.3 kB / 1.159 GB, free: 40.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=49): time 2.906e-06/2.099, allocations: 0 / 1.159 GB, free: 40.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49): time 0.00123/2.1, allocations: 0.6956 MB / 1.16 GB, free: 40.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/2.1, allocations: 0.546 MB / 1.161 GB, free: 40.04 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/2.102, allocations: 1.135 MB / 1.162 GB, free: 39.86 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.739e-05/2.102, allocations: 39.95 kB / 1.162 GB, free: 39.83 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003906/2.102, allocations: 0.7087 MB / 1.162 GB, free: 39.52 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/2.102, allocations: 174.6 kB / 1.163 GB, free: 39.42 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.162e-05/2.102, allocations: 24.16 kB / 1.163 GB, free: 39.42 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.521e-05/2.102, allocations: 344.3 kB / 1.163 GB, free: 39.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004381/2.103, allocations: 320.5 kB / 1.163 GB, free: 39.11 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006444/2.104, allocations: 0.8633 MB / 1.164 GB, free: 38.46 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005837/2.104, allocations: 492.7 kB / 1.165 GB, free: 38.42 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/2.104, allocations: 3.969 kB / 1.165 GB, free: 38.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001781/2.106, allocations: 1.283 MB / 1.166 GB, free: 38.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009192/2.107, allocations: 5.576 MB / 1.171 GB, free: 32.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/2.107, allocations: 11.75 kB / 1.171 GB, free: 32.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.678e-05/2.107, allocations: 34.2 kB / 1.171 GB, free: 32.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002012/2.109, allocations: 389.6 kB / 1.172 GB, free: 32.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005647/2.11, allocations: 1.268 MB / 1.173 GB, free: 31.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/2.111, allocations: 184 kB / 1.173 GB, free: 31.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/2.111, allocations: 77.06 kB / 1.173 GB, free: 31.26 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/2.111, allocations: 7.344 kB / 1.173 GB, free: 31.26 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001538/2.113, allocations: 1.088 MB / 1.174 GB, free: 31.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/2.113, allocations: 15.27 kB / 1.174 GB, free: 31.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/2.113, allocations: 27.28 kB / 1.174 GB, free: 31.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000826/2.114, allocations: 287.6 kB / 1.174 GB, free: 31.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001967/2.114, allocations: 0.6244 MB / 1.175 GB, free: 30.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/2.115, allocations: 152.3 kB / 1.175 GB, free: 30.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.78e-05/2.115, allocations: 63.95 kB / 1.175 GB, free: 30.56 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 () * 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.0002675/2.115, allocations: 220 kB / 1.176 GB, free: 30.41 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/2.115, allocations: 136.3 kB / 1.176 GB, free: 30.35 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002127/2.118, allocations: 1.4 MB / 1.177 GB, free: 30.12 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/2.118, allocations: 10.06 kB / 1.177 GB, free: 30.12 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/2.118, allocations: 0 / 1.177 GB, free: 30.12 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/2.118, allocations: 7.312 kB / 1.177 GB, free: 30.12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002734/2.12, allocations: 2.183 MB / 1.179 GB, free: 29.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/2.12, allocations: 0 / 1.179 GB, free: 29.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/2.122, allocations: 264.4 kB / 1.179 GB, free: 29.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-05/2.122, allocations: 3.938 kB / 1.179 GB, free: 29.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.622e-05/2.122, allocations: 28.98 kB / 1.179 GB, free: 29.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003786/2.122, allocations: 1.226 MB / 1.181 GB, free: 28.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/2.122, allocations: 3.938 kB / 1.181 GB, free: 28.53 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/2.124, allocations: 1.051 MB / 1.182 GB, free: 28.23 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004164/2.124, allocations: 267.5 kB / 1.182 GB, free: 28.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/2.124, allocations: 21.23 kB / 1.182 GB, free: 28.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006894/2.125, allocations: 63.91 kB / 1.182 GB, free: 28.05 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.244e-05/2.125, allocations: 48.78 kB / 1.182 GB, free: 28.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.857e-05/2.125, allocations: 36.81 kB / 1.182 GB, free: 28.05 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009823/2.126, allocations: 0.8813 MB / 1.183 GB, free: 27.93 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.9e-07/2.126, allocations: 3.938 kB / 1.183 GB, free: 27.93 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004025/2.13, allocations: 1.399 MB / 1.184 GB, free: 27.64 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) * 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.003038/2.133, allocations: 1.362 MB / 1.186 GB, free: 27.23 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004886/2.138, allocations: 1.828 MB / 1.187 GB, free: 43.01 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/2.138, allocations: 3.953 kB / 1.187 GB, free: 43.01 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002574/2.141, allocations: 0.658 MB / 1.188 GB, free: 42.92 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002711/2.143, allocations: 0.5608 MB / 1.189 GB, free: 42.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/2.146, allocations: 1.575 MB / 1.19 GB, free: 42.45 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005808/2.147, allocations: 1.201 MB / 1.191 GB, free: 41.73 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001917/2.148, allocations: 0.5616 MB / 1.192 GB, free: 41.65 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/2.149, allocations: 119.3 kB / 1.192 GB, free: 41.64 MB / 0.5105 GB Notification: Performance of SimCode: time 8.01e-07/2.149, allocations: 1.406 kB / 1.192 GB, free: 41.64 MB / 0.5105 GB Notification: Performance of Templates: time 0.0505/2.199, allocations: 40.13 MB / 1.231 GB, free: 31.99 MB / 0.5105 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