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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0009458/0.0009457, allocations: 95.69 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00102/0.00102, allocations: 207.7 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.233/0.233, allocations: 45.91 MB / 344 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002941/0.0002941, allocations: 8 kB / 417.9 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1273, allocations: 63.46 MB / 481.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction): time 0.02917/0.1565, allocations: 30.34 MB / 0.4997 GB, free: 6.984 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2663/0.4229, allocations: 14.1 MB / 0.5135 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001854/0.4248, allocations: 47 kB / 0.5136 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001994/0.4268, allocations: 0.5259 MB / 0.5141 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006912/0.4338, allocations: 1.947 MB / 0.516 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009629/0.4434, allocations: 2.776 MB / 0.5187 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004943/0.4484, allocations: 2.132 MB / 0.5208 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001851/0.4502, allocations: 0.834 MB / 0.5216 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003305/0.4536, allocations: 1.127 MB / 0.5227 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002831/0.4564, allocations: 0.8698 MB / 0.5235 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004039/0.4568, allocations: 63.81 kB / 0.5236 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008985/0.4658, allocations: 2.743 MB / 0.5263 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009233/0.4668, allocations: 342.5 kB / 0.5266 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001144/0.4679, allocations: 305 kB / 0.5269 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006439/0.4744, allocations: 2.65 MB / 0.5295 GB, free: 10.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4744, allocations: 0 / 0.5295 GB, free: 10.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4744, allocations: 0 / 0.5295 GB, free: 10.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.932e-05/0.4745, allocations: 4 kB / 0.5295 GB, free: 10.96 MB / 382.1 MB 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.004272/0.4788, allocations: 1.874 MB / 0.5313 GB, free: 9.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.4788, allocations: 11.17 kB / 0.5313 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006933/0.4795, allocations: 185 kB / 0.5315 GB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/0.4812, allocations: 0.9998 MB / 0.5325 GB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.676e-05/0.4813, allocations: 75.31 kB / 0.5325 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.4814, allocations: 90.69 kB / 0.5326 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002064/0.4835, allocations: 1.441 MB / 0.534 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.4835, allocations: 9.312 kB / 0.534 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.4836, allocations: 43.75 kB / 0.5341 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.895e-05/0.4837, allocations: 56.09 kB / 0.5341 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/0.4857, allocations: 1.338 MB / 0.5354 GB, free: 8.289 MB / 382.1 MB 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.007826/0.4935, allocations: 6.699 MB / 0.542 GB, free: 3.629 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007886/0.4944, allocations: 0.5605 MB / 0.5425 GB, free: 3.527 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.021/0.5154, allocations: 16.09 MB / 0.5582 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006769/0.5161, allocations: 479.3 kB / 0.5587 GB, free: 2.477 MB / 398.1 MB Notification: Performance of pre-optimization done (n=49): time 1.654e-06/0.5161, allocations: 0 / 0.5587 GB, free: 2.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.001749/0.5179, allocations: 0.9944 MB / 0.5597 GB, free: 2.137 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004583/0.5183, allocations: 0.5431 MB / 0.5602 GB, free: 1.477 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.52, allocations: 1.271 MB / 0.5614 GB, free: 1.074 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.705e-05/0.5201, allocations: 36.83 kB / 0.5615 GB, free: 1.039 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006416/0.5207, allocations: 0.7104 MB / 0.5622 GB, free: 372 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001743/0.5209, allocations: 172.8 kB / 0.5623 GB, free: 200 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.231e-05/0.521, allocations: 20 kB / 0.5624 GB, free: 180 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002287/0.5212, allocations: 349.9 kB / 0.5627 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005248/0.5217, allocations: 338.4 kB / 0.563 GB, free: 15.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009699/0.5227, allocations: 0.8933 MB / 0.5639 GB, free: 14.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007165/0.5234, allocations: 499.4 kB / 0.5644 GB, free: 13.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.726e-05/0.5235, allocations: 4 kB / 0.5644 GB, free: 13.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002337/0.5258, allocations: 1.319 MB / 0.5657 GB, free: 12.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.003856/0.5297, allocations: 5.838 MB / 0.5714 GB, free: 6.277 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.134e-05/0.5297, allocations: 16 kB / 0.5714 GB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.764e-05/0.5298, allocations: 24 kB / 0.5714 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/0.5316, allocations: 355.4 kB / 0.5717 GB, free: 5.891 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008565/0.5325, allocations: 1.256 MB / 0.573 GB, free: 4.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.534, allocations: 182.4 kB / 0.5731 GB, free: 4.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/0.5342, allocations: 66.72 kB / 0.5732 GB, free: 4.348 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.5342, allocations: 6.031 kB / 0.5732 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001836/0.536, allocations: 1.159 MB / 0.5743 GB, free: 3.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.5361, allocations: 19.98 kB / 0.5744 GB, free: 3.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.5361, allocations: 20 kB / 0.5744 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009235/0.537, allocations: 287.5 kB / 0.5746 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003203/0.5374, allocations: 0.621 MB / 0.5753 GB, free: 2.215 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.5387, allocations: 155 kB / 0.5754 GB, free: 2.062 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.5388, allocations: 67.94 kB / 0.5755 GB, free: 1.996 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (133): * Single equations (assignments): 130 * 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.0006894/0.5395, allocations: 434.8 kB / 0.5759 GB, free: 1.555 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/0.5397, allocations: 138.4 kB / 0.576 GB, free: 1.418 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002432/0.5422, allocations: 1.435 MB / 0.5774 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.5422, allocations: 11.94 kB / 0.5774 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.5422, allocations: 4 kB / 0.5774 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.5422, allocations: 3.984 kB / 0.5774 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003271/0.5455, allocations: 2.23 MB / 0.5796 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/0.5455, allocations: 4 kB / 0.5796 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/0.5468, allocations: 262.3 kB / 0.5799 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/0.5468, allocations: 4 kB / 0.5799 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.865e-05/0.5468, allocations: 23.98 kB / 0.5799 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005802/0.5474, allocations: 1.192 MB / 0.5811 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5474, allocations: 0 / 0.5811 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.5489, allocations: 1.072 MB / 0.5821 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005459/0.5495, allocations: 278.9 kB / 0.5824 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002119/0.5497, allocations: 28.03 kB / 0.5824 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006721/0.5504, allocations: 47.95 kB / 0.5824 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.5505, allocations: 60.53 kB / 0.5825 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.92e-05/0.5506, allocations: 27.98 kB / 0.5825 GB, free: 10.63 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001126/0.5517, allocations: 0.8791 MB / 0.5834 GB, free: 9.754 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5517, allocations: 4 kB / 0.5834 GB, free: 9.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003902/0.5556, allocations: 1.284 MB / 0.5846 GB, free: 8.465 MB / 430.1 MB 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.003069/0.5587, allocations: 1.017 MB / 0.5856 GB, free: 7.527 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004053/0.5628, allocations: 1.795 MB / 0.5874 GB, free: 5.723 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/0.5628, allocations: 0 / 0.5874 GB, free: 5.723 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001817/0.5646, allocations: 0.6644 MB / 0.588 GB, free: 5.047 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003314/0.568, allocations: 0.5507 MB / 0.5886 GB, free: 4.496 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00457/0.5725, allocations: 2.597 MB / 0.5911 GB, free: 1.871 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/0.5736, allocations: 1.202 MB / 0.5923 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002282/0.5759, allocations: 0.5057 MB / 0.5928 GB, free: 152 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000393/0.5763, allocations: 139.4 kB / 0.5929 GB, free: 12 kB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5763, allocations: 0 / 0.5929 GB, free: 12 kB / 430.1 MB Notification: Performance of Templates: time 0.0666/0.6429, allocations: 35.62 MB / 0.6277 GB, free: 12.66 MB / 478.1 MB 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