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.0009799/0.0009799, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001163/0.001163, allocations: 89.64 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1888/0.1888, allocations: 45.15 MB / 383.8 MB, free: 264 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.21e-05/1.212e-05, allocations: 0 / 453.2 MB, free: 75.81 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1143, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8848/0.9991, allocations: 336.4 MB / 0.8329 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.9994, allocations: 83.95 kB / 0.833 GB, free: 137 MB / 0.5261 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 0.9247/1.924, allocations: 333.7 MB / 1.159 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.964e-06/1.924, allocations: 0 / 1.159 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001564/1.924, allocations: 39.92 kB / 1.159 GB, free: 12.21 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.00544/1.93, allocations: 1.786 MB / 1.161 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/1.93, allocations: 8.031 kB / 1.161 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/1.931, allocations: 186 kB / 1.161 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002572/1.934, allocations: 1.054 MB / 1.162 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.578e-05/1.934, allocations: 32 kB / 1.162 GB, free: 9.055 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002856/1.934, allocations: 60 kB / 1.162 GB, free: 8.996 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002142/1.936, allocations: 1.203 MB / 1.163 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002057/1.938, allocations: 1.298 MB / 1.164 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/1.938, allocations: 7.938 kB / 1.164 GB, free: 6.387 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001607/1.938, allocations: 7.938 kB / 1.164 GB, free: 6.379 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.929e-05/1.938, allocations: 49.98 kB / 1.164 GB, free: 6.328 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.3256/2.264, allocations: 6.35 MB / 1.171 GB, free: 69.85 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009151/2.265, allocations: 0.5086 MB / 1.171 GB, free: 69.82 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004284/2.265, allocations: 318.9 kB / 1.171 GB, free: 69.82 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.017/2.282, allocations: 17 MB / 1.188 GB, free: 53.32 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005081/2.283, allocations: 462.4 kB / 1.189 GB, free: 53.14 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=49): time 2.084e-06/2.283, allocations: 0 / 1.189 GB, free: 53.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.00553/2.289, allocations: 1.24 MB / 1.19 GB, free: 53.11 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001551/2.289, allocations: 0.5501 MB / 1.19 GB, free: 52.45 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/2.29, allocations: 0.8899 MB / 1.191 GB, free: 52.31 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.845e-05/2.29, allocations: 29.52 kB / 1.191 GB, free: 52.28 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005812/2.291, allocations: 0.7308 MB / 1.192 GB, free: 51.99 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/2.291, allocations: 172.3 kB / 1.192 GB, free: 51.91 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/2.291, allocations: 0 / 1.192 GB, free: 51.91 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.869e-05/2.291, allocations: 352.2 kB / 1.192 GB, free: 51.61 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004662/2.292, allocations: 301.2 kB / 1.193 GB, free: 51.61 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008817/2.292, allocations: 0.8349 MB / 1.193 GB, free: 50.96 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005973/2.298, allocations: 1.194 MB / 1.195 GB, free: 50.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-05/2.298, allocations: 5.156 kB / 1.195 GB, free: 50.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.007525/2.306, allocations: 1.893 MB / 1.197 GB, free: 50.87 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.00105/2.307, allocations: 5.527 MB / 1.202 GB, free: 45.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.56e-05/2.307, allocations: 16.66 kB / 1.202 GB, free: 45.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.394e-05/2.307, allocations: 22.03 kB / 1.202 GB, free: 45.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00205/2.309, allocations: 388.6 kB / 1.202 GB, free: 45.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/2.31, allocations: 1.368 MB / 1.204 GB, free: 43.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/2.312, allocations: 145.4 kB / 1.204 GB, free: 43.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/2.312, allocations: 65.55 kB / 1.204 GB, free: 43.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/2.312, allocations: 6.875 kB / 1.204 GB, free: 43.91 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005396/2.317, allocations: 1.49 MB / 1.205 GB, free: 43.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.658e-05/2.317, allocations: 17.88 kB / 1.205 GB, free: 43.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.089e-05/2.317, allocations: 26.3 kB / 1.205 GB, free: 43.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009909/2.318, allocations: 281.4 kB / 1.206 GB, free: 43.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003549/2.319, allocations: 0.6447 MB / 1.206 GB, free: 43.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/2.32, allocations: 110.8 kB / 1.206 GB, free: 43.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/2.32, allocations: 61.97 kB / 1.206 GB, free: 43.28 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.0004419/2.321, allocations: 181.5 kB / 1.207 GB, free: 43.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002639/2.321, allocations: 122.5 kB / 1.207 GB, free: 43.08 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005559/2.327, allocations: 1.631 MB / 1.208 GB, free: 43 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-05/2.327, allocations: 13.12 kB / 1.208 GB, free: 43 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/2.327, allocations: 2.234 kB / 1.208 GB, free: 43 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.949e-05/2.327, allocations: 6.719 kB / 1.208 GB, free: 43 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007724/2.334, allocations: 2.305 MB / 1.211 GB, free: 42.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.198e-06/2.334, allocations: 5.828 kB / 1.211 GB, free: 42.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0017/2.336, allocations: 266.9 kB / 1.211 GB, free: 42.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.278e-06/2.336, allocations: 2.75 kB / 1.211 GB, free: 42.69 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.068e-05/2.336, allocations: 18.16 kB / 1.211 GB, free: 42.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/2.337, allocations: 1.322 MB / 1.212 GB, free: 41.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/2.337, allocations: 0 / 1.212 GB, free: 41.52 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00405/2.341, allocations: 1.308 MB / 1.213 GB, free: 41.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005089/2.342, allocations: 245 kB / 1.214 GB, free: 41.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003095/2.342, allocations: 12.91 kB / 1.214 GB, free: 41.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007943/2.343, allocations: 42.64 kB / 1.214 GB, free: 41.11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/2.343, allocations: 52.48 kB / 1.214 GB, free: 41.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.276e-05/2.343, allocations: 30.05 kB / 1.214 GB, free: 41.11 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001076/2.344, allocations: 0.6885 MB / 1.214 GB, free: 41 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/2.344, allocations: 2.156 kB / 1.214 GB, free: 41 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004313/2.349, allocations: 1.399 MB / 1.216 GB, free: 40.96 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.003163/2.352, allocations: 1.339 MB / 1.217 GB, free: 40.86 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004044/2.356, allocations: 1.725 MB / 1.219 GB, free: 40.71 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/2.356, allocations: 3.938 kB / 1.219 GB, free: 40.71 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002429/2.358, allocations: 0.6414 MB / 1.219 GB, free: 40.64 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002122/2.36, allocations: 422.6 kB / 1.22 GB, free: 40.64 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/2.363, allocations: 1.499 MB / 1.221 GB, free: 40.21 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005244/2.363, allocations: 1.205 MB / 1.222 GB, free: 39.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001826/2.365, allocations: 0.4944 MB / 1.223 GB, free: 39.49 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002352/2.366, allocations: 108 kB / 1.223 GB, free: 39.48 MB / 0.5261 GB Notification: Performance of SimCode: time 4.81e-07/2.366, allocations: 2.281 kB / 1.223 GB, free: 39.48 MB / 0.5261 GB Notification: Performance of Templates: time 0.04748/2.413, allocations: 32.81 MB / 1.255 GB, free: 37.68 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/jenkins/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