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.001083/0.001083, allocations: 90.12 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001427/0.001427, allocations: 203 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.8 MB / 246.8 MB, free: 11.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2139/0.2139, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002757/0.0002758, allocations: 8 kB / 419.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1192, allocations: 63.55 MB / 483.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction): time 0.03939/0.1586, allocations: 35.72 MB / 0.5067 GB, free: 300 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2634/0.422, allocations: 16.61 MB / 0.5229 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00238/0.4245, allocations: 46.72 kB / 0.5229 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002186/0.4267, allocations: 0.562 MB / 0.5235 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007679/0.4344, allocations: 2.079 MB / 0.5255 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01098/0.4454, allocations: 3.006 MB / 0.5284 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007818/0.4532, allocations: 4.853 MB / 0.5332 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001981/0.4552, allocations: 0.8564 MB / 0.534 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003399/0.4587, allocations: 1.238 MB / 0.5352 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002646/0.4613, allocations: 1.228 MB / 0.5364 GB, free: 7.199 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003515/0.4617, allocations: 63.91 kB / 0.5365 GB, free: 7.199 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007668/0.4694, allocations: 2.978 MB / 0.5394 GB, free: 5.656 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001288/0.4707, allocations: 366.8 kB / 0.5397 GB, free: 5.418 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00185/0.4726, allocations: 0.7642 MB / 0.5405 GB, free: 4.965 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009709/0.4823, allocations: 3.701 MB / 0.5441 GB, free: 2.926 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4824, allocations: 0 / 0.5441 GB, free: 2.926 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.4824, allocations: 0 / 0.5441 GB, free: 2.926 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.599e-05/0.4825, allocations: 0 / 0.5441 GB, free: 2.926 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.004079/0.4865, allocations: 1.869 MB / 0.5459 GB, free: 1.512 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.4866, allocations: 13.91 kB / 0.5459 GB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008093/0.4874, allocations: 173 kB / 0.5461 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/0.4891, allocations: 1.036 MB / 0.5471 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.746e-05/0.4892, allocations: 75.05 kB / 0.5472 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.4894, allocations: 98.53 kB / 0.5473 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002234/0.4916, allocations: 1.459 MB / 0.5487 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.4917, allocations: 0.875 kB / 0.5487 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001426/0.4918, allocations: 49.08 kB / 0.5487 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.53e-05/0.4919, allocations: 55.08 kB / 0.5488 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/0.4938, allocations: 1.351 MB / 0.5501 GB, free: 14.86 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.009439/0.5033, allocations: 6.553 MB / 0.5565 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009368/0.5043, allocations: 0.5672 MB / 0.5571 GB, free: 7.406 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005263/0.5048, allocations: 358.4 kB / 0.5574 GB, free: 7.055 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02102/0.5258, allocations: 16 MB / 0.573 GB, free: 4.039 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007729/0.5266, allocations: 495.1 kB / 0.5735 GB, free: 3.496 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 2.024e-06/0.5267, allocations: 0 / 0.5735 GB, free: 3.496 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.001749/0.5284, allocations: 0.9217 MB / 0.5744 GB, free: 2.566 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002559/0.5287, allocations: 0.5427 MB / 0.5749 GB, free: 1.895 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/0.5304, allocations: 1.286 MB / 0.5762 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.207e-05/0.5305, allocations: 37.7 kB / 0.5762 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005819/0.5311, allocations: 0.718 MB / 0.5769 GB, free: 15.83 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/0.5313, allocations: 168.4 kB / 0.5771 GB, free: 15.67 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.5314, allocations: 93.66 kB / 0.5772 GB, free: 15.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.5316, allocations: 345.9 kB / 0.5775 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005749/0.5322, allocations: 346.4 kB / 0.5778 GB, free: 14.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009917/0.5332, allocations: 0.9077 MB / 0.5787 GB, free: 13.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001566/0.5347, allocations: 1.2 MB / 0.5799 GB, free: 12.31 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.5348, allocations: 4 kB / 0.5799 GB, free: 12.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002589/0.5374, allocations: 1.339 MB / 0.5812 GB, free: 10.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005244/0.5379, allocations: 0.5579 MB / 0.5818 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.35e-05/0.5379, allocations: 12 kB / 0.5818 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.06e-05/0.538, allocations: 24 kB / 0.5818 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/0.5396, allocations: 351.5 kB / 0.5821 GB, free: 9.809 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007711/0.5404, allocations: 1.246 MB / 0.5833 GB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.5417, allocations: 190.3 kB / 0.5835 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/0.5419, allocations: 67.97 kB / 0.5836 GB, free: 8.262 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.5419, allocations: 4 kB / 0.5836 GB, free: 8.258 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001835/0.5437, allocations: 1.155 MB / 0.5847 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.5438, allocations: 20.25 kB / 0.5847 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/0.5438, allocations: 20 kB / 0.5848 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009445/0.5447, allocations: 291.5 kB / 0.585 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003455/0.5451, allocations: 0.6249 MB / 0.5857 GB, free: 6.121 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.5463, allocations: 154.9 kB / 0.5858 GB, free: 5.969 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.5464, allocations: 59.98 kB / 0.5859 GB, free: 5.91 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.0007164/0.5471, allocations: 438.3 kB / 0.5863 GB, free: 5.465 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/0.5473, allocations: 138.3 kB / 0.5864 GB, free: 5.328 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002502/0.5499, allocations: 1.426 MB / 0.5878 GB, free: 3.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.902e-05/0.5499, allocations: 15.92 kB / 0.5878 GB, free: 3.895 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.5499, allocations: 0 / 0.5878 GB, free: 3.895 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.5499, allocations: 3.984 kB / 0.5878 GB, free: 3.891 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00334/0.5533, allocations: 2.207 MB / 0.59 GB, free: 1.648 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.5533, allocations: 3.938 kB / 0.59 GB, free: 1.645 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001317/0.5546, allocations: 251.8 kB / 0.5902 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/0.5546, allocations: 7.938 kB / 0.5902 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.399e-05/0.5547, allocations: 27.98 kB / 0.5903 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000648/0.5554, allocations: 1.187 MB / 0.5914 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5554, allocations: 4.188 kB / 0.5914 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/0.557, allocations: 1.067 MB / 0.5925 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000452/0.5575, allocations: 259 kB / 0.5927 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002102/0.5577, allocations: 23.94 kB / 0.5927 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007041/0.5584, allocations: 55.89 kB / 0.5928 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.5585, allocations: 52.59 kB / 0.5928 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.631e-05/0.5586, allocations: 31.98 kB / 0.5929 GB, free: 14.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001222/0.5598, allocations: 0.887 MB / 0.5937 GB, free: 13.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.492e-06/0.5598, allocations: 0 / 0.5937 GB, free: 13.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003413/0.5632, allocations: 1.299 MB / 0.595 GB, free: 12.41 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.002689/0.566, allocations: 1.027 MB / 0.596 GB, free: 11.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004185/0.5702, allocations: 1.815 MB / 0.5978 GB, free: 9.621 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/0.5702, allocations: 0 / 0.5978 GB, free: 9.621 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001943/0.5721, allocations: 0.6644 MB / 0.5984 GB, free: 8.949 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003399/0.5756, allocations: 0.5713 MB / 0.599 GB, free: 8.383 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003989/0.5796, allocations: 2.731 MB / 0.6016 GB, free: 5.637 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007902/0.5804, allocations: 1.179 MB / 0.6028 GB, free: 4.434 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002081/0.5825, allocations: 0.5105 MB / 0.6033 GB, free: 3.938 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003639/0.5829, allocations: 139.4 kB / 0.6034 GB, free: 3.805 MB / 446.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5829, allocations: 0 / 0.6034 GB, free: 3.805 MB / 446.1 MB Notification: Performance of Templates: time 0.0618/0.6447, allocations: 36.64 MB / 0.6392 GB, free: 15.39 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestWallFriction/TestWallFriction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches