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.001064/0.001064, allocations: 179.6 kB / 14.15 MB, free: 1.176 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.259/1.259, allocations: 221.3 MB / 236 MB, free: 2.934 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.0008723/0.0008725, allocations: 88.06 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1914/0.1914, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.568e-05/2.578e-05, allocations: 4.219 kB / 451.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1193, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8564/0.9757, allocations: 336 MB / 0.8299 GB, free: 71.91 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.976, allocations: 88.56 kB / 0.8299 GB, free: 71.86 MB / 0.5105 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.294/2.27, allocations: 340.7 MB / 1.163 GB, free: 77.71 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.583e-06/2.27, allocations: 0 / 1.163 GB, free: 77.71 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001018/2.27, allocations: 33.25 kB / 1.163 GB, free: 77.71 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.004339/2.274, allocations: 1.787 MB / 1.164 GB, free: 76.96 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/2.275, allocations: 7.875 kB / 1.164 GB, free: 76.96 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007153/2.275, allocations: 183.9 kB / 1.165 GB, free: 76.89 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00203/2.277, allocations: 1.055 MB / 1.166 GB, free: 76.61 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.486e-05/2.277, allocations: 79.44 kB / 1.166 GB, free: 76.61 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/2.278, allocations: 93.94 kB / 1.166 GB, free: 76.61 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/2.28, allocations: 1.457 MB / 1.167 GB, free: 76.31 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/2.28, allocations: 3 kB / 1.167 GB, free: 76.31 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/2.28, allocations: 45.62 kB / 1.167 GB, free: 76.31 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.635e-05/2.28, allocations: 53.91 kB / 1.167 GB, free: 76.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/2.281, allocations: 1.308 MB / 1.169 GB, free: 76.3 MB / 0.5261 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.007364/2.289, allocations: 6.575 MB / 1.175 GB, free: 72.68 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007399/2.29, allocations: 0.5323 MB / 1.176 GB, free: 72.66 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004134/2.29, allocations: 335.4 kB / 1.176 GB, free: 72.65 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01787/2.308, allocations: 17.06 MB / 1.193 GB, free: 56.09 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006481/2.309, allocations: 469.3 kB / 1.193 GB, free: 55.92 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=49): time 2.284e-06/2.309, allocations: 0 / 1.193 GB, free: 55.92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.001272/2.31, allocations: 0.7014 MB / 1.194 GB, free: 55.78 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/2.31, allocations: 0.542 MB / 1.194 GB, free: 55.12 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/2.311, allocations: 1.133 MB / 1.195 GB, free: 54.95 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.114e-05/2.312, allocations: 36.48 kB / 1.195 GB, free: 54.91 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004499/2.312, allocations: 0.7166 MB / 1.196 GB, free: 54.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/2.312, allocations: 177.2 kB / 1.196 GB, free: 54.49 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.996e-05/2.312, allocations: 22.67 kB / 1.196 GB, free: 54.49 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.402e-05/2.312, allocations: 349.3 kB / 1.197 GB, free: 54.19 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004543/2.313, allocations: 319.3 kB / 1.197 GB, free: 54.19 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007398/2.313, allocations: 0.8609 MB / 1.198 GB, free: 53.54 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006289/2.314, allocations: 493.5 kB / 1.198 GB, free: 53.49 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/2.314, allocations: 3.875 kB / 1.198 GB, free: 53.49 MB / 0.5261 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001802/2.316, allocations: 1.278 MB / 1.199 GB, free: 53.35 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001027/2.317, allocations: 5.576 MB / 1.205 GB, free: 47.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/2.317, allocations: 17.56 kB / 1.205 GB, free: 47.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.444e-05/2.317, allocations: 21.75 kB / 1.205 GB, free: 47.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002082/2.319, allocations: 392.7 kB / 1.205 GB, free: 47.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005786/2.32, allocations: 1.276 MB / 1.207 GB, free: 46.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/2.321, allocations: 185.8 kB / 1.207 GB, free: 46.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/2.321, allocations: 66.66 kB / 1.207 GB, free: 46.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/2.321, allocations: 3.656 kB / 1.207 GB, free: 46.34 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001634/2.323, allocations: 1.095 MB / 1.208 GB, free: 46.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/2.323, allocations: 15.5 kB / 1.208 GB, free: 46.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/2.323, allocations: 23.19 kB / 1.208 GB, free: 46.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008712/2.324, allocations: 280.3 kB / 1.208 GB, free: 46.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002255/2.324, allocations: 0.6266 MB / 1.209 GB, free: 45.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/2.325, allocations: 160.5 kB / 1.209 GB, free: 45.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.663e-05/2.325, allocations: 63.22 kB / 1.209 GB, free: 45.64 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 () * 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.0003339/2.326, allocations: 216.1 kB / 1.209 GB, free: 45.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/2.326, allocations: 135.5 kB / 1.209 GB, free: 45.43 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002163/2.328, allocations: 1.381 MB / 1.211 GB, free: 45.29 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/2.328, allocations: 8.031 kB / 1.211 GB, free: 45.29 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/2.328, allocations: 7.844 kB / 1.211 GB, free: 45.29 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/2.328, allocations: 13.53 kB / 1.211 GB, free: 45.29 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002764/2.331, allocations: 2.145 MB / 1.213 GB, free: 44.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/2.331, allocations: 0 / 1.213 GB, free: 44.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001677/2.333, allocations: 265.9 kB / 1.213 GB, free: 44.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/2.333, allocations: 3.531 kB / 1.213 GB, free: 44.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.72e-05/2.333, allocations: 26.97 kB / 1.213 GB, free: 44.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004217/2.333, allocations: 1.231 MB / 1.214 GB, free: 43.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/2.333, allocations: 2.531 kB / 1.214 GB, free: 43.73 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/2.335, allocations: 1.052 MB / 1.215 GB, free: 43.43 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004679/2.335, allocations: 268 kB / 1.216 GB, free: 43.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/2.335, allocations: 20.44 kB / 1.216 GB, free: 43.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007101/2.336, allocations: 59 kB / 1.216 GB, free: 43.24 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.699e-05/2.336, allocations: 59.52 kB / 1.216 GB, free: 43.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.517e-05/2.336, allocations: 26.08 kB / 1.216 GB, free: 43.24 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001068/2.337, allocations: 0.8902 MB / 1.217 GB, free: 43.12 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.51e-07/2.337, allocations: 0 / 1.217 GB, free: 43.12 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004123/2.341, allocations: 1.404 MB / 1.218 GB, free: 42.84 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) * 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.003206/2.345, allocations: 1.334 MB / 1.219 GB, free: 42.46 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004414/2.349, allocations: 1.832 MB / 1.221 GB, free: 42.32 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.8e-06/2.349, allocations: 0 / 1.221 GB, free: 42.32 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002535/2.352, allocations: 0.666 MB / 1.222 GB, free: 42.25 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003361/2.355, allocations: 0.5482 MB / 1.222 GB, free: 42.24 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002831/2.358, allocations: 1.586 MB / 1.224 GB, free: 41.79 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005058/2.358, allocations: 1.204 MB / 1.225 GB, free: 41.09 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001928/2.36, allocations: 0.5508 MB / 1.226 GB, free: 41.06 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002335/2.36, allocations: 118.6 kB / 1.226 GB, free: 41.05 MB / 0.5261 GB Notification: Performance of SimCode: time 1.142e-06/2.36, allocations: 0 / 1.226 GB, free: 41.05 MB / 0.5261 GB Notification: Performance of Templates: time 0.0549/2.415, allocations: 39.36 MB / 1.264 GB, free: 38.73 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/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