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.001187/0.001187, allocations: 106.6 kB / 18.45 MB, free: 4.637 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.001235/0.001235, allocations: 191.2 kB / 19.39 MB, free: 3.707 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.328/1.328, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.1987/0.1987, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 59.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3132, allocations: 60.82 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction): time 0.03334/0.3465, allocations: 35.42 MB / 0.5542 GB, free: 8.039 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02111/0.3677, allocations: 16.24 MB / 0.57 GB, free: 8.273 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001469/0.3692, allocations: 39.75 kB / 0.5701 GB, free: 8.234 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001671/0.3709, allocations: 0.6672 MB / 0.5707 GB, free: 7.566 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005299/0.3762, allocations: 2.293 MB / 0.573 GB, free: 5.262 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008455/0.3847, allocations: 3.594 MB / 0.5765 GB, free: 1.688 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004542/0.3893, allocations: 3.605 MB / 0.58 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001891/0.3912, allocations: 1.028 MB / 0.581 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002685/0.3939, allocations: 1.394 MB / 0.5823 GB, free: 11.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002156/0.396, allocations: 1.234 MB / 0.5836 GB, free: 10.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004979/0.3966, allocations: 124 kB / 0.5837 GB, free: 10.26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006021/0.4026, allocations: 2.987 MB / 0.5866 GB, free: 7.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006352/0.4032, allocations: 422.6 kB / 0.587 GB, free: 6.855 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00137/0.4046, allocations: 0.8048 MB / 0.5878 GB, free: 6.047 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007019/0.4116, allocations: 3.8 MB / 0.5915 GB, free: 2.234 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4117, allocations: 4 kB / 0.5915 GB, free: 2.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4117, allocations: 0 / 0.5915 GB, free: 2.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.351e-05/0.4118, allocations: 4 kB / 0.5915 GB, free: 2.227 MB / 446.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.004389/0.4162, allocations: 2.236 MB / 0.5937 GB, free: 15.92 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.4162, allocations: 8.031 kB / 0.5937 GB, free: 15.91 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007915/0.417, allocations: 183 kB / 0.5939 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002047/0.4191, allocations: 1.113 MB / 0.5949 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.355e-05/0.4191, allocations: 77.94 kB / 0.595 GB, free: 14.5 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/0.4193, allocations: 95.98 kB / 0.5951 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002433/0.4218, allocations: 1.45 MB / 0.5965 GB, free: 12.87 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/0.4218, allocations: 3.938 kB / 0.5965 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/0.4219, allocations: 47.98 kB / 0.5966 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.05e-05/0.422, allocations: 57.95 kB / 0.5966 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00215/0.4242, allocations: 1.343 MB / 0.5979 GB, free: 11.42 MB / 462.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.00836/0.4325, allocations: 6.569 MB / 0.6044 GB, free: 4.465 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009365/0.4335, allocations: 0.5633 MB / 0.6049 GB, free: 3.895 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005287/0.434, allocations: 354.4 kB / 0.6052 GB, free: 3.547 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01845/0.4525, allocations: 15.15 MB / 0.62 GB, free: 1.504 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007515/0.4533, allocations: 486.1 kB / 0.6205 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of pre-optimization done (n=49): time 2.896e-06/0.4533, allocations: 0 / 0.6205 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of matching and sorting (n=49): time 0.001844/0.4552, allocations: 0.9418 MB / 0.6214 GB, free: 20 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002301/0.4554, allocations: 0.5388 MB / 0.622 GB, free: 15.35 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/0.4573, allocations: 1.278 MB / 0.6232 GB, free: 14.06 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.923e-05/0.4574, allocations: 37.7 kB / 0.6232 GB, free: 14.02 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006555/0.4581, allocations: 0.7338 MB / 0.624 GB, free: 13.28 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002281/0.4583, allocations: 178.6 kB / 0.6241 GB, free: 13.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004495/0.4588, allocations: 270.7 kB / 0.6244 GB, free: 12.83 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.459, allocations: 349.9 kB / 0.6247 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005998/0.4596, allocations: 353.9 kB / 0.6251 GB, free: 12.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/0.4607, allocations: 0.9076 MB / 0.6259 GB, free: 10.97 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/0.4623, allocations: 1.2 MB / 0.6271 GB, free: 9.551 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/0.4623, allocations: 4 kB / 0.6271 GB, free: 9.547 MB / 494.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002375/0.4647, allocations: 1.352 MB / 0.6284 GB, free: 8.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.483e-05/0.4648, allocations: 41.7 kB / 0.6285 GB, free: 8.133 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.913e-05/0.4648, allocations: 16 kB / 0.6285 GB, free: 8.117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.644e-05/0.4648, allocations: 20 kB / 0.6285 GB, free: 8.098 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/0.4664, allocations: 359.6 kB / 0.6289 GB, free: 7.746 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007956/0.4672, allocations: 1.238 MB / 0.6301 GB, free: 6.461 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.4683, allocations: 166.7 kB / 0.6302 GB, free: 6.297 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.4685, allocations: 79.84 kB / 0.6303 GB, free: 6.219 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000866/0.4693, allocations: 0.5376 MB / 0.6308 GB, free: 5.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009736/0.4703, allocations: 0.8843 MB / 0.6317 GB, free: 4.535 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001457/0.4718, allocations: 1.153 MB / 0.6328 GB, free: 3.164 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.156e-05/0.4718, allocations: 4 kB / 0.6328 GB, free: 3.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.002213/0.474, allocations: 1.3 MB / 0.6341 GB, free: 1.848 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.428e-05/0.4741, allocations: 45.69 kB / 0.6341 GB, free: 1.797 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/0.4741, allocations: 12 kB / 0.6341 GB, free: 1.785 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/0.4741, allocations: 24 kB / 0.6342 GB, free: 1.762 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009592/0.4751, allocations: 288.2 kB / 0.6344 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003364/0.4754, allocations: 0.6249 MB / 0.635 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.4765, allocations: 115.4 kB / 0.6352 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.4767, allocations: 63.98 kB / 0.6352 GB, free: 0.6562 MB / 494.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.0003548/0.477, allocations: 301.5 kB / 0.6355 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000286/0.4773, allocations: 151.1 kB / 0.6357 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002469/0.4798, allocations: 1.417 MB / 0.637 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.4798, allocations: 7.984 kB / 0.637 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.4798, allocations: 0 / 0.637 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003183/0.4802, allocations: 227.9 kB / 0.6373 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002501/0.4804, allocations: 31.89 kB / 0.6373 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005861/0.481, allocations: 23.98 kB / 0.6373 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.4811, allocations: 48.59 kB / 0.6374 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001651/0.4828, allocations: 1.057 MB / 0.6384 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002146/0.4849, allocations: 1.575 MB / 0.6399 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000543/0.4855, allocations: 385.4 kB / 0.6403 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001295/0.4868, allocations: 0.8831 MB / 0.6412 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of Backend: time 6.01e-07/0.4868, allocations: 0 / 0.6412 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006933/0.4937, allocations: 2.583 MB / 0.6437 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of SimCode: time 0.005454/0.4992, allocations: 3.003 MB / 0.6466 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of Templates: time 0.06573/0.565, allocations: 42.41 MB / 0.688 GB, free: 10.66 MB / 0.545 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestWallFriction/TestWallFriction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches