Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001115/0.001115, allocations: 106.4 kB / 17.08 MB, free: 5.82 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.001019/0.001019, allocations: 194.2 kB / 18.02 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.203/0.203, allocations: 43.53 MB / 314.8 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 72.36 kB / 442.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.111, allocations: 57.79 MB / 0.4886 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction): time 0.03393/0.145, allocations: 35.39 MB / 0.5231 GB, free: 8.285 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2414/0.3864, allocations: 16.17 MB / 0.5389 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001548/0.388, allocations: 43.06 kB / 0.539 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001734/0.3898, allocations: 0.6644 MB / 0.5396 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006585/0.3964, allocations: 2.269 MB / 0.5418 GB, free: 3.266 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01017/0.4066, allocations: 3.588 MB / 0.5453 GB, free: 3.141 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006555/0.4132, allocations: 3.603 MB / 0.5488 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002039/0.4152, allocations: 1.012 MB / 0.5498 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003005/0.4183, allocations: 1.395 MB / 0.5512 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002167/0.4204, allocations: 1.234 MB / 0.5524 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002866/0.4207, allocations: 125.3 kB / 0.5525 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006845/0.4276, allocations: 2.98 MB / 0.5554 GB, free: 1.883 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005725/0.4282, allocations: 421.6 kB / 0.5558 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.4293, allocations: 0.8041 MB / 0.5566 GB, free: 1.594 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007279/0.4366, allocations: 3.816 MB / 0.5603 GB, free: 1.141 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4366, allocations: 3.656 kB / 0.5603 GB, free: 1.141 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4366, allocations: 0 / 0.5603 GB, free: 1.141 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.721e-05/0.4367, allocations: 0 / 0.5603 GB, free: 1.141 MB / 414.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.003924/0.4406, allocations: 2.16 MB / 0.5625 GB, free: 15.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.4407, allocations: 12.61 kB / 0.5625 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007393/0.4414, allocations: 186.8 kB / 0.5626 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/0.4431, allocations: 1.086 MB / 0.5637 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.76e-05/0.4431, allocations: 75.19 kB / 0.5638 GB, free: 15.08 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.4433, allocations: 98.39 kB / 0.5639 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00218/0.4455, allocations: 1.463 MB / 0.5653 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.4455, allocations: 6.938 kB / 0.5653 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/0.4456, allocations: 47.19 kB / 0.5653 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.477e-05/0.4457, allocations: 52.2 kB / 0.5654 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002029/0.4477, allocations: 1.345 MB / 0.5667 GB, free: 13.38 MB / 430.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.008176/0.4559, allocations: 6.557 MB / 0.5731 GB, free: 7.695 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009104/0.4569, allocations: 0.5745 MB / 0.5737 GB, free: 7.383 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005/0.4574, allocations: 354.1 kB / 0.574 GB, free: 7.199 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02161/0.479, allocations: 15.15 MB / 0.5888 GB, free: 6.777 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008472/0.4799, allocations: 491.7 kB / 0.5893 GB, free: 6.402 MB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 2.595e-06/0.4799, allocations: 0 / 0.5893 GB, free: 6.402 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.002088/0.482, allocations: 0.9181 MB / 0.5902 GB, free: 5.926 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003024/0.4823, allocations: 0.5441 MB / 0.5907 GB, free: 5.262 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002331/0.4847, allocations: 1.277 MB / 0.592 GB, free: 4.348 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.4848, allocations: 37.7 kB / 0.592 GB, free: 4.305 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006325/0.4854, allocations: 0.7245 MB / 0.5927 GB, free: 3.582 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.4856, allocations: 175.4 kB / 0.5929 GB, free: 3.414 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004351/0.4861, allocations: 270.6 kB / 0.5931 GB, free: 3.145 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.4862, allocations: 345.9 kB / 0.5935 GB, free: 2.801 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005665/0.4868, allocations: 349.9 kB / 0.5938 GB, free: 2.457 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.4878, allocations: 0.9097 MB / 0.5947 GB, free: 1.293 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/0.4893, allocations: 1.205 MB / 0.5959 GB, free: 15.88 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.4894, allocations: 8 kB / 0.5959 GB, free: 15.87 MB / 462.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002356/0.4917, allocations: 1.339 MB / 0.5972 GB, free: 14.51 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.598e-05/0.4918, allocations: 52.22 kB / 0.5972 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.241e-05/0.4918, allocations: 16.88 kB / 0.5972 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.18e-05/0.4918, allocations: 20.88 kB / 0.5973 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.4934, allocations: 355.5 kB / 0.5976 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007758/0.4942, allocations: 1.25 MB / 0.5988 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.4955, allocations: 154.3 kB / 0.599 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.4956, allocations: 75.91 kB / 0.599 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008449/0.4965, allocations: 0.5337 MB / 0.5996 GB, free: 12.02 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009017/0.4974, allocations: 0.8844 MB / 0.6004 GB, free: 10.88 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001332/0.4987, allocations: 1.158 MB / 0.6015 GB, free: 9.512 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.263e-06/0.4987, allocations: 8 kB / 0.6016 GB, free: 9.504 MB / 462.1 MB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.00216/0.5009, allocations: 1.288 MB / 0.6028 GB, free: 8.203 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.745e-05/0.5009, allocations: 49.72 kB / 0.6029 GB, free: 8.148 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.501, allocations: 16.69 kB / 0.6029 GB, free: 8.133 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.501, allocations: 20 kB / 0.6029 GB, free: 8.113 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009456/0.502, allocations: 283.5 kB / 0.6032 GB, free: 7.836 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003241/0.5023, allocations: 0.6288 MB / 0.6038 GB, free: 7.184 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.5036, allocations: 111.2 kB / 0.6039 GB, free: 7.074 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.5037, allocations: 71.97 kB / 0.604 GB, free: 7.004 MB / 462.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 (p_table.nextEventScaled,p_table.nextEvent,$PRE.p_table.nextEvent,p_table.last,p_table.b,p_table.a,$whenCondition1) * 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003421/0.504, allocations: 297.5 kB / 0.6042 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003138/0.5043, allocations: 135 kB / 0.6044 GB, free: 6.566 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002423/0.5068, allocations: 1.413 MB / 0.6057 GB, free: 5.152 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.5068, allocations: 7.922 kB / 0.6058 GB, free: 5.145 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5068, allocations: 0 / 0.6058 GB, free: 5.145 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003936/0.5072, allocations: 223 kB / 0.606 GB, free: 4.906 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003259/0.5075, allocations: 20 kB / 0.606 GB, free: 4.887 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006601/0.5082, allocations: 31.92 kB / 0.606 GB, free: 4.855 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.5083, allocations: 56.59 kB / 0.6061 GB, free: 4.801 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001589/0.5099, allocations: 1.036 MB / 0.6071 GB, free: 3.762 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00209/0.512, allocations: 1.566 MB / 0.6086 GB, free: 2.195 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000501/0.5125, allocations: 392.9 kB / 0.609 GB, free: 1.82 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001213/0.5138, allocations: 0.8948 MB / 0.6099 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of Backend: time 5.11e-07/0.5138, allocations: 0 / 0.6099 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007133/0.5209, allocations: 2.563 MB / 0.6124 GB, free: 14.42 MB / 478.1 MB Notification: Performance of SimCode: time 0.004734/0.5257, allocations: 2.97 MB / 0.6153 GB, free: 11.4 MB / 478.1 MB Notification: Performance of Templates: time 0.06676/0.5924, allocations: 43.08 MB / 0.6573 GB, free: 352 kB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Fittings/TestWallFriction/TestWallFriction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches