Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001355/0.001355, allocations: 197.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.528/1.528, allocations: 226.5 MB / 245.4 MB, free: 6.449 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009218/0.0009215, allocations: 96.03 kB / 297.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4423/0.4423, allocations: 44.82 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.0003958, allocations: 15.98 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4305/0.431, allocations: 62.96 MB / 0.5184 GB, free: 37.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6735/1.105, allocations: 337.1 MB / 0.8476 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/1.105, allocations: 93.45 kB / 0.8477 GB, free: 14.32 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.453/2.558, allocations: 338.1 MB / 1.178 GB, free: 89.35 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.366e-06/2.558, allocations: 0 / 1.178 GB, free: 89.35 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001187/2.558, allocations: 37.84 kB / 1.178 GB, free: 89.34 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.005655/2.564, allocations: 1.956 MB / 1.18 GB, free: 88.24 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.228e-05/2.564, allocations: 10.59 kB / 1.18 GB, free: 88.24 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008811/2.565, allocations: 179.9 kB / 1.18 GB, free: 88.16 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002417/2.567, allocations: 1.099 MB / 1.181 GB, free: 87.77 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.09e-05/2.568, allocations: 77.31 kB / 1.181 GB, free: 87.77 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/2.568, allocations: 92.09 kB / 1.181 GB, free: 87.77 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002441/2.57, allocations: 1.482 MB / 1.183 GB, free: 87.45 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.643e-05/2.57, allocations: 9.703 kB / 1.183 GB, free: 87.45 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/2.57, allocations: 51.22 kB / 1.183 GB, free: 87.45 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.477e-05/2.571, allocations: 55.16 kB / 1.183 GB, free: 87.45 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002177/2.573, allocations: 1.331 MB / 1.184 GB, free: 87.04 MB / 0.5261 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.009561/2.582, allocations: 6.454 MB / 1.19 GB, free: 82.29 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008817/2.583, allocations: 0.5363 MB / 1.191 GB, free: 82.07 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000493/2.584, allocations: 342.6 kB / 1.191 GB, free: 81.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02049/2.604, allocations: 16.86 MB / 1.208 GB, free: 64.94 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007188/2.605, allocations: 484 kB / 1.208 GB, free: 64.64 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=49): time 2.254e-06/2.605, allocations: 0 / 1.208 GB, free: 64.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.001887/2.607, allocations: 0.9151 MB / 1.209 GB, free: 64.25 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003079/2.607, allocations: 0.5467 MB / 1.21 GB, free: 63.59 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001992/2.609, allocations: 1.301 MB / 1.211 GB, free: 63.06 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.453e-05/2.609, allocations: 37.3 kB / 1.211 GB, free: 63.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005726/2.61, allocations: 0.7117 MB / 1.212 GB, free: 62.46 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/2.61, allocations: 170.8 kB / 1.212 GB, free: 62.33 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/2.61, allocations: 22.97 kB / 1.212 GB, free: 62.32 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001135/2.61, allocations: 347.6 kB / 1.212 GB, free: 62 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005086/2.611, allocations: 327.1 kB / 1.212 GB, free: 61.88 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009193/2.612, allocations: 0.8761 MB / 1.213 GB, free: 61.07 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/2.613, allocations: 1.163 MB / 1.214 GB, free: 60.15 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.886e-06/2.613, allocations: 3.312 kB / 1.214 GB, free: 60.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002268/2.615, allocations: 1.305 MB / 1.216 GB, free: 59.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004241/2.616, allocations: 0.5181 MB / 1.216 GB, free: 58.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.466e-05/2.616, allocations: 15.47 kB / 1.216 GB, free: 58.94 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.792e-05/2.616, allocations: 23.56 kB / 1.216 GB, free: 58.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/2.618, allocations: 394.6 kB / 1.217 GB, free: 58.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007241/2.619, allocations: 1.266 MB / 1.218 GB, free: 57.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/2.62, allocations: 198.4 kB / 1.218 GB, free: 57.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/2.621, allocations: 64.45 kB / 1.218 GB, free: 57.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/2.621, allocations: 5.219 kB / 1.218 GB, free: 57.57 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001906/2.622, allocations: 1.114 MB / 1.219 GB, free: 57.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/2.623, allocations: 16.81 kB / 1.219 GB, free: 57.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/2.623, allocations: 21.22 kB / 1.219 GB, free: 57.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/2.624, allocations: 283.2 kB / 1.22 GB, free: 57.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003728/2.624, allocations: 0.6218 MB / 1.22 GB, free: 56.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/2.626, allocations: 151 kB / 1.22 GB, free: 56.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/2.626, allocations: 72.09 kB / 1.22 GB, free: 56.4 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 () * 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.00104/2.627, allocations: 432.7 kB / 1.221 GB, free: 56.07 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003025/2.627, allocations: 137.7 kB / 1.221 GB, free: 56 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002381/2.63, allocations: 1.386 MB / 1.222 GB, free: 55.46 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-05/2.63, allocations: 19.36 kB / 1.222 GB, free: 55.46 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/2.63, allocations: 0 / 1.222 GB, free: 55.46 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/2.63, allocations: 7.594 kB / 1.222 GB, free: 55.46 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003602/2.633, allocations: 2.141 MB / 1.224 GB, free: 54.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/2.633, allocations: 0 / 1.224 GB, free: 54.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00181/2.635, allocations: 261.3 kB / 1.225 GB, free: 54.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.277e-05/2.635, allocations: 3.969 kB / 1.225 GB, free: 54.44 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.043e-05/2.635, allocations: 34 kB / 1.225 GB, free: 54.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005787/2.636, allocations: 1.227 MB / 1.226 GB, free: 53.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/2.636, allocations: 3.938 kB / 1.226 GB, free: 53.21 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/2.637, allocations: 1.051 MB / 1.227 GB, free: 52.69 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005705/2.638, allocations: 252.8 kB / 1.227 GB, free: 52.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/2.638, allocations: 22.66 kB / 1.227 GB, free: 52.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007163/2.639, allocations: 60.73 kB / 1.227 GB, free: 52.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/2.639, allocations: 50.25 kB / 1.227 GB, free: 52.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-05/2.639, allocations: 35.45 kB / 1.227 GB, free: 52.44 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001339/2.64, allocations: 0.9069 MB / 1.228 GB, free: 52.07 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/2.64, allocations: 0 / 1.228 GB, free: 52.07 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004979/2.645, allocations: 1.41 MB / 1.23 GB, free: 51.68 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) * 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.003698/2.649, allocations: 1.359 MB / 1.231 GB, free: 50.77 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004568/2.654, allocations: 1.828 MB / 1.233 GB, free: 49.14 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/2.654, allocations: 2 kB / 1.233 GB, free: 49.14 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002516/2.656, allocations: 0.6707 MB / 1.233 GB, free: 48.55 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003173/2.659, allocations: 0.5681 MB / 1.234 GB, free: 48.13 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003659/2.663, allocations: 2.583 MB / 1.236 GB, free: 45.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006483/2.664, allocations: 1.176 MB / 1.238 GB, free: 44.71 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001937/2.666, allocations: 471.7 kB / 1.238 GB, free: 44.34 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/2.666, allocations: 139.4 kB / 1.238 GB, free: 44.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.503e-06/2.666, allocations: 3.938 kB / 1.238 GB, free: 44.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.06018/2.726, allocations: 37.85 MB / 1.275 GB, free: 7.176 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestWallFriction/TestWallFriction.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches