Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002661/0.002664, allocations: 370.4 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4/4, allocations: 388.9 MB / 405.6 MB, free: 10.24 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00358/0.00358, allocations: 235 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5138/0.5138, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004473/0.0004474, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1009, allocations: 54.88 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.381/0.482, allocations: 46.18 MB / 0.7252 GB, free: 11.89 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02802/0.5101, allocations: 10.21 MB / 0.7352 GB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01049/0.5207, allocations: 210.1 kB / 0.7354 GB, free: 11.28 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008607/0.5293, allocations: 2.241 MB / 0.7376 GB, free: 10.83 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02761/0.557, allocations: 7.795 MB / 0.7452 GB, free: 8.016 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004386/0.5614, allocations: 0.6032 MB / 0.7458 GB, free: 7.832 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.03178/0.5933, allocations: 15.7 MB / 0.7611 GB, free: 2.039 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009279/0.6026, allocations: 4.364 MB / 0.7654 GB, free: 14.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003561/0.6062, allocations: 1.218 MB / 0.7665 GB, free: 13.74 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004923/0.6112, allocations: 2.041 MB / 0.7685 GB, free: 12.03 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001291/0.6126, allocations: 164 kB / 0.7687 GB, free: 11.87 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0039/0.6165, allocations: 0.9866 MB / 0.7697 GB, free: 11.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00345/0.62, allocations: 1.779 MB / 0.7714 GB, free: 9.578 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001935/0.622, allocations: 0.8807 MB / 0.7723 GB, free: 9.109 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01057/0.6326, allocations: 6.067 MB / 0.7782 GB, free: 3.531 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.6327, allocations: 1.203 kB / 0.7782 GB, free: 3.531 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.6327, allocations: 0 / 0.7782 GB, free: 3.531 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002545/0.633, allocations: 4 kB / 0.7782 GB, free: 3.527 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1642 * Number of variables: 1642 Notification: Performance of Generate backend data structure: time 0.01498/0.6479, allocations: 4.192 MB / 0.7823 GB, free: 15.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.648, allocations: 8.828 kB / 0.7823 GB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03438/0.6824, allocations: 2.996 MB / 0.7852 GB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009722/0.6922, allocations: 2.659 MB / 0.7878 GB, free: 9.609 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003797/0.6926, allocations: 253.4 kB / 0.788 GB, free: 9.402 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001776/0.6944, allocations: 328.1 kB / 0.7884 GB, free: 9.121 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02898/0.7234, allocations: 10.51 MB / 0.7986 GB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002373/0.7237, allocations: 47.59 kB / 0.7987 GB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00138/0.7251, allocations: 155.8 kB / 0.7988 GB, free: 13.9 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005897/0.7311, allocations: 2.035 MB / 0.8008 GB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02737/0.7585, allocations: 8.762 MB / 0.8094 GB, free: 3.109 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07355/0.8321, allocations: 38.53 MB / 0.847 GB, free: 11.66 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01071/0.8429, allocations: 3.079 MB / 0.85 GB, free: 8.441 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004722/0.8476, allocations: 1.751 MB / 0.8517 GB, free: 6.684 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006152/0.8483, allocations: 338.7 kB / 0.852 GB, free: 6.309 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.819e-05/0.8484, allocations: 55.5 kB / 0.8521 GB, free: 6.246 MB / 442.7 MB Notification: Performance of pre-optimization done (n=176): time 5.881e-06/0.8484, allocations: 0 / 0.8521 GB, free: 6.246 MB / 442.7 MB Notification: Performance of matching and sorting (n=194): time 0.0756/0.924, allocations: 15.02 MB / 0.8667 GB, free: 7.102 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001686/0.9242, allocations: 209.3 kB / 0.8669 GB, free: 6.852 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01237/0.9366, allocations: 3.787 MB / 0.8706 GB, free: 3.074 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005832/0.9373, allocations: 53.7 kB / 0.8707 GB, free: 3.016 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004753/0.942, allocations: 3.177 MB / 0.8738 GB, free: 15.84 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00172/0.9438, allocations: 0.7444 MB / 0.8745 GB, free: 15.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009345/0.9448, allocations: 120 kB / 0.8746 GB, free: 14.98 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000818/0.9456, allocations: 0.5623 MB / 0.8752 GB, free: 14.41 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01006/0.9557, allocations: 2.257 MB / 0.8774 GB, free: 12.15 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01458/0.9703, allocations: 5.924 MB / 0.8832 GB, free: 4.402 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01007/0.9805, allocations: 3.554 MB / 0.8867 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001299/0.9807, allocations: 36 kB / 0.8867 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.02678/1.007, allocations: 8.46 MB / 0.8949 GB, free: 8.336 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001214/1.008, allocations: 60 kB / 0.895 GB, free: 8.277 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002272/1.008, allocations: 128 kB / 0.8951 GB, free: 8.152 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003316/1.011, allocations: 0.7192 MB / 0.8958 GB, free: 7.434 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00967/1.021, allocations: 1.45 MB / 0.8972 GB, free: 5.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008847/1.03, allocations: 4.077 MB / 0.9012 GB, free: 1.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006716/1.037, allocations: 371.7 kB / 0.9016 GB, free: 1.406 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001393/1.038, allocations: 378.6 kB / 0.9019 GB, free: 1.039 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * Number of states: 0 () * Number of discrete variables: 27 (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.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 (761): * Single equations (assignments): 757 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.3285/1.367, allocations: 2.219 MB / 0.9041 GB, free: 165.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001049/1.368, allocations: 335.5 kB / 0.9044 GB, free: 165.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01208/1.38, allocations: 3.295 MB / 0.9076 GB, free: 165.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.254e-05/1.38, allocations: 8.438 kB / 0.9077 GB, free: 165.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/1.38, allocations: 4.422 kB / 0.9077 GB, free: 165.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002335/1.382, allocations: 0.6476 MB / 0.9083 GB, free: 165.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001221/1.384, allocations: 35.45 kB / 0.9083 GB, free: 165.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003282/1.387, allocations: 139.4 kB / 0.9085 GB, free: 165.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007818/1.388, allocations: 142.5 kB / 0.9086 GB, free: 165 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01427/1.402, allocations: 3.891 MB / 0.9124 GB, free: 163.7 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0156/1.418, allocations: 5.631 MB / 0.9179 GB, free: 161.6 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004284/1.422, allocations: 1.492 MB / 0.9193 GB, free: 161.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005843/1.428, allocations: 2.358 MB / 0.9217 GB, free: 160.3 MB / 490.7 MB Notification: Performance of Backend: time 8.71e-07/1.428, allocations: 3.219 kB / 0.9217 GB, free: 160.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01459/1.443, allocations: 4.281 MB / 0.9258 GB, free: 158.8 MB / 490.7 MB Notification: Performance of SimCode: time 0.02412/1.467, allocations: 11.17 MB / 0.9367 GB, free: 152.9 MB / 490.7 MB Notification: Performance of Templates: time 0.1201/1.587, allocations: 43.93 MB / 0.9797 GB, free: 112.7 MB / 490.7 MB