Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002603/0.00261, allocations: 351 kB / 15.95 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.477/3.477, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003532/0.003532, allocations: 225.1 kB / 397.9 MB, free: 4.984 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5938/0.5938, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006251/0.0006254, allocations: 16 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1176, allocations: 48.7 MB / 0.6067 GB, free: 4.66 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.3321/0.4498, allocations: 33.4 MB / 0.6393 GB, free: 71.41 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0205/0.4703, allocations: 7.012 MB / 0.6462 GB, free: 66.7 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007905/0.4783, allocations: 144.4 kB / 0.6463 GB, free: 66.69 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006102/0.4845, allocations: 1.659 MB / 0.648 GB, free: 66.15 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01928/0.5038, allocations: 5.646 MB / 0.6535 GB, free: 63 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0026/0.5065, allocations: 270 kB / 0.6537 GB, free: 62.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005124/0.5116, allocations: 2.789 MB / 0.6564 GB, free: 61.25 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005536/0.5172, allocations: 3.001 MB / 0.6594 GB, free: 58.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.5185, allocations: 0.7082 MB / 0.6601 GB, free: 58.21 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001983/0.5206, allocations: 1.114 MB / 0.6612 GB, free: 57.1 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00046/0.5211, allocations: 96 kB / 0.6613 GB, free: 57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.5226, allocations: 0.5383 MB / 0.6618 GB, free: 56.46 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001196/0.5238, allocations: 1.04 MB / 0.6628 GB, free: 55.42 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006019/0.5244, allocations: 0.5468 MB / 0.6633 GB, free: 54.87 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004536/0.529, allocations: 3.605 MB / 0.6668 GB, free: 51.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.718e-06/0.5291, allocations: 4 kB / 0.6668 GB, free: 51.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.879e-06/0.5291, allocations: 0 / 0.6668 GB, free: 51.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001395/0.5292, allocations: 7.5 kB / 0.6669 GB, free: 51.25 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: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.006592/0.5358, allocations: 2.592 MB / 0.6694 GB, free: 48.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.5359, allocations: 15.97 kB / 0.6694 GB, free: 48.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/0.547, allocations: 1.938 MB / 0.6713 GB, free: 46.63 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003829/0.5509, allocations: 1.354 MB / 0.6726 GB, free: 45.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001653/0.5511, allocations: 155.9 kB / 0.6728 GB, free: 45.08 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009562/0.5521, allocations: 199.9 kB / 0.673 GB, free: 44.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02342/0.5756, allocations: 6.808 MB / 0.6796 GB, free: 37.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001086/0.5757, allocations: 15.81 kB / 0.6796 GB, free: 37.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001106/0.5769, allocations: 99.84 kB / 0.6797 GB, free: 37.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005734/0.5826, allocations: 1.47 MB / 0.6812 GB, free: 36.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02523/0.6079, allocations: 5.825 MB / 0.6868 GB, free: 30.33 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05941/0.6674, allocations: 21.49 MB / 0.7078 GB, free: 8.328 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007208/0.6747, allocations: 2.252 MB / 0.71 GB, free: 5.961 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001814/0.6765, allocations: 0.7815 MB / 0.7108 GB, free: 5.172 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01263/0.6892, allocations: 3.733 MB / 0.7144 GB, free: 1.301 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.225e-05/0.6893, allocations: 43.12 kB / 0.7145 GB, free: 1.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=93): time 7.524e-06/0.6894, allocations: 0 / 0.7145 GB, free: 1.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=93): time 0.01499/0.7044, allocations: 2.181 MB / 0.7166 GB, free: 15.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.7045, allocations: 63.92 kB / 0.7167 GB, free: 14.99 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006398/0.7109, allocations: 1.987 MB / 0.7186 GB, free: 13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001774/0.7111, allocations: 37.7 kB / 0.7186 GB, free: 12.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002152/0.7133, allocations: 1.949 MB / 0.7205 GB, free: 10.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005955/0.7139, allocations: 363.3 kB / 0.7209 GB, free: 10.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002648/0.7142, allocations: 63.98 kB / 0.721 GB, free: 10.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004767/0.7147, allocations: 0.4939 MB / 0.7214 GB, free: 10.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00256/0.7172, allocations: 0.947 MB / 0.7224 GB, free: 9.105 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004422/0.7217, allocations: 2.888 MB / 0.7252 GB, free: 5.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004385/0.7261, allocations: 1.656 MB / 0.7268 GB, free: 3.598 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.664e-05/0.7262, allocations: 20 kB / 0.7268 GB, free: 3.578 MB / 378.7 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.01066/0.7369, allocations: 3.729 MB / 0.7305 GB, free: 15.85 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.262e-05/0.737, allocations: 32 kB / 0.7305 GB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001163/0.7372, allocations: 72 kB / 0.7306 GB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001406/0.7373, allocations: 100 kB / 0.7306 GB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004381/0.7417, allocations: 0.7057 MB / 0.7313 GB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001584/0.7419, allocations: 131.5 kB / 0.7315 GB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004265/0.7462, allocations: 451.4 kB / 0.7319 GB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006487/0.7469, allocations: 204 kB / 0.7321 GB, free: 14.17 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 21 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[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 (388): * Single equations (assignments): 383 * 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.003495/0.7504, allocations: 1.414 MB / 0.7335 GB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000424/0.7508, allocations: 165.8 kB / 0.7336 GB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003404/0.7543, allocations: 1.185 MB / 0.7348 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/0.7543, allocations: 0 / 0.7348 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.7544, allocations: 3.984 kB / 0.7348 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000674/0.755, allocations: 242.7 kB / 0.735 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003947/0.7555, allocations: 23.27 kB / 0.735 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009092/0.7564, allocations: 27.97 kB / 0.7351 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.7565, allocations: 40.5 kB / 0.7351 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003246/0.7598, allocations: 1.108 MB / 0.7362 GB, free: 9.918 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003017/0.7629, allocations: 1.299 MB / 0.7375 GB, free: 8.594 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001149/0.7641, allocations: 484.6 kB / 0.7379 GB, free: 8.125 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002873/0.767, allocations: 1.227 MB / 0.7391 GB, free: 6.906 MB / 394.7 MB Notification: Performance of Backend: time 9.21e-07/0.767, allocations: 0 / 0.7391 GB, free: 6.906 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006203/0.7732, allocations: 1.906 MB / 0.741 GB, free: 5.016 MB / 394.7 MB Notification: Performance of SimCode: time 0.01677/0.79, allocations: 6.849 MB / 0.7477 GB, free: 14.12 MB / 410.7 MB Notification: Performance of Templates: time 0.3493/1.139, allocations: 19.24 MB / 0.7665 GB, free: 121.6 MB / 410.7 MB