Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.0022/0.002199, allocations: 186.7 kB / 16.4 MB, free: 5.75 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.97/1.97, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001174/0.001173, allocations: 96.36 kB / 270.9 MB, free: 8.363 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.49/0.49, allocations: 43.56 MB / 362.7 MB, free: 52.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004664/0.0004664, allocations: 12 kB / 431.4 MB, free: 5.934 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1219, allocations: 58.84 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.125/1.247, allocations: 335.6 MB / 0.8065 GB, free: 36.38 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/1.248, allocations: 87.2 kB / 0.8065 GB, free: 36.34 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.799/3.047, allocations: 337.4 MB / 1.136 GB, free: 70.73 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.626e-06/3.047, allocations: 0 / 1.136 GB, free: 70.73 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001519/3.047, allocations: 37.73 kB / 1.136 GB, free: 70.72 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.006516/3.054, allocations: 1.963 MB / 1.138 GB, free: 69.63 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/3.054, allocations: 10.91 kB / 1.138 GB, free: 69.63 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/3.055, allocations: 178 kB / 1.138 GB, free: 69.55 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003379/3.058, allocations: 1.077 MB / 1.139 GB, free: 69.22 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.617e-05/3.058, allocations: 78.78 kB / 1.139 GB, free: 69.22 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002173/3.059, allocations: 103.8 kB / 1.139 GB, free: 69.21 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003343/3.062, allocations: 1.474 MB / 1.141 GB, free: 68.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.319e-05/3.062, allocations: 4.75 kB / 1.141 GB, free: 68.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002159/3.062, allocations: 50.59 kB / 1.141 GB, free: 68.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-05/3.062, allocations: 50.47 kB / 1.141 GB, free: 68.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003209/3.066, allocations: 1.336 MB / 1.142 GB, free: 68.9 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.01226/3.078, allocations: 6.632 MB / 1.149 GB, free: 65.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/3.079, allocations: 0.5412 MB / 1.149 GB, free: 65.17 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02978/3.109, allocations: 16.97 MB / 1.166 GB, free: 48.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009194/3.11, allocations: 485.5 kB / 1.166 GB, free: 48.05 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=49): time 3.356e-06/3.11, allocations: 0 / 1.166 GB, free: 48.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49): time 0.002563/3.113, allocations: 0.9929 MB / 1.167 GB, free: 47.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001478/3.113, allocations: 0.5399 MB / 1.168 GB, free: 46.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002167/3.115, allocations: 1.15 MB / 1.169 GB, free: 46.44 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001929/3.115, allocations: 39.14 kB / 1.169 GB, free: 46.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005366/3.116, allocations: 0.6889 MB / 1.17 GB, free: 45.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/3.116, allocations: 171.3 kB / 1.17 GB, free: 45.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/3.116, allocations: 19.16 kB / 1.17 GB, free: 45.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.573e-05/3.116, allocations: 355.6 kB / 1.17 GB, free: 45.33 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009031/3.117, allocations: 328.6 kB / 1.17 GB, free: 45.22 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/3.119, allocations: 0.8723 MB / 1.171 GB, free: 44.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/3.12, allocations: 491.1 kB / 1.172 GB, free: 44.19 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/3.12, allocations: 3.844 kB / 1.172 GB, free: 44.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003092/3.123, allocations: 1.216 MB / 1.173 GB, free: 43.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001114/3.124, allocations: 5.532 MB / 1.178 GB, free: 37.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.139e-05/3.124, allocations: 14.75 kB / 1.178 GB, free: 37.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.55e-05/3.124, allocations: 21.09 kB / 1.178 GB, free: 37.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003846/3.128, allocations: 396 kB / 1.179 GB, free: 37.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007994/3.129, allocations: 1.265 MB / 1.18 GB, free: 36.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002459/3.131, allocations: 202.2 kB / 1.18 GB, free: 36.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002761/3.132, allocations: 64.84 kB / 1.18 GB, free: 36.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/3.132, allocations: 4.344 kB / 1.18 GB, free: 36.46 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002786/3.134, allocations: 1.115 MB / 1.181 GB, free: 36.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/3.134, allocations: 13.94 kB / 1.181 GB, free: 36.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.73e-05/3.134, allocations: 25.41 kB / 1.181 GB, free: 36.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001753/3.136, allocations: 287.8 kB / 1.182 GB, free: 35.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003266/3.137, allocations: 0.6191 MB / 1.182 GB, free: 35.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/3.138, allocations: 131.7 kB / 1.182 GB, free: 35.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/3.138, allocations: 65.02 kB / 1.182 GB, free: 35.31 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.0009628/3.139, allocations: 427.2 kB / 1.183 GB, free: 34.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003962/3.14, allocations: 139.7 kB / 1.183 GB, free: 34.91 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003681/3.143, allocations: 1.41 MB / 1.184 GB, free: 34.34 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.147e-05/3.144, allocations: 7.344 kB / 1.184 GB, free: 34.34 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/3.144, allocations: 3.531 kB / 1.184 GB, free: 34.34 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/3.144, allocations: 3.844 kB / 1.184 GB, free: 34.34 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004837/3.148, allocations: 2.186 MB / 1.186 GB, free: 33.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/3.148, allocations: 3.328 kB / 1.186 GB, free: 33.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003162/3.152, allocations: 270.5 kB / 1.187 GB, free: 33.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.356e-05/3.152, allocations: 3.719 kB / 1.187 GB, free: 33.29 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/3.152, allocations: 26.77 kB / 1.187 GB, free: 33.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006007/3.152, allocations: 1.235 MB / 1.188 GB, free: 32.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/3.152, allocations: 0 / 1.188 GB, free: 32.06 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/3.155, allocations: 1.063 MB / 1.189 GB, free: 31.52 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005902/3.155, allocations: 272.2 kB / 1.189 GB, free: 31.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003484/3.156, allocations: 18.56 kB / 1.189 GB, free: 31.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/3.157, allocations: 64.47 kB / 1.189 GB, free: 31.27 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/3.157, allocations: 53.25 kB / 1.189 GB, free: 31.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/3.157, allocations: 36.78 kB / 1.189 GB, free: 31.26 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001747/3.159, allocations: 0.8967 MB / 1.19 GB, free: 30.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.91e-07/3.159, allocations: 0 / 1.19 GB, free: 30.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005468/3.165, allocations: 1.406 MB / 1.192 GB, free: 30.51 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.004452/3.169, allocations: 1.372 MB / 1.193 GB, free: 30.01 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00725/3.176, allocations: 1.812 MB / 1.195 GB, free: 29.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/3.177, allocations: 4.062 kB / 1.195 GB, free: 29.35 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004931/3.181, allocations: 0.6646 MB / 1.195 GB, free: 29.14 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004614/3.186, allocations: 0.5533 MB / 1.196 GB, free: 28.98 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005064/3.191, allocations: 2.619 MB / 1.199 GB, free: 27.53 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007065/3.192, allocations: 1.199 MB / 1.2 GB, free: 26.79 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007044/3.193, allocations: 155.2 kB / 1.2 GB, free: 26.76 MB / 0.4948 GB Notification: Performance of SimCode: time 8.51e-07/3.193, allocations: 0 / 1.2 GB, free: 26.76 MB / 0.4948 GB Notification: Performance of Templates: time 0.07626/3.269, allocations: 42.25 MB / 1.241 GB, free: 8.906 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches