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.00112/0.00112, allocations: 110.9 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001217/0.001217, allocations: 215.9 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2106/0.2106, allocations: 46.09 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 79.86 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3049, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction): time 0.03593/0.3409, allocations: 35.59 MB / 0.5664 GB, free: 14.04 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02165/0.3625, allocations: 16.25 MB / 0.5823 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001919/0.3645, allocations: 47.69 kB / 0.5823 GB, free: 13.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002003/0.3666, allocations: 0.6672 MB / 0.583 GB, free: 13.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006412/0.373, allocations: 2.301 MB / 0.5852 GB, free: 10.72 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009087/0.3821, allocations: 3.586 MB / 0.5888 GB, free: 7.152 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005189/0.3873, allocations: 3.613 MB / 0.5923 GB, free: 3.527 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001494/0.3888, allocations: 1.024 MB / 0.5933 GB, free: 2.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002408/0.3912, allocations: 1.401 MB / 0.5946 GB, free: 1.074 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001746/0.393, allocations: 1.222 MB / 0.5958 GB, free: 15.85 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002161/0.3932, allocations: 128 kB / 0.596 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006018/0.3992, allocations: 3.042 MB / 0.5989 GB, free: 12.67 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004356/0.3997, allocations: 422.6 kB / 0.5993 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009288/0.4006, allocations: 0.8087 MB / 0.6001 GB, free: 11.45 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006526/0.4072, allocations: 3.89 MB / 0.6039 GB, free: 7.543 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4072, allocations: 0 / 0.6039 GB, free: 7.543 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4072, allocations: 0 / 0.6039 GB, free: 7.543 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.995e-05/0.4072, allocations: 0 / 0.6039 GB, free: 7.543 MB / 462.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.003819/0.411, allocations: 2.235 MB / 0.6061 GB, free: 5.238 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.4111, allocations: 15.97 kB / 0.6061 GB, free: 5.223 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006699/0.4118, allocations: 186.9 kB / 0.6063 GB, free: 5.039 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.4134, allocations: 1.097 MB / 0.6074 GB, free: 3.898 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.792e-05/0.4135, allocations: 73.94 kB / 0.6074 GB, free: 3.828 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/0.4136, allocations: 99.98 kB / 0.6075 GB, free: 3.73 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002144/0.4158, allocations: 1.458 MB / 0.609 GB, free: 2.184 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.4158, allocations: 7.938 kB / 0.609 GB, free: 2.176 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.4159, allocations: 44 kB / 0.609 GB, free: 2.133 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-05/0.416, allocations: 53.98 kB / 0.6091 GB, free: 2.082 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/0.4179, allocations: 1.343 MB / 0.6104 GB, free: 0.7344 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.007963/0.4259, allocations: 6.566 MB / 0.6168 GB, free: 9.793 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009808/0.4269, allocations: 0.571 MB / 0.6173 GB, free: 9.211 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000543/0.4275, allocations: 358.4 kB / 0.6177 GB, free: 8.859 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01885/0.4463, allocations: 15.82 MB / 0.6331 GB, free: 6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00075/0.4471, allocations: 491.1 kB / 0.6336 GB, free: 5.469 MB / 494.1 MB Notification: Performance of pre-optimization done (n=49): time 2.765e-06/0.4471, allocations: 0 / 0.6336 GB, free: 5.469 MB / 494.1 MB Notification: Performance of matching and sorting (n=49): time 0.001691/0.4488, allocations: 0.934 MB / 0.6345 GB, free: 4.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002168/0.4491, allocations: 0.5388 MB / 0.635 GB, free: 3.852 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/0.4508, allocations: 1.278 MB / 0.6363 GB, free: 2.559 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.429e-05/0.4509, allocations: 37.7 kB / 0.6363 GB, free: 2.516 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005702/0.4515, allocations: 0.7377 MB / 0.637 GB, free: 1.773 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.4516, allocations: 186.5 kB / 0.6372 GB, free: 1.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003822/0.452, allocations: 270.7 kB / 0.6375 GB, free: 1.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.4522, allocations: 341.9 kB / 0.6378 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005944/0.4528, allocations: 353.9 kB / 0.6381 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.4538, allocations: 0.9077 MB / 0.639 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/0.4554, allocations: 1.204 MB / 0.6402 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.511e-05/0.4554, allocations: 4 kB / 0.6402 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00235/0.4578, allocations: 1.348 MB / 0.6415 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.17e-05/0.4578, allocations: 47.88 kB / 0.6416 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.409e-05/0.4579, allocations: 12 kB / 0.6416 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.624e-05/0.4579, allocations: 28.06 kB / 0.6416 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/0.4595, allocations: 359.4 kB / 0.642 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008482/0.4604, allocations: 1.242 MB / 0.6432 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.4615, allocations: 158.8 kB / 0.6433 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.4616, allocations: 76.09 kB / 0.6434 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008832/0.4625, allocations: 0.5415 MB / 0.6439 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001011/0.4636, allocations: 0.8803 MB / 0.6448 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00142/0.465, allocations: 1.149 MB / 0.6459 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.786e-06/0.465, allocations: 4 kB / 0.6459 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.002198/0.4672, allocations: 1.309 MB / 0.6472 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.426e-05/0.4673, allocations: 45.69 kB / 0.6472 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.4673, allocations: 16 kB / 0.6472 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.4673, allocations: 20 kB / 0.6473 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009694/0.4683, allocations: 283.5 kB / 0.6475 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003722/0.4687, allocations: 0.6328 MB / 0.6482 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.4699, allocations: 111.5 kB / 0.6483 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.47, allocations: 75.97 kB / 0.6483 GB, free: 5.141 MB / 0.4981 GB 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.0003674/0.4704, allocations: 289.5 kB / 0.6486 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/0.4706, allocations: 143.1 kB / 0.6487 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002654/0.4733, allocations: 1.434 MB / 0.6501 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.4733, allocations: 3.984 kB / 0.6501 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4733, allocations: 0 / 0.6501 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003756/0.4737, allocations: 220 kB / 0.6504 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003244/0.4741, allocations: 20 kB / 0.6504 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006953/0.4748, allocations: 31.98 kB / 0.6504 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.4749, allocations: 48.59 kB / 0.6505 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001783/0.4767, allocations: 1.049 MB / 0.6515 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002073/0.4788, allocations: 1.567 MB / 0.653 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005685/0.4794, allocations: 401.4 kB / 0.6534 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001391/0.4808, allocations: 0.8831 MB / 0.6543 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of Backend: time 4.2e-07/0.4808, allocations: 0 / 0.6543 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007096/0.4879, allocations: 2.586 MB / 0.6568 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of SimCode: time 0.005225/0.4931, allocations: 2.994 MB / 0.6597 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of Templates: time 0.06408/0.5572, allocations: 42.3 MB / 0.701 GB, free: 15.19 MB / 0.5606 GB 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