Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001039/0.001039, allocations: 97.97 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001333/0.001333, allocations: 201.9 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.7 MB / 247.5 MB, free: 9.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1992/0.1992, allocations: 46.18 MB / 345.9 MB, free: 11.13 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002754/0.0002753, allocations: 8.281 kB / 420.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1241, allocations: 63.56 MB / 483.7 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.242/0.3662, allocations: 39.61 MB / 0.5111 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0182/0.3844, allocations: 8.95 MB / 0.5198 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007338/0.3918, allocations: 169.8 kB / 0.52 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00147/0.3933, allocations: 380.8 kB / 0.5203 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004518/0.3978, allocations: 1.516 MB / 0.5218 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.3996, allocations: 0.6533 MB / 0.5225 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007259/0.4069, allocations: 5.654 MB / 0.528 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006761/0.4137, allocations: 4.837 MB / 0.5327 GB, free: 5.715 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002121/0.4159, allocations: 0.9921 MB / 0.5337 GB, free: 5.238 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002623/0.4185, allocations: 1.725 MB / 0.5354 GB, free: 4.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007124/0.4192, allocations: 122.8 kB / 0.5355 GB, free: 4.398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00234/0.4216, allocations: 1.07 MB / 0.5365 GB, free: 3.934 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001659/0.4233, allocations: 1.532 MB / 0.538 GB, free: 3.125 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00238/0.4256, allocations: 1.785 MB / 0.5398 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005033/0.4307, allocations: 5.125 MB / 0.5448 GB, free: 14.51 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4307, allocations: 0 / 0.5448 GB, free: 14.51 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.4307, allocations: 0 / 0.5448 GB, free: 14.51 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002404/0.431, allocations: 0 / 0.5448 GB, free: 14.51 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1367 * Number of variables: 1367 Notification: Performance of Generate backend data structure: time 0.007912/0.4389, allocations: 3.564 MB / 0.5482 GB, free: 11.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.4389, allocations: 8.875 kB / 0.5482 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01713/0.4561, allocations: 2.518 MB / 0.5507 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005502/0.4616, allocations: 2.423 MB / 0.5531 GB, free: 6.602 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/0.4618, allocations: 221.1 kB / 0.5533 GB, free: 6.414 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009122/0.4628, allocations: 292.6 kB / 0.5536 GB, free: 6.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01584/0.4786, allocations: 8.745 MB / 0.5621 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002786/0.4789, allocations: 39.64 kB / 0.5621 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009974/0.4799, allocations: 144.1 kB / 0.5623 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002894/0.4829, allocations: 1.657 MB / 0.5639 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01392/0.4968, allocations: 7.24 MB / 0.571 GB, free: 3.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04046/0.5373, allocations: 33.64 MB / 0.6038 GB, free: 1.352 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004879/0.5422, allocations: 2.449 MB / 0.6062 GB, free: 14.75 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001787/0.544, allocations: 1.303 MB / 0.6075 GB, free: 13.44 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003484/0.5444, allocations: 321.2 kB / 0.6078 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.5445, allocations: 55.06 kB / 0.6078 GB, free: 13.01 MB / 462.1 MB Notification: Performance of pre-optimization done (n=122): time 3.867e-06/0.5445, allocations: 0 / 0.6078 GB, free: 13.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=140): time 0.02862/0.5731, allocations: 11.73 MB / 0.6193 GB, free: 1.141 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.62e-05/0.5732, allocations: 192.6 kB / 0.6195 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005108/0.5783, allocations: 3.58 MB / 0.623 GB, free: 13.33 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001479/0.5785, allocations: 45.64 kB / 0.623 GB, free: 13.28 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001954/0.5805, allocations: 2.818 MB / 0.6258 GB, free: 10.47 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005901/0.5811, allocations: 0.5518 MB / 0.6263 GB, free: 9.922 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006087/0.5817, allocations: 485.7 kB / 0.6268 GB, free: 9.441 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.5818, allocations: 309.1 kB / 0.6271 GB, free: 9.137 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002826/0.5846, allocations: 1.826 MB / 0.6288 GB, free: 7.305 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004978/0.5896, allocations: 5.21 MB / 0.6339 GB, free: 404 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00847/0.5981, allocations: 7.57 MB / 0.6413 GB, free: 7.152 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.39e-05/0.5982, allocations: 32 kB / 0.6414 GB, free: 7.121 MB / 494.1 MB Notification: Performance of matching and sorting (n=701) (initialization): time 0.01239/0.6106, allocations: 7.27 MB / 0.6485 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.729e-05/0.6107, allocations: 56 kB / 0.6485 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001652/0.6109, allocations: 120 kB / 0.6486 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001655/0.6126, allocations: 0.6811 MB / 0.6493 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003588/0.6162, allocations: 1.248 MB / 0.6505 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004914/0.6211, allocations: 4.062 MB / 0.6545 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00342/0.6245, allocations: 311.6 kB / 0.6548 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005724/0.6251, allocations: 336 kB / 0.6551 GB, free: 8.91 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (663): * Single equations (assignments): 659 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003062/0.6282, allocations: 1.965 MB / 0.657 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005406/0.6287, allocations: 296.2 kB / 0.6573 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004506/0.6333, allocations: 2.299 MB / 0.6595 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.61e-05/0.6333, allocations: 16 kB / 0.6596 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.6333, allocations: 4 kB / 0.6596 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.6333, allocations: 3.984 kB / 0.6596 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01091/0.6443, allocations: 6.194 MB / 0.6656 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.6443, allocations: 3.984 kB / 0.6656 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.6454, allocations: 227.7 kB / 0.6658 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001376/0.6467, allocations: 0.5083 MB / 0.6663 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/0.6469, allocations: 19.98 kB / 0.6663 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004378/0.6512, allocations: 3.639 MB / 0.6699 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.315e-05/0.6513, allocations: 8.078 kB / 0.6699 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006818/0.6581, allocations: 4.473 MB / 0.6743 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007741/0.6589, allocations: 361.1 kB / 0.6746 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000518/0.6594, allocations: 24 kB / 0.6746 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/0.6607, allocations: 87.89 kB / 0.6747 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002712/0.661, allocations: 104.5 kB / 0.6748 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.6611, allocations: 43.97 kB / 0.6749 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003769/0.6649, allocations: 2.225 MB / 0.677 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6649, allocations: 0 / 0.677 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00409/0.669, allocations: 0.847 MB / 0.6779 GB, free: 1.344 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004022/0.6694, allocations: 151.5 kB / 0.678 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006884/0.6763, allocations: 4.344 MB / 0.6823 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.6763, allocations: 4 kB / 0.6823 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001857/0.6782, allocations: 1.254 MB / 0.6835 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/0.6807, allocations: 366 kB / 0.6838 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0153/0.696, allocations: 10.25 MB / 0.6938 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003911/0.7, allocations: 3.032 MB / 0.6968 GB, free: 13.88 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009/0.7009, allocations: 259.3 kB / 0.6971 GB, free: 13.63 MB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/0.7009, allocations: 0 / 0.6971 GB, free: 13.63 MB / 0.545 GB Notification: Performance of Templates: time 0.2918/0.9927, allocations: 66.3 MB / 0.7618 GB, free: 158.7 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches