Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003842/0.003848, allocations: 370.7 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.25 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.003568/0.003568, allocations: 222.5 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.5603/0.5603, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007538/0.0007542, allocations: 15.98 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1388, allocations: 54.86 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.07888/0.2178, allocations: 33.41 MB / 0.7127 GB, free: 8.164 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.3371/0.5549, allocations: 7.021 MB / 0.7196 GB, free: 11.96 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006757/0.5618, allocations: 149.6 kB / 0.7197 GB, free: 11.96 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006047/0.5679, allocations: 1.661 MB / 0.7213 GB, free: 11.95 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01951/0.5874, allocations: 5.643 MB / 0.7269 GB, free: 11.67 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002498/0.59, allocations: 259.6 kB / 0.7271 GB, free: 11.66 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.006036/0.5961, allocations: 2.781 MB / 0.7298 GB, free: 11.65 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006352/0.6025, allocations: 3.008 MB / 0.7328 GB, free: 11.2 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001713/0.6043, allocations: 0.7077 MB / 0.7334 GB, free: 11.08 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002308/0.6066, allocations: 1.114 MB / 0.7345 GB, free: 10.87 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000518/0.6072, allocations: 93.97 kB / 0.7346 GB, free: 10.87 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001802/0.609, allocations: 0.5387 MB / 0.7352 GB, free: 10.74 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001442/0.6105, allocations: 1.045 MB / 0.7362 GB, free: 10.44 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007115/0.6112, allocations: 0.5484 MB / 0.7367 GB, free: 10.29 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005426/0.6166, allocations: 3.61 MB / 0.7402 GB, free: 8.332 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.6167, allocations: 0 / 0.7402 GB, free: 8.332 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.476e-06/0.6167, allocations: 1.062 kB / 0.7402 GB, free: 8.332 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001644/0.6169, allocations: 0 / 0.7402 GB, free: 8.332 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: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.007298/0.6242, allocations: 2.588 MB / 0.7428 GB, free: 6.668 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.6243, allocations: 9.078 kB / 0.7428 GB, free: 6.668 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/0.6355, allocations: 1.936 MB / 0.7447 GB, free: 5.793 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004347/0.6399, allocations: 1.362 MB / 0.746 GB, free: 5.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001796/0.6401, allocations: 156.1 kB / 0.7461 GB, free: 5.148 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009911/0.6411, allocations: 202.1 kB / 0.7463 GB, free: 5.145 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01794/0.6591, allocations: 6.802 MB / 0.753 GB, free: 3.297 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.752e-05/0.6592, allocations: 17.41 kB / 0.753 GB, free: 3.285 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004555/0.6597, allocations: 94.3 kB / 0.7531 GB, free: 3.285 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003828/0.6635, allocations: 1.473 MB / 0.7545 GB, free: 2.961 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01719/0.6808, allocations: 5.826 MB / 0.7602 GB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04678/0.7276, allocations: 21.5 MB / 0.7812 GB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008144/0.7358, allocations: 2.25 MB / 0.7834 GB, free: 9.543 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002167/0.738, allocations: 0.785 MB / 0.7842 GB, free: 8.758 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01113/0.7492, allocations: 3.734 MB / 0.7878 GB, free: 4.914 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.902e-05/0.7493, allocations: 39.11 kB / 0.7878 GB, free: 4.867 MB / 378.7 MB Notification: Performance of pre-optimization done (n=93): time 8.346e-06/0.7493, allocations: 0 / 0.7878 GB, free: 4.867 MB / 378.7 MB Notification: Performance of matching and sorting (n=93): time 0.01059/0.7599, allocations: 2.189 MB / 0.79 GB, free: 2.668 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.76, allocations: 55.97 kB / 0.79 GB, free: 2.602 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004822/0.7648, allocations: 1.985 MB / 0.792 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002081/0.7651, allocations: 40.58 kB / 0.792 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00234/0.7675, allocations: 1.944 MB / 0.7939 GB, free: 14.63 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007356/0.7683, allocations: 368 kB / 0.7943 GB, free: 14.28 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003734/0.7686, allocations: 60 kB / 0.7943 GB, free: 14.22 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000498/0.7692, allocations: 0.4939 MB / 0.7948 GB, free: 13.71 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002922/0.7721, allocations: 0.947 MB / 0.7957 GB, free: 12.77 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00514/0.7773, allocations: 2.891 MB / 0.7986 GB, free: 8.918 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004614/0.7819, allocations: 1.655 MB / 0.8002 GB, free: 7.273 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.191e-05/0.7821, allocations: 24 kB / 0.8002 GB, free: 7.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.01162/0.7937, allocations: 3.734 MB / 0.8038 GB, free: 3.516 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.147e-05/0.7938, allocations: 36 kB / 0.8039 GB, free: 3.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001016/0.7939, allocations: 68 kB / 0.8039 GB, free: 3.414 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001568/0.7941, allocations: 100 kB / 0.804 GB, free: 3.316 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004433/0.7986, allocations: 0.7095 MB / 0.8047 GB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001826/0.7988, allocations: 131.5 kB / 0.8049 GB, free: 2.477 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003539/0.8023, allocations: 453.1 kB / 0.8053 GB, free: 2.035 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000693/0.8031, allocations: 196 kB / 0.8055 GB, free: 1.844 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.00394/0.807, allocations: 1.415 MB / 0.8069 GB, free: 432 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000432/0.8075, allocations: 165.8 kB / 0.807 GB, free: 264 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00359/0.8111, allocations: 1.189 MB / 0.8082 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.8112, allocations: 3.984 kB / 0.8082 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/0.8112, allocations: 4 kB / 0.8082 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006721/0.8119, allocations: 246.7 kB / 0.8084 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003467/0.8122, allocations: 12 kB / 0.8084 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008518/0.8131, allocations: 27.97 kB / 0.8085 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.8132, allocations: 40.52 kB / 0.8085 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003235/0.8165, allocations: 1.105 MB / 0.8096 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003139/0.8197, allocations: 1.301 MB / 0.8108 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001179/0.8209, allocations: 484 kB / 0.8113 GB, free: 11.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003125/0.824, allocations: 1.224 MB / 0.8125 GB, free: 10.61 MB / 410.7 MB Notification: Performance of Backend: time 1.623e-06/0.8241, allocations: 0 / 0.8125 GB, free: 10.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006353/0.8305, allocations: 1.901 MB / 0.8144 GB, free: 8.723 MB / 410.7 MB Notification: Performance of SimCode: time 0.01718/0.8477, allocations: 6.853 MB / 0.821 GB, free: 1.828 MB / 410.7 MB Notification: Performance of Templates: time 0.06759/0.9153, allocations: 19.26 MB / 0.8399 GB, free: 14.65 MB / 442.7 MB