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.001214/0.001214, allocations: 117.3 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00117/0.00117, allocations: 202.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2178/0.2178, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 79.88 kB / 482 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4164, allocations: 62.43 MB / 0.5317 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01093/0.4274, allocations: 9.494 MB / 0.5409 GB, free: 6.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008611/0.4361, allocations: 3.821 MB / 0.5447 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002315/0.4384, allocations: 53.91 kB / 0.5447 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007411/0.4459, allocations: 2.764 MB / 0.5474 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008396/0.4543, allocations: 1.652 MB / 0.549 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00336/0.4577, allocations: 0.7174 MB / 0.5497 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01528/0.473, allocations: 3.883 MB / 0.5535 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01318/0.4863, allocations: 3.678 MB / 0.5571 GB, free: 7.633 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008372/0.4949, allocations: 1.406 MB / 0.5585 GB, free: 6.223 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006171/0.5012, allocations: 1.9 MB / 0.5604 GB, free: 4.316 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002573/0.5039, allocations: 316 kB / 0.5607 GB, free: 4.008 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005862/0.5098, allocations: 1.186 MB / 0.5618 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004587/0.5144, allocations: 1.757 MB / 0.5635 GB, free: 1.059 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006049/0.5205, allocations: 2.012 MB / 0.5655 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01092/0.5315, allocations: 6.693 MB / 0.572 GB, free: 8.316 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.5316, allocations: 0 / 0.572 GB, free: 8.316 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5316, allocations: 0 / 0.572 GB, free: 8.316 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001601/0.5317, allocations: 0 / 0.572 GB, free: 8.316 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.008605/0.5404, allocations: 4.454 MB / 0.5764 GB, free: 3.789 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.5404, allocations: 12.03 kB / 0.5764 GB, free: 3.777 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01629/0.5567, allocations: 2.463 MB / 0.5788 GB, free: 1.309 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005738/0.5625, allocations: 2.473 MB / 0.5812 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000252/0.5628, allocations: 222 kB / 0.5814 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001138/0.5639, allocations: 296 kB / 0.5817 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02294/0.5869, allocations: 8.727 MB / 0.5902 GB, free: 4.898 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002516/0.5872, allocations: 47.62 kB / 0.5903 GB, free: 4.852 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001254/0.5885, allocations: 143.9 kB / 0.5904 GB, free: 4.711 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005069/0.5936, allocations: 1.653 MB / 0.592 GB, free: 3.055 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0384/0.632, allocations: 7.211 MB / 0.5991 GB, free: 11.83 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09888/0.7309, allocations: 33.47 MB / 0.6318 GB, free: 9.371 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009436/0.7404, allocations: 2.445 MB / 0.6341 GB, free: 6.777 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0036/0.7441, allocations: 1.288 MB / 0.6354 GB, free: 5.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007064/0.7448, allocations: 323.7 kB / 0.6357 GB, free: 5.109 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.626e-05/0.7449, allocations: 55.06 kB / 0.6358 GB, free: 5.047 MB / 494.1 MB Notification: Performance of pre-optimization done (n=122): time 6.843e-06/0.7449, allocations: 0 / 0.6358 GB, free: 5.047 MB / 494.1 MB Notification: Performance of matching and sorting (n=140): time 0.0577/0.8027, allocations: 11.65 MB / 0.6471 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002132/0.8029, allocations: 200.5 kB / 0.6473 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01139/0.8143, allocations: 3.582 MB / 0.6508 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004317/0.8148, allocations: 49.7 kB / 0.6509 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.004475/0.8193, allocations: 2.932 MB / 0.6537 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001538/0.8209, allocations: 0.5816 MB / 0.6543 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004366/0.8253, allocations: 1.111 MB / 0.6554 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.8256, allocations: 309.1 kB / 0.6557 GB, free: 432 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006315/0.8319, allocations: 1.806 MB / 0.6575 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01121/0.8432, allocations: 5.182 MB / 0.6625 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01711/0.8604, allocations: 7.528 MB / 0.6699 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001601/0.8606, allocations: 32 kB / 0.6699 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of matching and sorting (n=701) (initialization): time 0.02674/0.8873, allocations: 7.239 MB / 0.677 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002406/0.8876, allocations: 56 kB / 0.677 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003155/0.888, allocations: 120.1 kB / 0.6771 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00324/0.8913, allocations: 0.676 MB / 0.6778 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008165/0.8995, allocations: 1.236 MB / 0.679 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/0.9103, allocations: 4.358 MB / 0.6833 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00823/0.9186, allocations: 299.8 kB / 0.6835 GB, free: 372 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001375/0.9201, allocations: 332 kB / 0.6839 GB, free: 40 kB / 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.007075/0.9272, allocations: 1.955 MB / 0.6858 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001481/0.9287, allocations: 313.9 kB / 0.6861 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009174/0.9379, allocations: 2.245 MB / 0.6883 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.108e-05/0.938, allocations: 7.969 kB / 0.6883 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/0.938, allocations: 4 kB / 0.6883 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001662/0.9397, allocations: 374.8 kB / 0.6886 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001185/0.9409, allocations: 24 kB / 0.6886 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003001/0.944, allocations: 87.83 kB / 0.6887 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007337/0.9447, allocations: 104.4 kB / 0.6888 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01077/0.9555, allocations: 2.88 MB / 0.6916 GB, free: 8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01144/0.967, allocations: 4.005 MB / 0.6956 GB, free: 3.969 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003056/0.9701, allocations: 0.9959 MB / 0.6965 GB, free: 2.977 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006992/0.9772, allocations: 2.225 MB / 0.6987 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of Backend: time 1.683e-06/0.9772, allocations: 384 / 0.6987 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01407/0.9913, allocations: 3.661 MB / 0.7023 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02612/1.017, allocations: 8.317 MB / 0.7104 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of Templates: time 0.5664/1.584, allocations: 37.93 MB / 0.7474 GB, free: 174.1 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