Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.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.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004149/0.004155, allocations: 364.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 3.958/3.958, allocations: 388.9 MB / 405.6 MB, free: 10.33 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.003432/0.003432, allocations: 220.8 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.5952/0.5952, allocations: 80.03 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004591/0.0004592, allocations: 12 kB / 0.6265 GB, free: 96.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09364/0.09413, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.03858/0.1328, allocations: 33.83 MB / 0.7131 GB, free: 7.746 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.3251/0.4579, allocations: 7.081 MB / 0.72 GB, free: 11.95 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006985/0.465, allocations: 149.8 kB / 0.7202 GB, free: 11.95 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006226/0.4712, allocations: 1.67 MB / 0.7218 GB, free: 11.94 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01967/0.491, allocations: 5.69 MB / 0.7274 GB, free: 11.65 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002592/0.4936, allocations: 256.9 kB / 0.7276 GB, free: 11.64 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.006125/0.4998, allocations: 2.838 MB / 0.7304 GB, free: 11.63 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006447/0.5063, allocations: 3.032 MB / 0.7334 GB, free: 11.08 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001714/0.5081, allocations: 0.7304 MB / 0.7341 GB, free: 10.96 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002226/0.5103, allocations: 1.138 MB / 0.7352 GB, free: 10.65 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004679/0.5108, allocations: 100.3 kB / 0.7353 GB, free: 10.65 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001775/0.5126, allocations: 0.5361 MB / 0.7358 GB, free: 10.5 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001852/0.5145, allocations: 1.064 MB / 0.7368 GB, free: 10.14 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009559/0.5155, allocations: 0.5685 MB / 0.7374 GB, free: 9.984 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005376/0.5209, allocations: 3.72 MB / 0.741 GB, free: 7.957 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.521, allocations: 0 / 0.741 GB, free: 7.957 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.547e-06/0.521, allocations: 0 / 0.741 GB, free: 7.957 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001664/0.5212, allocations: 0 / 0.741 GB, free: 7.957 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1092 * Number of variables: 1092 Notification: Performance of Generate backend data structure: time 0.007374/0.5286, allocations: 2.644 MB / 0.7436 GB, free: 6.258 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.5286, allocations: 8.375 kB / 0.7436 GB, free: 6.258 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01166/0.5403, allocations: 1.948 MB / 0.7455 GB, free: 5.379 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004193/0.5445, allocations: 1.378 MB / 0.7469 GB, free: 4.738 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001724/0.5448, allocations: 165.2 kB / 0.747 GB, free: 4.723 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008633/0.5456, allocations: 203.7 kB / 0.7472 GB, free: 4.723 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01626/0.5619, allocations: 6.995 MB / 0.754 GB, free: 2.828 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.055e-05/0.562, allocations: 17.28 kB / 0.7541 GB, free: 2.816 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004066/0.5625, allocations: 102.2 kB / 0.7542 GB, free: 2.816 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00371/0.5662, allocations: 1.521 MB / 0.7556 GB, free: 2.141 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01793/0.5841, allocations: 5.968 MB / 0.7615 GB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04917/0.6333, allocations: 22.14 MB / 0.7831 GB, free: 9.988 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007884/0.6413, allocations: 2.182 MB / 0.7852 GB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002244/0.6436, allocations: 0.8124 MB / 0.786 GB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01216/0.6558, allocations: 3.953 MB / 0.7899 GB, free: 2.812 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.6559, allocations: 39.22 kB / 0.7899 GB, free: 2.766 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 5.781e-06/0.6559, allocations: 0 / 0.7899 GB, free: 2.766 MB / 378.7 MB Notification: Performance of matching and sorting (n=96): time 0.01094/0.6669, allocations: 2.241 MB / 0.7921 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.667, allocations: 64.06 kB / 0.7922 GB, free: 452 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00468/0.6716, allocations: 2.018 MB / 0.7941 GB, free: 14.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000207/0.6719, allocations: 44.98 kB / 0.7942 GB, free: 14.38 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002106/0.674, allocations: 1.991 MB / 0.7961 GB, free: 12.39 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007221/0.6748, allocations: 382.9 kB / 0.7965 GB, free: 12.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003031/0.6751, allocations: 60 kB / 0.7965 GB, free: 11.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004644/0.6756, allocations: 0.4979 MB / 0.797 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002772/0.6784, allocations: 0.9823 MB / 0.798 GB, free: 10.47 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004785/0.6832, allocations: 2.96 MB / 0.8009 GB, free: 6.531 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00435/0.6876, allocations: 1.698 MB / 0.8025 GB, free: 4.844 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.456e-05/0.6877, allocations: 20 kB / 0.8026 GB, free: 4.824 MB / 394.7 MB Notification: Performance of matching and sorting (n=432) (initialization): time 0.01138/0.6991, allocations: 3.837 MB / 0.8063 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.726e-05/0.6992, allocations: 36 kB / 0.8063 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001111/0.6994, allocations: 72 kB / 0.8064 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001491/0.6995, allocations: 107.9 kB / 0.8065 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004488/0.704, allocations: 0.7229 MB / 0.8072 GB, free: 56 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002177/0.7043, allocations: 142 kB / 0.8074 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003478/0.7078, allocations: 451 kB / 0.8078 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000613/0.7084, allocations: 200 kB / 0.808 GB, free: 15.28 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * Number of states: 0 () * Number of discrete variables: 21 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (398): * Single equations (assignments): 393 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003742/0.7122, allocations: 1.458 MB / 0.8094 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004246/0.7126, allocations: 169.8 kB / 0.8096 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003485/0.7161, allocations: 1.238 MB / 0.8108 GB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.7162, allocations: 0 / 0.8108 GB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.7162, allocations: 0 / 0.8108 GB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006497/0.7169, allocations: 254.6 kB / 0.811 GB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003576/0.7172, allocations: 12 kB / 0.811 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009017/0.7182, allocations: 23.97 kB / 0.811 GB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.7183, allocations: 51.67 kB / 0.8111 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003279/0.7216, allocations: 1.142 MB / 0.8122 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003136/0.7248, allocations: 1.346 MB / 0.8135 GB, free: 9.551 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001211/0.7261, allocations: 0.4896 MB / 0.814 GB, free: 9.062 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002843/0.7289, allocations: 1.244 MB / 0.8152 GB, free: 7.828 MB / 410.7 MB Notification: Performance of Backend: time 9.82e-07/0.729, allocations: 0 / 0.8152 GB, free: 7.828 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006436/0.7354, allocations: 1.949 MB / 0.8171 GB, free: 5.898 MB / 410.7 MB Notification: Performance of SimCode: time 0.01665/0.7521, allocations: 7.049 MB / 0.824 GB, free: 14.8 MB / 426.7 MB Notification: Performance of Templates: time 0.06814/0.8203, allocations: 19.79 MB / 0.8433 GB, free: 11.11 MB / 442.7 MB