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.00107/0.00107, allocations: 107.8 kB / 18.46 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001039/0.001039, allocations: 207.9 kB / 19.41 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2059/0.2059, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 75.86 kB / 482 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3029, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction): time 0.03431/0.3372, allocations: 35.61 MB / 0.5664 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02036/0.3576, allocations: 16.26 MB / 0.5823 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00143/0.3591, allocations: 39.75 kB / 0.5824 GB, free: 13.69 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.3608, allocations: 0.6635 MB / 0.583 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005262/0.3661, allocations: 2.281 MB / 0.5852 GB, free: 10.73 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008063/0.3742, allocations: 3.585 MB / 0.5887 GB, free: 7.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004516/0.3787, allocations: 3.617 MB / 0.5923 GB, free: 3.531 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001299/0.38, allocations: 1.008 MB / 0.5932 GB, free: 2.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002063/0.3821, allocations: 1.401 MB / 0.5946 GB, free: 1.094 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0017/0.3838, allocations: 1.226 MB / 0.5958 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002287/0.384, allocations: 124 kB / 0.5959 GB, free: 15.74 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00534/0.3894, allocations: 3.015 MB / 0.5989 GB, free: 12.72 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004167/0.3898, allocations: 422.6 kB / 0.5993 GB, free: 12.3 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008277/0.3906, allocations: 0.8087 MB / 0.6001 GB, free: 11.49 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00535/0.396, allocations: 3.795 MB / 0.6038 GB, free: 7.688 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.396, allocations: 3.938 kB / 0.6038 GB, free: 7.684 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.396, allocations: 0 / 0.6038 GB, free: 7.684 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.779e-05/0.3961, allocations: 0 / 0.6038 GB, free: 7.684 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.003441/0.3995, allocations: 2.171 MB / 0.6059 GB, free: 5.449 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.3996, allocations: 11.97 kB / 0.6059 GB, free: 5.438 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006578/0.4002, allocations: 182.1 kB / 0.6061 GB, free: 5.258 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/0.4018, allocations: 1.093 MB / 0.6072 GB, free: 4.121 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.127e-05/0.4019, allocations: 81.92 kB / 0.6072 GB, free: 4.043 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.402, allocations: 88 kB / 0.6073 GB, free: 3.957 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002119/0.4042, allocations: 1.462 MB / 0.6087 GB, free: 2.406 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/0.4042, allocations: 4 kB / 0.6087 GB, free: 2.402 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.4043, allocations: 47.98 kB / 0.6088 GB, free: 2.355 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.297e-05/0.4044, allocations: 57.92 kB / 0.6088 GB, free: 2.301 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00199/0.4064, allocations: 1.347 MB / 0.6102 GB, free: 0.9492 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.007558/0.414, allocations: 6.533 MB / 0.6165 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009067/0.4149, allocations: 0.5739 MB / 0.6171 GB, free: 9.457 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005264/0.4154, allocations: 354.4 kB / 0.6174 GB, free: 9.109 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01892/0.4344, allocations: 15.82 MB / 0.6329 GB, free: 6.254 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006915/0.4351, allocations: 491.1 kB / 0.6334 GB, free: 5.723 MB / 494.1 MB Notification: Performance of pre-optimization done (n=49): time 2.394e-06/0.4351, allocations: 0 / 0.6334 GB, free: 5.723 MB / 494.1 MB Notification: Performance of matching and sorting (n=49): time 0.001605/0.4367, allocations: 0.9216 MB / 0.6343 GB, free: 4.785 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002035/0.4369, allocations: 0.5427 MB / 0.6348 GB, free: 4.113 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/0.4385, allocations: 1.282 MB / 0.636 GB, free: 2.816 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.331e-05/0.4386, allocations: 41.7 kB / 0.6361 GB, free: 2.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005418/0.4391, allocations: 0.7163 MB / 0.6368 GB, free: 2.047 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.4393, allocations: 173.7 kB / 0.6369 GB, free: 1.875 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003695/0.4396, allocations: 274.5 kB / 0.6372 GB, free: 1.602 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.4398, allocations: 341.9 kB / 0.6375 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005639/0.4403, allocations: 353.9 kB / 0.6379 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.4414, allocations: 0.9077 MB / 0.6388 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.4429, allocations: 1.204 MB / 0.6399 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.4429, allocations: 12 kB / 0.6399 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002192/0.4451, allocations: 1.335 MB / 0.6412 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.297e-05/0.4451, allocations: 45.88 kB / 0.6413 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.4452, allocations: 20 kB / 0.6413 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.628e-05/0.4452, allocations: 20 kB / 0.6413 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/0.4468, allocations: 363.4 kB / 0.6417 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007844/0.4476, allocations: 1.234 MB / 0.6429 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.4486, allocations: 158.4 kB / 0.643 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.4487, allocations: 79.92 kB / 0.6431 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008427/0.4495, allocations: 0.5415 MB / 0.6436 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009211/0.4505, allocations: 0.8881 MB / 0.6445 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001332/0.4518, allocations: 1.149 MB / 0.6456 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.243e-06/0.4518, allocations: 4 kB / 0.6456 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.002028/0.4539, allocations: 1.292 MB / 0.6469 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.341e-05/0.4539, allocations: 52.19 kB / 0.6469 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.4539, allocations: 12 kB / 0.647 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.454, allocations: 24 kB / 0.647 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000984/0.455, allocations: 283.5 kB / 0.6472 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003409/0.4553, allocations: 0.6329 MB / 0.6479 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.4564, allocations: 107.2 kB / 0.648 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.746e-05/0.4565, allocations: 63.98 kB / 0.648 GB, free: 5.445 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.0003463/0.4569, allocations: 289.6 kB / 0.6483 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/0.4571, allocations: 138.3 kB / 0.6484 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002499/0.4596, allocations: 1.444 MB / 0.6498 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.4596, allocations: 3.984 kB / 0.6498 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4596, allocations: 0 / 0.6498 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/0.4599, allocations: 211.2 kB / 0.65 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002041/0.4601, allocations: 23.91 kB / 0.6501 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006205/0.4607, allocations: 35.98 kB / 0.6501 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.96e-05/0.4608, allocations: 44.59 kB / 0.6501 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001608/0.4625, allocations: 1.045 MB / 0.6512 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002041/0.4645, allocations: 1.566 MB / 0.6527 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000538/0.4651, allocations: 389.4 kB / 0.6531 GB, free: 176 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001291/0.4664, allocations: 0.8831 MB / 0.6539 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of Backend: time 3.41e-07/0.4664, allocations: 0 / 0.6539 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006843/0.4732, allocations: 2.578 MB / 0.6564 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0048/0.478, allocations: 2.946 MB / 0.6593 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of Templates: time 0.06539/0.5435, allocations: 43 MB / 0.7013 GB, free: 14.87 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