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.001218/0.001218, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001096/0.001096, allocations: 204 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2081/0.2081, allocations: 46.1 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 71.88 kB / 482 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3143, allocations: 62.43 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01066/0.325, allocations: 9.495 MB / 0.5409 GB, free: 6.148 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007872/0.3329, allocations: 3.822 MB / 0.5447 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00187/0.3348, allocations: 57.81 kB / 0.5447 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005311/0.3402, allocations: 2.762 MB / 0.5474 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004647/0.3449, allocations: 1.615 MB / 0.549 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.3467, allocations: 0.7096 MB / 0.5497 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005462/0.3522, allocations: 3.891 MB / 0.5535 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004579/0.3568, allocations: 3.669 MB / 0.5571 GB, free: 7.551 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00246/0.3593, allocations: 1.41 MB / 0.5584 GB, free: 6.137 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002914/0.3623, allocations: 1.904 MB / 0.5603 GB, free: 4.227 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009501/0.3632, allocations: 312 kB / 0.5606 GB, free: 3.922 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002541/0.3658, allocations: 1.186 MB / 0.5618 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002015/0.3678, allocations: 1.757 MB / 0.5635 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0033/0.3711, allocations: 2.008 MB / 0.5654 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008999/0.3802, allocations: 6.673 MB / 0.572 GB, free: 8.258 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.3802, allocations: 0 / 0.572 GB, free: 8.258 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3802, allocations: 3.938 kB / 0.572 GB, free: 8.254 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002542/0.3805, allocations: 0 / 0.572 GB, free: 8.254 MB / 430.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.01125/0.3917, allocations: 4.348 MB / 0.5762 GB, free: 3.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.3918, allocations: 8.031 kB / 0.5762 GB, free: 3.832 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01664/0.4085, allocations: 2.437 MB / 0.5786 GB, free: 1.387 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006026/0.4145, allocations: 2.461 MB / 0.581 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000212/0.4148, allocations: 222 kB / 0.5812 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001137/0.4159, allocations: 291.8 kB / 0.5815 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01594/0.4319, allocations: 8.72 MB / 0.59 GB, free: 5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001672/0.4321, allocations: 51.58 kB / 0.5901 GB, free: 4.949 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009413/0.4331, allocations: 135.9 kB / 0.5902 GB, free: 4.816 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00283/0.4359, allocations: 1.657 MB / 0.5918 GB, free: 3.156 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01422/0.4501, allocations: 7.219 MB / 0.5988 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04045/0.4906, allocations: 33.4 MB / 0.6315 GB, free: 9.523 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004897/0.4956, allocations: 2.443 MB / 0.6339 GB, free: 6.934 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001789/0.4974, allocations: 1.286 MB / 0.6351 GB, free: 5.637 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003707/0.4978, allocations: 323.7 kB / 0.6354 GB, free: 5.266 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.4979, allocations: 47.12 kB / 0.6355 GB, free: 5.211 MB / 494.1 MB Notification: Performance of pre-optimization done (n=122): time 5.541e-06/0.4979, allocations: 0 / 0.6355 GB, free: 5.211 MB / 494.1 MB Notification: Performance of matching and sorting (n=140): time 0.0291/0.527, allocations: 11.46 MB / 0.6467 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.5271, allocations: 196.6 kB / 0.6468 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005376/0.5325, allocations: 3.573 MB / 0.6503 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002323/0.5328, allocations: 45.7 kB / 0.6504 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001841/0.5346, allocations: 2.829 MB / 0.6531 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005732/0.5352, allocations: 0.5517 MB / 0.6537 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001314/0.5365, allocations: 1.102 MB / 0.6548 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.5366, allocations: 305.1 kB / 0.655 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002594/0.5392, allocations: 1.814 MB / 0.6568 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004654/0.5439, allocations: 5.186 MB / 0.6619 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008768/0.5527, allocations: 7.512 MB / 0.6692 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.688e-05/0.5528, allocations: 36 kB / 0.6693 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of matching and sorting (n=701) (initialization): time 0.01277/0.5656, allocations: 7.231 MB / 0.6763 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.5657, allocations: 56 kB / 0.6764 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001755/0.5659, allocations: 124 kB / 0.6765 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00174/0.5676, allocations: 0.6765 MB / 0.6771 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003806/0.5715, allocations: 1.236 MB / 0.6784 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005362/0.5768, allocations: 4.335 MB / 0.6826 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003918/0.5808, allocations: 299.7 kB / 0.6829 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007926/0.5816, allocations: 336 kB / 0.6832 GB, free: 0.5391 MB / 0.5294 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.003443/0.5851, allocations: 1.951 MB / 0.6851 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007838/0.5858, allocations: 308.1 kB / 0.6854 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004651/0.5905, allocations: 2.256 MB / 0.6876 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.279e-05/0.5906, allocations: 19.98 kB / 0.6876 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.5906, allocations: 0 / 0.6876 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.5906, allocations: 7.984 kB / 0.6876 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/0.6027, allocations: 6.115 MB / 0.6936 GB, free: 5.793 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.6027, allocations: 4 kB / 0.6936 GB, free: 5.789 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.6038, allocations: 219.7 kB / 0.6938 GB, free: 5.574 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001405/0.6052, allocations: 0.5041 MB / 0.6943 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001443/0.6054, allocations: 23.98 kB / 0.6943 GB, free: 5.043 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004579/0.61, allocations: 3.923 MB / 0.6982 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.61, allocations: 4.062 kB / 0.6982 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006748/0.6167, allocations: 4.41 MB / 0.7025 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009061/0.6177, allocations: 349.1 kB / 0.7028 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005942/0.6183, allocations: 20 kB / 0.7028 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/0.6197, allocations: 75.91 kB / 0.7029 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002869/0.62, allocations: 104.4 kB / 0.703 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.6201, allocations: 39.98 kB / 0.703 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003914/0.624, allocations: 2.225 MB / 0.7052 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.9e-07/0.624, allocations: 0 / 0.7052 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004812/0.6288, allocations: 0.8438 MB / 0.706 GB, free: 8.875 MB / 0.5606 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.000548/0.6294, allocations: 155 kB / 0.7062 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007367/0.6368, allocations: 4.305 MB / 0.7104 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.6368, allocations: 0 / 0.7104 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001915/0.6388, allocations: 1.24 MB / 0.7116 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002648/0.6414, allocations: 396.2 kB / 0.712 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/0.6568, allocations: 8.322 MB / 0.7201 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003294/0.6602, allocations: 3.026 MB / 0.723 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008665/0.6611, allocations: 255.4 kB / 0.7233 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of SimCode: time 1.022e-06/0.6611, allocations: 0 / 0.7233 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of Templates: time 0.3391/1, allocations: 67.63 MB / 0.7893 GB, free: 129 MB / 0.5762 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