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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 96.92 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00221/0.00221, allocations: 183.4 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 223.2 MB / 241.8 MB, free: 14.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1894/0.1894, allocations: 44.22 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003041/0.0003041, allocations: 12 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1322, allocations: 61.93 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction): time 0.03016/0.1624, allocations: 30.31 MB / 0.49 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01932/0.1818, allocations: 14.08 MB / 0.5038 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002021/0.1838, allocations: 51.56 kB / 0.5038 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002208/0.186, allocations: 0.5247 MB / 0.5043 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3069/0.493, allocations: 1.936 MB / 0.5062 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009542/0.5025, allocations: 2.79 MB / 0.5089 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006138/0.5087, allocations: 2.123 MB / 0.511 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002325/0.511, allocations: 0.8313 MB / 0.5118 GB, free: 12.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004296/0.5153, allocations: 1.132 MB / 0.5129 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002741/0.5181, allocations: 0.8662 MB / 0.5138 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003811/0.5185, allocations: 63.31 kB / 0.5138 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008689/0.5272, allocations: 2.734 MB / 0.5165 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009011/0.5281, allocations: 333.6 kB / 0.5168 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001102/0.5293, allocations: 310.8 kB / 0.5171 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006582/0.5359, allocations: 2.636 MB / 0.5197 GB, free: 11.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.5359, allocations: 0 / 0.5197 GB, free: 11.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.756e-06/0.5359, allocations: 0 / 0.5197 GB, free: 11.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.214e-05/0.5359, allocations: 3.094 kB / 0.5197 GB, free: 11.99 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.004451/0.5404, allocations: 1.875 MB / 0.5215 GB, free: 10.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.5405, allocations: 14.03 kB / 0.5215 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007859/0.5413, allocations: 178.1 kB / 0.5217 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001766/0.543, allocations: 1.004 MB / 0.5227 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.426e-05/0.5431, allocations: 71.44 kB / 0.5228 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.5433, allocations: 97.72 kB / 0.5229 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002251/0.5455, allocations: 1.436 MB / 0.5243 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/0.5456, allocations: 7.125 kB / 0.5243 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/0.5457, allocations: 47.88 kB / 0.5243 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.138e-05/0.5458, allocations: 56.05 kB / 0.5244 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001965/0.5477, allocations: 1.343 MB / 0.5257 GB, free: 10.2 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.007935/0.5557, allocations: 6.698 MB / 0.5322 GB, free: 5.887 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007962/0.5565, allocations: 0.5575 MB / 0.5328 GB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01981/0.5763, allocations: 15.39 MB / 0.5478 GB, free: 5.785 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008554/0.5773, allocations: 487.9 kB / 0.5483 GB, free: 5.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=49): time 2.534e-06/0.5773, allocations: 2.875 kB / 0.5483 GB, free: 5.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.001824/0.5791, allocations: 0.9947 MB / 0.5492 GB, free: 5.184 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002425/0.5794, allocations: 0.5393 MB / 0.5498 GB, free: 4.527 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/0.581, allocations: 1.273 MB / 0.551 GB, free: 4.145 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.683e-05/0.581, allocations: 36.39 kB / 0.551 GB, free: 4.113 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005235/0.5816, allocations: 0.7115 MB / 0.5517 GB, free: 3.738 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/0.5818, allocations: 175.7 kB / 0.5519 GB, free: 3.621 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/0.5818, allocations: 21.53 kB / 0.5519 GB, free: 3.621 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.582, allocations: 348 kB / 0.5522 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005576/0.5825, allocations: 332 kB / 0.5526 GB, free: 3.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.5837, allocations: 0.891 MB / 0.5534 GB, free: 2.488 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007381/0.5844, allocations: 498.2 kB / 0.5539 GB, free: 2.398 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/0.5844, allocations: 3.312 kB / 0.5539 GB, free: 2.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00228/0.5867, allocations: 1.326 MB / 0.5552 GB, free: 2.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.002139/0.5889, allocations: 5.843 MB / 0.5609 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-05/0.5889, allocations: 13.25 kB / 0.5609 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.547e-05/0.589, allocations: 29.75 kB / 0.561 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/0.5906, allocations: 354.7 kB / 0.5613 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007885/0.5914, allocations: 1.248 MB / 0.5625 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/0.5931, allocations: 183.1 kB / 0.5627 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.5933, allocations: 68.8 kB / 0.5627 GB, free: 10.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.5933, allocations: 4 kB / 0.5628 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001789/0.5951, allocations: 1.149 MB / 0.5639 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.5951, allocations: 16 kB / 0.5639 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.5951, allocations: 20.09 kB / 0.5639 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000984/0.5961, allocations: 294.7 kB / 0.5642 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000398/0.5965, allocations: 0.6202 MB / 0.5648 GB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.598, allocations: 150.3 kB / 0.5649 GB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/0.5982, allocations: 67.88 kB / 0.565 GB, free: 8.582 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.001061/0.5993, allocations: 433.4 kB / 0.5654 GB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003352/0.5996, allocations: 142.4 kB / 0.5656 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00284/0.6024, allocations: 1.442 MB / 0.567 GB, free: 6.996 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.379e-05/0.6025, allocations: 11.98 kB / 0.567 GB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.6025, allocations: 0 / 0.567 GB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.6025, allocations: 3.984 kB / 0.567 GB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003674/0.6062, allocations: 2.232 MB / 0.5692 GB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.6062, allocations: 4 kB / 0.5692 GB, free: 5.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/0.6075, allocations: 253.3 kB / 0.5694 GB, free: 5.121 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.227e-05/0.6076, allocations: 4 kB / 0.5694 GB, free: 5.117 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.172e-05/0.6076, allocations: 25.98 kB / 0.5694 GB, free: 5.102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006221/0.6082, allocations: 1.187 MB / 0.5706 GB, free: 3.887 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6083, allocations: 4.188 kB / 0.5706 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/0.6098, allocations: 1.084 MB / 0.5717 GB, free: 3.035 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005334/0.6103, allocations: 272.8 kB / 0.5719 GB, free: 2.781 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/0.6106, allocations: 24.38 kB / 0.5719 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006805/0.6112, allocations: 53.56 kB / 0.572 GB, free: 2.727 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.6114, allocations: 54.89 kB / 0.572 GB, free: 2.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.226e-05/0.6114, allocations: 33.3 kB / 0.5721 GB, free: 2.652 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001155/0.6126, allocations: 0.8837 MB / 0.5729 GB, free: 2.008 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6126, allocations: 2.625 kB / 0.5729 GB, free: 2.008 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004115/0.6167, allocations: 1.283 MB / 0.5742 GB, free: 0.7969 MB / 414.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.002922/0.6196, allocations: 1.005 MB / 0.5752 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00392/0.6236, allocations: 1.797 MB / 0.5769 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.6236, allocations: 3.469 kB / 0.5769 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001818/0.6254, allocations: 0.6593 MB / 0.5776 GB, free: 14.06 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003297/0.6287, allocations: 0.5652 MB / 0.5781 GB, free: 13.61 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004083/0.6329, allocations: 2.583 MB / 0.5806 GB, free: 11.22 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008196/0.6337, allocations: 1.208 MB / 0.5818 GB, free: 10 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002176/0.6359, allocations: 0.5033 MB / 0.5823 GB, free: 9.512 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003364/0.6362, allocations: 139.1 kB / 0.5825 GB, free: 9.383 MB / 430.1 MB Notification: Performance of SimCode: time 1.162e-06/0.6362, allocations: 4 kB / 0.5825 GB, free: 9.379 MB / 430.1 MB Notification: Performance of Templates: time 0.0575/0.6937, allocations: 35.71 MB / 0.6173 GB, free: 6.152 MB / 462.1 MB 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