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.001333/0.001333, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.263/1.263, allocations: 227.2 MB / 245 MB, free: 5.777 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008995/0.0008995, allocations: 109.1 kB / 297.3 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2856/0.2856, allocations: 45.23 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002985/0.0002985, allocations: 8 kB / 468.4 MB, free: 7.723 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3063, allocations: 63.26 MB / 0.5192 GB, free: 37.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5785/0.8849, allocations: 337.1 MB / 0.8484 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.8852, allocations: 86.7 kB / 0.8485 GB, free: 11.15 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.105/1.99, allocations: 341.1 MB / 1.182 GB, free: 88.19 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.404e-06/1.99, allocations: 1.906 kB / 1.182 GB, free: 88.19 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.065e-05/1.99, allocations: 34.25 kB / 1.182 GB, free: 88.18 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.003962/1.994, allocations: 1.964 MB / 1.184 GB, free: 86.95 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/1.995, allocations: 13.02 kB / 1.184 GB, free: 86.95 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005573/1.995, allocations: 180.4 kB / 1.184 GB, free: 86.87 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/1.997, allocations: 1.069 MB / 1.185 GB, free: 86.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.177e-05/1.997, allocations: 70 kB / 1.185 GB, free: 86.27 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/1.997, allocations: 99.42 kB / 1.185 GB, free: 86.23 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/1.999, allocations: 1.481 MB / 1.186 GB, free: 85.48 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/1.999, allocations: 3.938 kB / 1.186 GB, free: 85.48 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/1.999, allocations: 45.47 kB / 1.186 GB, free: 85.45 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.206e-05/1.999, allocations: 59.8 kB / 1.186 GB, free: 85.44 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001639/2.001, allocations: 1.335 MB / 1.188 GB, free: 84.95 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.006331/2.007, allocations: 6.553 MB / 1.194 GB, free: 80.17 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006818/2.008, allocations: 0.5411 MB / 1.195 GB, free: 79.94 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01634/2.024, allocations: 16.93 MB / 1.211 GB, free: 62.93 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005545/2.025, allocations: 489.5 kB / 1.212 GB, free: 62.64 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=49): time 2.144e-06/2.025, allocations: 0 / 1.212 GB, free: 62.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.001376/2.026, allocations: 0.9886 MB / 1.213 GB, free: 62.16 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/2.026, allocations: 0.5416 MB / 1.213 GB, free: 61.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/2.027, allocations: 1.15 MB / 1.214 GB, free: 61.03 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.825e-05/2.028, allocations: 40.64 kB / 1.214 GB, free: 60.99 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004257/2.028, allocations: 0.7074 MB / 1.215 GB, free: 60.43 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/2.028, allocations: 175.8 kB / 1.215 GB, free: 60.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/2.028, allocations: 19.72 kB / 1.215 GB, free: 60.29 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.312e-05/2.028, allocations: 345.8 kB / 1.216 GB, free: 59.96 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004407/2.029, allocations: 331.3 kB / 1.216 GB, free: 59.85 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006718/2.029, allocations: 0.8681 MB / 1.217 GB, free: 59.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005684/2.03, allocations: 491.2 kB / 1.217 GB, free: 58.82 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/2.03, allocations: 3.219 kB / 1.217 GB, free: 58.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001674/2.032, allocations: 1.303 MB / 1.218 GB, free: 58.19 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009313/2.033, allocations: 5.583 MB / 1.224 GB, free: 52.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/2.033, allocations: 13.31 kB / 1.224 GB, free: 52.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.054e-05/2.033, allocations: 22.81 kB / 1.224 GB, free: 52.26 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001942/2.035, allocations: 393.1 kB / 1.224 GB, free: 52.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004988/2.035, allocations: 1.272 MB / 1.226 GB, free: 50.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/2.036, allocations: 190.7 kB / 1.226 GB, free: 50.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.964e-05/2.036, allocations: 65.95 kB / 1.226 GB, free: 50.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.744e-06/2.036, allocations: 2.906 kB / 1.226 GB, free: 50.77 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001425/2.038, allocations: 1.117 MB / 1.227 GB, free: 50.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/2.038, allocations: 12.22 kB / 1.227 GB, free: 50.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/2.038, allocations: 27.12 kB / 1.227 GB, free: 50.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008601/2.039, allocations: 289 kB / 1.227 GB, free: 50.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002335/2.039, allocations: 0.6196 MB / 1.228 GB, free: 49.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/2.04, allocations: 152.8 kB / 1.228 GB, free: 49.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.827e-05/2.04, allocations: 61.77 kB / 1.228 GB, free: 49.42 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.0007474/2.041, allocations: 441.1 kB / 1.228 GB, free: 49.07 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/2.041, allocations: 134.5 kB / 1.229 GB, free: 49 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/2.043, allocations: 1.394 MB / 1.23 GB, free: 48.23 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/2.043, allocations: 5.969 kB / 1.23 GB, free: 48.23 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/2.043, allocations: 0 / 1.23 GB, free: 48.23 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/2.043, allocations: 11.89 kB / 1.23 GB, free: 48.22 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003028/2.046, allocations: 2.164 MB / 1.232 GB, free: 46.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/2.046, allocations: 0 / 1.232 GB, free: 46.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001816/2.048, allocations: 263.7 kB / 1.232 GB, free: 46.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/2.048, allocations: 4 kB / 1.232 GB, free: 46.04 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.698e-05/2.048, allocations: 23.98 kB / 1.232 GB, free: 46.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004448/2.049, allocations: 1.234 MB / 1.234 GB, free: 44.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/2.049, allocations: 4.031 kB / 1.234 GB, free: 44.73 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/2.05, allocations: 1.072 MB / 1.235 GB, free: 43.62 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004048/2.05, allocations: 263 kB / 1.235 GB, free: 43.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/2.051, allocations: 27.8 kB / 1.235 GB, free: 43.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006983/2.051, allocations: 63.89 kB / 1.235 GB, free: 43.26 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/2.051, allocations: 48.59 kB / 1.235 GB, free: 43.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.664e-05/2.052, allocations: 27.98 kB / 1.235 GB, free: 43.19 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001044/2.053, allocations: 0.9026 MB / 1.236 GB, free: 42.29 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/2.053, allocations: 3.938 kB / 1.236 GB, free: 42.28 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003955/2.057, allocations: 1.412 MB / 1.237 GB, free: 40.87 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.00234/2.059, allocations: 1.352 MB / 1.239 GB, free: 39.64 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003891/2.063, allocations: 1.808 MB / 1.24 GB, free: 37.81 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/2.063, allocations: 4 kB / 1.24 GB, free: 37.81 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002599/2.065, allocations: 0.6673 MB / 1.241 GB, free: 37.13 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00226/2.068, allocations: 0.5594 MB / 1.242 GB, free: 36.58 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002925/2.071, allocations: 2.585 MB / 1.244 GB, free: 33.97 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/2.071, allocations: 1.206 MB / 1.245 GB, free: 32.73 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001453/2.073, allocations: 478 kB / 1.246 GB, free: 32.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000257/2.073, allocations: 139.4 kB / 1.246 GB, free: 32.16 MB / 0.5261 GB Notification: Performance of SimCode: time 5.11e-07/2.073, allocations: 0 / 1.246 GB, free: 32.16 MB / 0.5261 GB Notification: Performance of Templates: time 0.04356/2.116, allocations: 36.55 MB / 1.282 GB, free: 12.36 MB / 0.5417 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