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.0011/0.001101, allocations: 112.7 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001158/0.001159, allocations: 206.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, 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.205/0.205, allocations: 46.09 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 75.89 kB / 482 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3283, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01021/0.3386, allocations: 9.498 MB / 0.5409 GB, free: 6.172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007276/0.3459, allocations: 3.824 MB / 0.5447 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001306/0.3472, allocations: 53.75 kB / 0.5447 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005134/0.3524, allocations: 2.763 MB / 0.5474 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004462/0.3569, allocations: 1.605 MB / 0.549 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.3585, allocations: 0.7213 MB / 0.5497 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004881/0.3634, allocations: 3.887 MB / 0.5535 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004091/0.3675, allocations: 3.673 MB / 0.5571 GB, free: 7.598 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001837/0.3694, allocations: 1.406 MB / 0.5585 GB, free: 6.188 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002144/0.3715, allocations: 1.908 MB / 0.5603 GB, free: 4.273 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000515/0.372, allocations: 312 kB / 0.5606 GB, free: 3.969 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001933/0.374, allocations: 1.194 MB / 0.5618 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001374/0.3754, allocations: 1.75 MB / 0.5635 GB, free: 1.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001678/0.3771, allocations: 2.012 MB / 0.5655 GB, free: 15 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005793/0.3829, allocations: 6.665 MB / 0.572 GB, free: 8.309 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3829, allocations: 0 / 0.572 GB, free: 8.309 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3829, allocations: 7.938 kB / 0.572 GB, free: 8.301 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.74e-05/0.383, allocations: 4 kB / 0.572 GB, free: 8.297 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.007424/0.3904, allocations: 4.348 MB / 0.5762 GB, free: 3.883 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.3905, allocations: 8.031 kB / 0.5762 GB, free: 3.875 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01486/0.4053, allocations: 2.433 MB / 0.5786 GB, free: 1.434 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005126/0.4105, allocations: 2.457 MB / 0.581 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.4107, allocations: 218 kB / 0.5812 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005529/0.4112, allocations: 299.8 kB / 0.5815 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01156/0.4228, allocations: 8.724 MB / 0.59 GB, free: 5.043 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.532e-05/0.4229, allocations: 43.59 kB / 0.5901 GB, free: 5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000353/0.4233, allocations: 131.9 kB / 0.5902 GB, free: 4.871 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002529/0.4258, allocations: 1.657 MB / 0.5918 GB, free: 3.211 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01163/0.4374, allocations: 7.215 MB / 0.5988 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03347/0.4709, allocations: 33.41 MB / 0.6315 GB, free: 9.574 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00454/0.4755, allocations: 2.445 MB / 0.6339 GB, free: 6.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/0.4772, allocations: 1.282 MB / 0.6351 GB, free: 5.691 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003407/0.4775, allocations: 331.6 kB / 0.6354 GB, free: 5.312 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.4776, allocations: 47.12 kB / 0.6355 GB, free: 5.258 MB / 494.1 MB Notification: Performance of pre-optimization done (n=122): time 3.897e-06/0.4776, allocations: 0 / 0.6355 GB, free: 5.258 MB / 494.1 MB Notification: Performance of matching and sorting (n=140): time 0.02728/0.5049, allocations: 11.45 MB / 0.6467 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.033e-05/0.505, allocations: 200.5 kB / 0.6468 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004217/0.5092, allocations: 3.573 MB / 0.6503 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001148/0.5093, allocations: 41.7 kB / 0.6504 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001708/0.5111, allocations: 2.829 MB / 0.6531 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004577/0.5115, allocations: 0.5517 MB / 0.6537 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001224/0.5128, allocations: 1.106 MB / 0.6548 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.168e-05/0.5129, allocations: 305.1 kB / 0.6551 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002563/0.5154, allocations: 1.806 MB / 0.6568 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004703/0.5201, allocations: 5.179 MB / 0.6619 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007896/0.528, allocations: 7.525 MB / 0.6692 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.218e-05/0.5281, allocations: 36 kB / 0.6693 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=701) (initialization): time 0.01092/0.539, allocations: 7.233 MB / 0.6763 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.57e-05/0.5391, allocations: 56 kB / 0.6764 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001077/0.5392, allocations: 128 kB / 0.6765 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001609/0.5409, allocations: 0.676 MB / 0.6772 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003583/0.5445, allocations: 1.24 MB / 0.6784 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00504/0.5495, allocations: 4.331 MB / 0.6826 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003416/0.5529, allocations: 295.6 kB / 0.6829 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005155/0.5535, allocations: 348 kB / 0.6832 GB, free: 0.582 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.00254/0.556, allocations: 1.947 MB / 0.6851 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004563/0.5565, allocations: 300.1 kB / 0.6854 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004108/0.5606, allocations: 2.252 MB / 0.6876 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.5606, allocations: 11.97 kB / 0.6876 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.5606, allocations: 0 / 0.6876 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000468/0.5611, allocations: 353.1 kB / 0.6879 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002995/0.5614, allocations: 19.94 kB / 0.688 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.5625, allocations: 87.89 kB / 0.688 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002611/0.5627, allocations: 112.4 kB / 0.6882 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004842/0.5676, allocations: 2.881 MB / 0.691 GB, free: 8.574 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004967/0.5726, allocations: 3.984 MB / 0.6949 GB, free: 4.562 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001351/0.5739, allocations: 0.9969 MB / 0.6958 GB, free: 3.566 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00294/0.5769, allocations: 2.229 MB / 0.698 GB, free: 1.348 MB / 0.545 GB Notification: Performance of Backend: time 3.11e-07/0.5769, allocations: 0 / 0.698 GB, free: 1.348 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006921/0.5838, allocations: 3.652 MB / 0.7016 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01169/0.5955, allocations: 8.191 MB / 0.7096 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of Templates: time 0.2898/0.8853, allocations: 37.92 MB / 0.7466 GB, free: 173.7 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