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.001476/0.001476, allocations: 180 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.972/1.972, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 89.92 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2973/0.2973, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.331e-05/2.341e-05, allocations: 4 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3942, allocations: 58.84 MB / 477.1 MB, free: 5.281 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7937/1.188, allocations: 334.8 MB / 0.7929 GB, free: 2.52 MB / 475.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/1.188, allocations: 83.39 kB / 0.793 GB, free: 2.477 MB / 475.1 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.753/2.942, allocations: 330.2 MB / 1.115 GB, free: 87.98 MB / 0.4952 GB Notification: Performance of FrontEnd: time 2.725e-06/2.942, allocations: 0 / 1.115 GB, free: 87.98 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 0.0001222/2.942, allocations: 35.42 kB / 1.115 GB, free: 87.98 MB / 0.4952 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.00512/2.947, allocations: 1.787 MB / 1.117 GB, free: 86.98 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/2.947, allocations: 10.34 kB / 1.117 GB, free: 86.98 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/2.948, allocations: 178.3 kB / 1.117 GB, free: 86.91 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003153/2.951, allocations: 1.077 MB / 1.118 GB, free: 86.58 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.073e-05/2.951, allocations: 33.56 kB / 1.118 GB, free: 86.58 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001866/2.952, allocations: 64.08 kB / 1.119 GB, free: 86.57 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002632/2.954, allocations: 1.198 MB / 1.12 GB, free: 86.57 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002675/2.957, allocations: 1.295 MB / 1.121 GB, free: 86.23 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.737e-05/2.957, allocations: 2.438 kB / 1.121 GB, free: 86.23 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/2.957, allocations: 6.781 kB / 1.121 GB, free: 86.23 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-05/2.957, allocations: 50.72 kB / 1.121 GB, free: 86.22 MB / 0.4952 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.01094/2.968, allocations: 6.405 MB / 1.127 GB, free: 81.54 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/2.969, allocations: 0.5144 MB / 1.128 GB, free: 81.31 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006328/2.97, allocations: 327.6 kB / 1.128 GB, free: 81.17 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02843/2.998, allocations: 17.07 MB / 1.145 GB, free: 64.15 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007848/2.999, allocations: 457.7 kB / 1.145 GB, free: 63.88 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=49): time 3.056e-06/2.999, allocations: 0 / 1.145 GB, free: 63.88 MB / 0.4952 GB Notification: Performance of matching and sorting (n=49): time 0.009153/3.008, allocations: 1.249 MB / 1.146 GB, free: 63.56 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/3.009, allocations: 0.5439 MB / 1.147 GB, free: 62.9 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/3.01, allocations: 0.8958 MB / 1.148 GB, free: 62.49 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.0001167/3.01, allocations: 29.02 kB / 1.148 GB, free: 62.46 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005622/3.011, allocations: 0.7264 MB / 1.149 GB, free: 61.84 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/3.011, allocations: 172.5 kB / 1.149 GB, free: 61.71 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.178e-05/3.011, allocations: 0 / 1.149 GB, free: 61.71 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 9.965e-05/3.011, allocations: 354.4 kB / 1.149 GB, free: 61.38 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007053/3.012, allocations: 304 kB / 1.149 GB, free: 61.26 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/3.013, allocations: 0.8333 MB / 1.15 GB, free: 60.45 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01259/3.026, allocations: 1.469 MB / 1.152 GB, free: 60.18 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.901e-05/3.026, allocations: 5.844 kB / 1.152 GB, free: 60.18 MB / 0.4952 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.01459/3.04, allocations: 2.09 MB / 1.154 GB, free: 59.7 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.001145/3.041, allocations: 5.534 MB / 1.159 GB, free: 53.82 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.41e-05/3.042, allocations: 21.77 kB / 1.159 GB, free: 53.82 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.573e-05/3.042, allocations: 23.19 kB / 1.159 GB, free: 53.82 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003762/3.045, allocations: 382.9 kB / 1.159 GB, free: 53.79 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001857/3.047, allocations: 1.373 MB / 1.161 GB, free: 52.54 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002171/3.049, allocations: 141.4 kB / 1.161 GB, free: 52.47 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/3.05, allocations: 66.42 kB / 1.161 GB, free: 52.46 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/3.05, allocations: 7.688 kB / 1.161 GB, free: 52.46 MB / 0.4952 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0108/3.061, allocations: 1.755 MB / 1.163 GB, free: 52.05 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-05/3.061, allocations: 16.56 kB / 1.163 GB, free: 52.05 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.253e-05/3.061, allocations: 26.64 kB / 1.163 GB, free: 52.04 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/3.062, allocations: 280.7 kB / 1.163 GB, free: 52.02 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004322/3.063, allocations: 0.6359 MB / 1.164 GB, free: 51.42 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/3.064, allocations: 103.6 kB / 1.164 GB, free: 51.38 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/3.064, allocations: 67.52 kB / 1.164 GB, free: 51.37 MB / 0.4952 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.0003924/3.065, allocations: 193.6 kB / 1.164 GB, free: 51.19 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003425/3.065, allocations: 124.1 kB / 1.164 GB, free: 51.12 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00772/3.073, allocations: 1.639 MB / 1.166 GB, free: 50.33 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/3.073, allocations: 15.86 kB / 1.166 GB, free: 50.32 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/3.073, allocations: 3.875 kB / 1.166 GB, free: 50.32 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/3.073, allocations: 3.984 kB / 1.166 GB, free: 50.32 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008616/3.082, allocations: 2.335 MB / 1.168 GB, free: 48.24 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/3.082, allocations: 0 / 1.168 GB, free: 48.24 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003047/3.085, allocations: 267.7 kB / 1.168 GB, free: 47.98 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/3.085, allocations: 0 / 1.168 GB, free: 47.98 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.797e-05/3.085, allocations: 19.98 kB / 1.168 GB, free: 47.96 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/3.086, allocations: 1.324 MB / 1.17 GB, free: 46.59 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/3.087, allocations: 0 / 1.17 GB, free: 46.59 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006258/3.093, allocations: 1.307 MB / 1.171 GB, free: 45.26 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004945/3.093, allocations: 251.2 kB / 1.171 GB, free: 44.99 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002809/3.094, allocations: 4 kB / 1.171 GB, free: 44.99 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/3.095, allocations: 43.95 kB / 1.171 GB, free: 44.95 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/3.095, allocations: 56.36 kB / 1.171 GB, free: 44.89 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.864e-05/3.095, allocations: 35.86 kB / 1.171 GB, free: 44.86 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.001176/3.096, allocations: 0.6903 MB / 1.172 GB, free: 44.17 MB / 0.4952 GB Notification: Performance of sort global known variables: time 5.41e-07/3.096, allocations: 0 / 1.172 GB, free: 44.17 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.005142/3.101, allocations: 1.384 MB / 1.173 GB, free: 42.79 MB / 0.4952 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.004356/3.106, allocations: 1.37 MB / 1.175 GB, free: 41.52 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.006634/3.113, allocations: 1.687 MB / 1.176 GB, free: 39.81 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/3.113, allocations: 0 / 1.176 GB, free: 39.81 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.004657/3.117, allocations: 0.643 MB / 1.177 GB, free: 39.16 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003566/3.121, allocations: 432.6 kB / 1.177 GB, free: 38.74 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0036/3.124, allocations: 1.544 MB / 1.179 GB, free: 37.16 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006834/3.125, allocations: 1.194 MB / 1.18 GB, free: 35.94 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006244/3.126, allocations: 135.4 kB / 1.18 GB, free: 35.8 MB / 0.4952 GB Notification: Performance of SimCode: time 8.92e-07/3.126, allocations: 0 / 1.18 GB, free: 35.8 MB / 0.4952 GB Notification: Performance of Templates: time 0.07355/3.199, allocations: 40.69 MB / 1.22 GB, free: 11.58 MB / 0.5108 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