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.001/0.001, allocations: 95.09 kB / 18.01 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001171/0.001171, allocations: 203.6 kB / 18.94 MB, free: 4.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.7 MB / 247.5 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1915/0.1915, allocations: 46.18 MB / 345.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000253/0.0002527, allocations: 8 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1067, allocations: 63.55 MB / 483.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction): time 0.03731/0.144, allocations: 35.72 MB / 0.5073 GB, free: 312 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.233/0.377, allocations: 16.61 MB / 0.5235 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002246/0.3793, allocations: 46.31 kB / 0.5235 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002334/0.3817, allocations: 0.5657 MB / 0.5241 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007397/0.3891, allocations: 2.077 MB / 0.5261 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01039/0.3995, allocations: 3.013 MB / 0.5291 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006621/0.4062, allocations: 4.845 MB / 0.5338 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002086/0.4083, allocations: 0.8588 MB / 0.5346 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003474/0.4118, allocations: 1.229 MB / 0.5358 GB, free: 7.609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002457/0.4143, allocations: 1.228 MB / 0.537 GB, free: 7.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004683/0.4148, allocations: 67.75 kB / 0.5371 GB, free: 7.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007417/0.4222, allocations: 2.986 MB / 0.54 GB, free: 5.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008248/0.4231, allocations: 358.3 kB / 0.5404 GB, free: 5.398 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00133/0.4244, allocations: 0.7672 MB / 0.5411 GB, free: 4.941 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004752/0.4292, allocations: 2.661 MB / 0.5437 GB, free: 3.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.4292, allocations: 0 / 0.5437 GB, free: 3.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4292, allocations: 3.938 kB / 0.5437 GB, free: 3.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.739e-05/0.4292, allocations: 4 kB / 0.5437 GB, free: 3.57 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.003016/0.4323, allocations: 1.867 MB / 0.5455 GB, free: 2.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.4323, allocations: 9.625 kB / 0.5455 GB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005841/0.4329, allocations: 179.7 kB / 0.5457 GB, free: 2.078 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.4342, allocations: 1.029 MB / 0.5467 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.174e-05/0.4343, allocations: 82.41 kB / 0.5468 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.4344, allocations: 89.44 kB / 0.5469 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.4362, allocations: 1.457 MB / 0.5483 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.4362, allocations: 8.125 kB / 0.5483 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.4363, allocations: 45.31 kB / 0.5484 GB, free: 248 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.816e-05/0.4364, allocations: 53.3 kB / 0.5484 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001841/0.4382, allocations: 1.351 MB / 0.5497 GB, free: 15.57 MB / 398.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.008461/0.4467, allocations: 6.557 MB / 0.5561 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009462/0.4477, allocations: 0.5749 MB / 0.5567 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005448/0.4482, allocations: 350.4 kB / 0.557 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02049/0.4688, allocations: 16.02 MB / 0.5727 GB, free: 5.039 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007033/0.4695, allocations: 487.1 kB / 0.5731 GB, free: 4.504 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 1.994e-06/0.4695, allocations: 4 kB / 0.5731 GB, free: 4.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.001699/0.4712, allocations: 0.9244 MB / 0.574 GB, free: 3.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002634/0.4715, allocations: 0.5427 MB / 0.5746 GB, free: 2.898 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.4732, allocations: 1.278 MB / 0.5758 GB, free: 1.605 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.454e-05/0.4733, allocations: 33.7 kB / 0.5759 GB, free: 1.566 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005912/0.4739, allocations: 0.7153 MB / 0.5765 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.4741, allocations: 169.1 kB / 0.5767 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.4742, allocations: 97.66 kB / 0.5768 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.4743, allocations: 341.9 kB / 0.5771 GB, free: 252 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005532/0.4749, allocations: 346.4 kB / 0.5775 GB, free: 15.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009836/0.4759, allocations: 0.9077 MB / 0.5783 GB, free: 14.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/0.4774, allocations: 1.2 MB / 0.5795 GB, free: 13.33 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.4774, allocations: 4 kB / 0.5795 GB, free: 13.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002344/0.4798, allocations: 1.343 MB / 0.5808 GB, free: 11.97 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003692/0.4801, allocations: 0.5485 MB / 0.5814 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/0.4802, allocations: 12 kB / 0.5814 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.018e-05/0.4802, allocations: 27.98 kB / 0.5814 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/0.4818, allocations: 355.5 kB / 0.5817 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008362/0.4826, allocations: 1.246 MB / 0.583 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.484, allocations: 186.4 kB / 0.5831 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/0.4842, allocations: 71.97 kB / 0.5832 GB, free: 9.277 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.4842, allocations: 4 kB / 0.5832 GB, free: 9.273 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001857/0.4861, allocations: 1.163 MB / 0.5843 GB, free: 8.102 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.4861, allocations: 16 kB / 0.5844 GB, free: 8.086 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.4861, allocations: 20 kB / 0.5844 GB, free: 8.066 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009566/0.4871, allocations: 287.5 kB / 0.5847 GB, free: 7.785 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003621/0.4875, allocations: 0.6311 MB / 0.5853 GB, free: 7.133 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.4887, allocations: 150.8 kB / 0.5854 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/0.4888, allocations: 67.98 kB / 0.5855 GB, free: 6.918 MB / 430.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.000712/0.4895, allocations: 434.3 kB / 0.5859 GB, free: 6.477 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/0.4898, allocations: 138.3 kB / 0.586 GB, free: 6.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002625/0.4924, allocations: 1.429 MB / 0.5874 GB, free: 4.918 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/0.4925, allocations: 15.92 kB / 0.5874 GB, free: 4.902 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4925, allocations: 0 / 0.5874 GB, free: 4.902 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.4925, allocations: 3.984 kB / 0.5874 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003369/0.4959, allocations: 2.206 MB / 0.5896 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.423e-06/0.4959, allocations: 3.938 kB / 0.5896 GB, free: 2.652 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/0.4972, allocations: 255.7 kB / 0.5898 GB, free: 2.402 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.314e-05/0.4972, allocations: 4 kB / 0.5898 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.546e-05/0.4973, allocations: 27.98 kB / 0.5899 GB, free: 2.371 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006142/0.4979, allocations: 1.191 MB / 0.591 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4979, allocations: 0 / 0.591 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.4995, allocations: 1.064 MB / 0.5921 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004725/0.5, allocations: 259 kB / 0.5923 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003033/0.5003, allocations: 23.94 kB / 0.5923 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007958/0.5011, allocations: 59.92 kB / 0.5924 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.5012, allocations: 52.59 kB / 0.5925 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.085e-05/0.5013, allocations: 35.98 kB / 0.5925 GB, free: 15.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001273/0.5026, allocations: 0.8831 MB / 0.5934 GB, free: 14.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5026, allocations: 0 / 0.5934 GB, free: 14.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003831/0.5064, allocations: 1.288 MB / 0.5946 GB, free: 13.43 MB / 446.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 (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 Backend phase and start with SimCode phase: time 0.003027/0.5095, allocations: 1.03 MB / 0.5956 GB, free: 12.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004455/0.5139, allocations: 1.82 MB / 0.5974 GB, free: 10.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/0.514, allocations: 0 / 0.5974 GB, free: 10.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001974/0.516, allocations: 0.6636 MB / 0.598 GB, free: 9.961 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003705/0.5197, allocations: 0.5717 MB / 0.5986 GB, free: 9.395 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004401/0.5241, allocations: 2.768 MB / 0.6013 GB, free: 6.605 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008255/0.525, allocations: 1.175 MB / 0.6024 GB, free: 5.406 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005113/0.5255, allocations: 159.3 kB / 0.6026 GB, free: 5.254 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5255, allocations: 0 / 0.6026 GB, free: 5.254 MB / 446.1 MB Notification: Performance of Templates: time 0.0552/0.5807, allocations: 41.51 MB / 0.6431 GB, free: 11.84 MB / 494.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/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_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches