Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002365/0.002369, allocations: 182.5 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.091/2.091, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001119/0.001118, allocations: 93.48 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5518/0.5518, allocations: 43.56 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004745/0.0004747, allocations: 12 kB / 431.4 MB, free: 6.148 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1319, allocations: 58.85 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction): time 0.3679/0.4998, allocations: 30.29 MB / 0.5083 GB, free: 29.69 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02484/0.5247, allocations: 14.04 MB / 0.522 GB, free: 19.87 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002165/0.527, allocations: 44.56 kB / 0.5221 GB, free: 19.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002624/0.5296, allocations: 0.5241 MB / 0.5226 GB, free: 19.55 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007811/0.5375, allocations: 1.927 MB / 0.5245 GB, free: 18.36 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0109/0.5484, allocations: 2.788 MB / 0.5272 GB, free: 17.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004859/0.5533, allocations: 2.115 MB / 0.5292 GB, free: 15.95 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00183/0.5552, allocations: 0.8431 MB / 0.5301 GB, free: 15.63 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003368/0.5586, allocations: 1.127 MB / 0.5312 GB, free: 15.14 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002418/0.5611, allocations: 0.8672 MB / 0.532 GB, free: 14.8 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005228/0.5616, allocations: 65 kB / 0.5321 GB, free: 14.8 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007931/0.5696, allocations: 2.717 MB / 0.5347 GB, free: 14.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008201/0.5704, allocations: 325.5 kB / 0.535 GB, free: 13.95 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006835/0.5711, allocations: 315.3 kB / 0.5353 GB, free: 13.79 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007164/0.5783, allocations: 2.683 MB / 0.538 GB, free: 13.17 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.5784, allocations: 3.938 kB / 0.538 GB, free: 13.17 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.467e-06/0.5784, allocations: 4.453 kB / 0.538 GB, free: 13.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.927e-05/0.5785, allocations: 0 / 0.538 GB, free: 13.16 MB / 378.7 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.005525/0.584, allocations: 1.871 MB / 0.5398 GB, free: 11.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.5841, allocations: 12.98 kB / 0.5398 GB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.5853, allocations: 178.6 kB / 0.54 GB, free: 11.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002921/0.5883, allocations: 1.003 MB / 0.541 GB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.5885, allocations: 72.83 kB / 0.541 GB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000355/0.5888, allocations: 95.84 kB / 0.5411 GB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004028/0.5929, allocations: 1.443 MB / 0.5425 GB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.257e-05/0.593, allocations: 3.938 kB / 0.5425 GB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002354/0.5932, allocations: 52.36 kB / 0.5426 GB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/0.5934, allocations: 54.27 kB / 0.5426 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003854/0.5972, allocations: 1.331 MB / 0.5439 GB, free: 9.969 MB / 378.7 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.01493/0.6122, allocations: 6.702 MB / 0.5505 GB, free: 5.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.614, allocations: 0.5629 MB / 0.551 GB, free: 4.781 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03164/0.6457, allocations: 15.4 MB / 0.5661 GB, free: 4.668 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001229/0.647, allocations: 492.7 kB / 0.5665 GB, free: 4.285 MB / 394.7 MB Notification: Performance of pre-optimization done (n=49): time 3.447e-06/0.647, allocations: 0 / 0.5665 GB, free: 4.285 MB / 394.7 MB Notification: Performance of matching and sorting (n=49): time 0.003239/0.6502, allocations: 0.9934 MB / 0.5675 GB, free: 3.715 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002976/0.6506, allocations: 0.544 MB / 0.568 GB, free: 3.051 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003026/0.6536, allocations: 1.265 MB / 0.5693 GB, free: 2.348 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002498/0.6539, allocations: 34.48 kB / 0.5693 GB, free: 2.312 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008356/0.6548, allocations: 0.6922 MB / 0.57 GB, free: 1.672 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003774/0.6552, allocations: 175.5 kB / 0.5702 GB, free: 1.523 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.6553, allocations: 21.25 kB / 0.5702 GB, free: 1.508 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.6555, allocations: 352.9 kB / 0.5705 GB, free: 1.164 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.6566, allocations: 331 kB / 0.5708 GB, free: 1.004 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/0.6585, allocations: 0.8916 MB / 0.5717 GB, free: 84 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/0.66, allocations: 0.4893 MB / 0.5722 GB, free: 15.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.331e-05/0.6601, allocations: 4.031 kB / 0.5722 GB, free: 15.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004117/0.6642, allocations: 1.23 MB / 0.5734 GB, free: 15.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002669/0.667, allocations: 5.793 MB / 0.579 GB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.259e-05/0.6671, allocations: 14.84 kB / 0.5791 GB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.721e-05/0.6671, allocations: 27.81 kB / 0.5791 GB, free: 8.957 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003112/0.6703, allocations: 351.1 kB / 0.5794 GB, free: 8.863 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001195/0.6715, allocations: 1.245 MB / 0.5806 GB, free: 7.637 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002458/0.674, allocations: 182.9 kB / 0.5808 GB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003776/0.6744, allocations: 68.91 kB / 0.5809 GB, free: 7.508 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.6745, allocations: 3.625 kB / 0.5809 GB, free: 7.508 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003562/0.6781, allocations: 1.16 MB / 0.582 GB, free: 6.922 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.134e-05/0.6781, allocations: 15.53 kB / 0.582 GB, free: 6.922 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-05/0.6782, allocations: 21.53 kB / 0.582 GB, free: 6.922 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001916/0.6801, allocations: 284.1 kB / 0.5823 GB, free: 6.855 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004889/0.6806, allocations: 0.6256 MB / 0.5829 GB, free: 6.242 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.6823, allocations: 138.7 kB / 0.5831 GB, free: 6.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002121/0.6825, allocations: 61.73 kB / 0.5831 GB, free: 6.148 MB / 410.7 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.001096/0.6836, allocations: 428.3 kB / 0.5835 GB, free: 5.801 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004569/0.6841, allocations: 140.6 kB / 0.5837 GB, free: 5.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004461/0.6886, allocations: 1.437 MB / 0.5851 GB, free: 4.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.368e-05/0.6887, allocations: 16.72 kB / 0.5851 GB, free: 4.922 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.6887, allocations: 4 kB / 0.5851 GB, free: 4.918 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/0.6887, allocations: 3.984 kB / 0.5851 GB, free: 4.914 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006292/0.695, allocations: 2.233 MB / 0.5873 GB, free: 3.191 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.849e-06/0.6951, allocations: 0 / 0.5873 GB, free: 3.191 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002334/0.6974, allocations: 259.7 kB / 0.5875 GB, free: 2.938 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.169e-05/0.6975, allocations: 3.953 kB / 0.5875 GB, free: 2.934 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001463/0.6977, allocations: 23.98 kB / 0.5875 GB, free: 2.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008532/0.6985, allocations: 1.188 MB / 0.5887 GB, free: 1.676 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.6986, allocations: 7.938 kB / 0.5887 GB, free: 1.668 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002943/0.7015, allocations: 1.068 MB / 0.5898 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007599/0.7023, allocations: 274.9 kB / 0.59 GB, free: 284 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004582/0.7028, allocations: 20 kB / 0.59 GB, free: 264 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/0.7043, allocations: 71.84 kB / 0.5901 GB, free: 192 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002154/0.7045, allocations: 44.59 kB / 0.5901 GB, free: 148 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/0.7046, allocations: 35.97 kB / 0.5902 GB, free: 112 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002239/0.7069, allocations: 0.8714 MB / 0.591 GB, free: 15.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.81e-07/0.707, allocations: 0 / 0.591 GB, free: 15.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005692/0.7127, allocations: 1.276 MB / 0.5923 GB, free: 13.96 MB / 426.7 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.004316/0.717, allocations: 1.016 MB / 0.5933 GB, free: 12.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006741/0.7238, allocations: 1.792 MB / 0.595 GB, free: 11.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.609e-06/0.7239, allocations: 0 / 0.595 GB, free: 11.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003501/0.7274, allocations: 0.6639 MB / 0.5957 GB, free: 10.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005157/0.7326, allocations: 0.5553 MB / 0.5962 GB, free: 9.891 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00643/0.7391, allocations: 2.653 MB / 0.5988 GB, free: 7.211 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001195/0.7404, allocations: 1.198 MB / 0.6 GB, free: 5.988 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008449/0.7412, allocations: 155.4 kB / 0.6001 GB, free: 5.836 MB / 426.7 MB Notification: Performance of SimCode: time 1.282e-06/0.7413, allocations: 0 / 0.6001 GB, free: 5.836 MB / 426.7 MB Notification: Performance of Templates: time 0.09396/0.8352, allocations: 41.02 MB / 0.6402 GB, free: 12.81 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches