Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 110.8 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 183 kB / 19.39 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 243.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2152/0.2152, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 63.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3461, allocations: 60.82 MB / 0.5196 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01203/0.3582, allocations: 9.794 MB / 0.5291 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009638/0.3678, allocations: 3.836 MB / 0.5329 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002459/0.3703, allocations: 54.78 kB / 0.5329 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005554/0.3759, allocations: 2.786 MB / 0.5357 GB, free: 8.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005075/0.381, allocations: 1.747 MB / 0.5374 GB, free: 7.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001868/0.3829, allocations: 0.6948 MB / 0.538 GB, free: 6.547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006138/0.3891, allocations: 3.98 MB / 0.5419 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005458/0.3946, allocations: 3.743 MB / 0.5456 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002847/0.3974, allocations: 1.449 MB / 0.547 GB, free: 20 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003096/0.4005, allocations: 1.963 MB / 0.5489 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001086/0.4016, allocations: 328 kB / 0.5492 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00291/0.4046, allocations: 1.221 MB / 0.5504 GB, free: 12.51 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002468/0.4071, allocations: 1.847 MB / 0.5522 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003889/0.411, allocations: 2.117 MB / 0.5543 GB, free: 8.527 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009416/0.4204, allocations: 7.055 MB / 0.5612 GB, free: 1.445 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.4204, allocations: 0 / 0.5612 GB, free: 1.445 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.4204, allocations: 0 / 0.5612 GB, free: 1.445 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003412/0.4208, allocations: 0 / 0.5612 GB, free: 1.445 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1454 * Number of variables: 1454 Notification: Performance of Generate backend data structure: time 0.01082/0.4316, allocations: 4.646 MB / 0.5657 GB, free: 12.72 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.4317, allocations: 8.031 kB / 0.5657 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01701/0.4487, allocations: 2.486 MB / 0.5682 GB, free: 10.22 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006641/0.4554, allocations: 2.536 MB / 0.5706 GB, free: 7.625 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002335/0.4556, allocations: 230.2 kB / 0.5709 GB, free: 7.398 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001228/0.4569, allocations: 307.9 kB / 0.5712 GB, free: 7.098 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01726/0.4741, allocations: 9.289 MB / 0.5802 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002325/0.4744, allocations: 43.69 kB / 0.5803 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001311/0.4757, allocations: 139.9 kB / 0.5804 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003803/0.4796, allocations: 1.845 MB / 0.5822 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01555/0.4951, allocations: 7.686 MB / 0.5897 GB, free: 3.445 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04269/0.5379, allocations: 34.74 MB / 0.6236 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005029/0.5429, allocations: 2.436 MB / 0.626 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001848/0.5448, allocations: 1.292 MB / 0.6273 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003717/0.5452, allocations: 331.7 kB / 0.6276 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/0.5453, allocations: 47.06 kB / 0.6276 GB, free: 11.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=122): time 4.007e-06/0.5453, allocations: 0 / 0.6276 GB, free: 11.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=140): time 0.031/0.5763, allocations: 11.87 MB / 0.6392 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.5764, allocations: 196.5 kB / 0.6394 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00628/0.5827, allocations: 3.639 MB / 0.643 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000264/0.583, allocations: 45.7 kB / 0.643 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002449/0.5855, allocations: 3.06 MB / 0.646 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000829/0.5863, allocations: 0.5855 MB / 0.6466 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002227/0.5886, allocations: 1.123 MB / 0.6477 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.5887, allocations: 309.1 kB / 0.648 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003127/0.5918, allocations: 1.818 MB / 0.6497 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005773/0.5976, allocations: 5.249 MB / 0.6549 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009192/0.6068, allocations: 7.61 MB / 0.6623 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001147/0.607, allocations: 36 kB / 0.6623 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01356/0.6205, allocations: 7.316 MB / 0.6695 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.475e-05/0.6207, allocations: 56 kB / 0.6695 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001641/0.6208, allocations: 120.3 kB / 0.6696 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0017/0.6225, allocations: 0.68 MB / 0.6703 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003933/0.6265, allocations: 1.259 MB / 0.6715 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005222/0.6317, allocations: 4.351 MB / 0.6758 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00364/0.6354, allocations: 315.7 kB / 0.6761 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007285/0.6361, allocations: 340 kB / 0.6764 GB, free: 5.551 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.arrowLine.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 (672): * Single equations (assignments): 668 * 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.003455/0.6396, allocations: 2.037 MB / 0.6784 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008108/0.6404, allocations: 321.9 kB / 0.6787 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004434/0.6449, allocations: 2.256 MB / 0.6809 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-05/0.6449, allocations: 7.969 kB / 0.6809 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.6449, allocations: 0 / 0.6809 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008094/0.6457, allocations: 370.8 kB / 0.6813 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005348/0.6463, allocations: 24 kB / 0.6813 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/0.6476, allocations: 83.89 kB / 0.6814 GB, free: 428 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002916/0.6479, allocations: 112.4 kB / 0.6815 GB, free: 312 kB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005138/0.653, allocations: 2.889 MB / 0.6843 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005249/0.6583, allocations: 4.008 MB / 0.6882 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001411/0.6597, allocations: 0.9951 MB / 0.6892 GB, free: 8.379 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003961/0.6637, allocations: 2.25 MB / 0.6914 GB, free: 6.141 MB / 0.545 GB Notification: Performance of Backend: time 6.51e-07/0.6637, allocations: 0 / 0.6914 GB, free: 6.141 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008388/0.6721, allocations: 3.683 MB / 0.695 GB, free: 2.469 MB / 0.545 GB Notification: Performance of SimCode: time 0.01413/0.6863, allocations: 8.676 MB / 0.7035 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of Templates: time 0.3019/0.9882, allocations: 38.8 MB / 0.7413 GB, free: 180.3 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches