Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor.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.RelativeSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relative_a1.r_rel.3.|relative_a1.v_rel.3.|relative_a1.a_rel.3.|relative_a1.angles.3.|relative_a1.w_rel.3.|relative_a2.r_rel.3.|relative_a2.v_rel.3.|relative_a2.a_rel.3.|relative_a2.angles.3.|relative_a2.w_rel.3.|relative_a2.z_rel.3.|relative_b2.r_rel.3.|relative_b2.v_rel.3.|relative_b2.angles.3.|relative_b2.w_rel.3.|relative_b2.z_rel.3.|relative_b1.r_rel.3.|relative_b1.v_rel.3.|relative_b1.a_rel.3.|relative_b1.angles.3.|relative_b1.w_rel.3.|relative_b1.z_rel.3.|relativeSensor.r_rel.3.|relativeSensor.angles.3.|relative_a1.r_rel.2.|relative_a1.v_rel.2.|relative_a1.a_rel.2.|relative_a1.angles.2.|relative_a1.w_rel.2.|relative_a2.r_rel.2.|relative_a2.v_rel.2.|relative_a2.a_rel.2.|relative_a2.angles.2.|relative_a2.w_rel.2.|relative_a2.z_rel.2.|relative_b2.r_rel.2.|relative_b2.v_rel.2.|relative_b2.angles.2.|relative_b2.w_rel.2.|relative_b2.z_rel.2.|relative_b1.r_rel.2.|relative_b1.v_rel.2.|relative_b1.a_rel.2.|relative_b1.angles.2.|relative_b1.w_rel.2.|relative_b1.z_rel.2.|relativeSensor.r_rel.2.|relativeSensor.angles.2.|relative_a1.r_rel.1.|relative_a1.v_rel.1.|relative_a1.a_rel.1.|relative_a1.angles.1.|relative_a1.w_rel.1.|relative_a2.r_rel.1.|relative_a2.v_rel.1.|relative_a2.a_rel.1.|relative_a2.angles.1.|relative_a2.w_rel.1.|relative_a2.z_rel.1.|relative_b2.r_rel.1.|relative_b2.v_rel.1.|relative_b2.angles.1.|relative_b2.w_rel.1.|relative_b2.z_rel.1.|relative_b1.r_rel.1.|relative_b1.v_rel.1.|relative_b1.a_rel.1.|relative_b1.angles.1.|relative_b1.w_rel.1.|relative_b1.z_rel.1.|relativeSensor.r_rel.1.|relativeSensor.angles.1.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.RelativeSensor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004256/0.004261, allocations: 348.7 kB / 15.95 MB, free: 6.215 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.503/3.503, 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.003462/0.003462, allocations: 221.1 kB / 397.9 MB, free: 4.98 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.4525/0.4525, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006198/0.0006202, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0983/0.09895, allocations: 48.72 MB / 0.6068 GB, free: 4.645 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.RelativeSensor): time 0.4258/0.5248, allocations: 81.49 MB / 0.6863 GB, free: 31.12 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04934/0.5742, allocations: 18.15 MB / 0.7041 GB, free: 13.06 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02063/0.5949, allocations: 415 kB / 0.7045 GB, free: 12.66 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01811/0.6131, allocations: 4.207 MB / 0.7086 GB, free: 8.43 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0569/0.67, allocations: 14.09 MB / 0.7223 GB, free: 10.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01522/0.6853, allocations: 1.853 MB / 0.7241 GB, free: 8.434 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.11/0.7954, allocations: 36.67 MB / 0.7599 GB, free: 3.703 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4243/1.22, allocations: 39.85 MB / 0.7989 GB, free: 27.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00845/1.228, allocations: 3.939 MB / 0.8027 GB, free: 27.19 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01332/1.242, allocations: 6.326 MB / 0.8089 GB, free: 27.17 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003677/1.245, allocations: 0.5483 MB / 0.8094 GB, free: 27.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007912/1.253, allocations: 1.799 MB / 0.8112 GB, free: 26.76 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01059/1.264, allocations: 6.581 MB / 0.8176 GB, free: 22.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006477/1.27, allocations: 3.284 MB / 0.8208 GB, free: 21.67 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03528/1.306, allocations: 27.92 MB / 0.8481 GB, free: 13.53 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/1.306, allocations: 0 / 0.8481 GB, free: 13.53 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.384e-06/1.306, allocations: 0 / 0.8481 GB, free: 13.53 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001146/1.307, allocations: 0 / 0.8481 GB, free: 13.53 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5960 * Number of variables: 5960 Notification: Performance of Generate backend data structure: time 0.05944/1.367, allocations: 15.9 MB / 0.8636 GB, free: 15.11 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/1.367, allocations: 12.03 kB / 0.8636 GB, free: 15.1 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06097/1.428, allocations: 5.244 MB / 0.8687 GB, free: 10.03 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03161/1.459, allocations: 9.343 MB / 0.8778 GB, free: 3.941 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001616/1.461, allocations: 1.313 MB / 0.8791 GB, free: 3.199 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008091/1.469, allocations: 1.736 MB / 0.8808 GB, free: 2.047 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1447/1.614, allocations: 41.41 MB / 0.9213 GB, free: 15.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000889/1.615, allocations: 95.19 kB / 0.9214 GB, free: 15.85 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007187/1.622, allocations: 0.7579 MB / 0.9221 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01026/1.632, allocations: 4.054 MB / 0.9261 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7667/2.399, allocations: 33.98 MB / 0.9592 GB, free: 175.5 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2675/2.667, allocations: 119.2 MB / 1.076 GB, free: 85.55 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1114/2.778, allocations: 22.42 MB / 1.098 GB, free: 62.68 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01263/2.791, allocations: 7.057 MB / 1.104 GB, free: 55.62 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05787/2.849, allocations: 27.91 MB / 1.132 GB, free: 27.32 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.675e-05/2.849, allocations: 72.98 kB / 1.132 GB, free: 27.24 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=372): time 9.558e-06/2.849, allocations: 0 / 1.132 GB, free: 27.24 MB / 0.4949 GB Notification: Performance of matching and sorting (n=486): time 3.134/5.983, allocations: 328.4 MB / 1.452 GB, free: 90.93 MB / 0.495 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/5.983, allocations: 282.6 kB / 1.453 GB, free: 90.59 MB / 0.495 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02083/6.004, allocations: 10.13 MB / 1.463 GB, free: 80.46 MB / 0.495 GB Notification: Performance of collectPreVariables (initialization): time 0.004417/6.008, allocations: 106.8 kB / 1.463 GB, free: 80.36 MB / 0.495 GB Notification: Performance of collectInitialEqns (initialization): time 0.008361/6.017, allocations: 10.75 MB / 1.473 GB, free: 69.61 MB / 0.495 GB Notification: Performance of collectInitialBindings (initialization): time 0.004571/6.021, allocations: 1.895 MB / 1.475 GB, free: 67.73 MB / 0.495 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004313/6.026, allocations: 345.5 kB / 1.475 GB, free: 67.39 MB / 0.495 GB Notification: Performance of setup shared object (initialization): time 0.001767/6.027, allocations: 1.041 MB / 1.476 GB, free: 66.34 MB / 0.495 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03505/6.062, allocations: 16.19 MB / 1.492 GB, free: 50.14 MB / 0.495 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4081/6.471, allocations: 26.82 MB / 1.518 GB, free: 144.1 MB / 0.495 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06541/6.536, allocations: 20.22 MB / 1.538 GB, free: 137.3 MB / 0.495 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0009475/6.537, allocations: 106.3 kB / 1.538 GB, free: 137.3 MB / 0.495 GB Notification: Performance of matching and sorting (n=2240) (initialization): time 0.114/6.651, allocations: 43.24 MB / 1.58 GB, free: 119.2 MB / 0.495 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004034/6.652, allocations: 164.8 kB / 1.581 GB, free: 119.2 MB / 0.495 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006853/6.652, allocations: 374.2 kB / 1.581 GB, free: 119.2 MB / 0.495 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006358/6.659, allocations: 1.525 MB / 1.582 GB, free: 118.2 MB / 0.495 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04507/6.704, allocations: 5.272 MB / 1.588 GB, free: 114.1 MB / 0.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01324/6.717, allocations: 7.811 MB / 1.595 GB, free: 107 MB / 0.495 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03031/6.747, allocations: 2.135 MB / 1.597 GB, free: 105.6 MB / 0.495 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005101/6.753, allocations: 1.027 MB / 1.598 GB, free: 104.6 MB / 0.495 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1710 * Number of states: 0 () * Number of discrete variables: 45 (relativeSensor.arrowColor[3],relativeSensor.arrowColor[2],relativeSensor.arrowColor[1],relative_b1.arrowColor[3],relative_b1.arrowColor[2],relative_b1.arrowColor[1],relative_b2.arrowColor[3],relative_b2.arrowColor[2],relative_b2.arrowColor[1],relative_a2.arrowColor[3],relative_a2.arrowColor[2],relative_a2.arrowColor[1],relative_a1.arrowColor[3],relative_a1.arrowColor[2],relative_a1.arrowColor[1],BodyBox2.color[3],BodyBox2.color[2],BodyBox2.color[1],BodyBox2.body.sphereColor[3],BodyBox2.body.sphereColor[2],BodyBox2.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (2184): * Single equations (assignments): 2174 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 10,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02313/6.776, allocations: 7.829 MB / 1.606 GB, free: 97.72 MB / 0.495 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004291/6.78, allocations: 0.8654 MB / 1.607 GB, free: 97.32 MB / 0.495 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07475/6.855, allocations: 31.2 MB / 1.637 GB, free: 70.28 MB / 0.495 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001447/6.855, allocations: 20.91 kB / 1.637 GB, free: 70.26 MB / 0.495 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/6.855, allocations: 4 kB / 1.637 GB, free: 70.25 MB / 0.495 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01262/6.868, allocations: 4.002 MB / 1.641 GB, free: 66.7 MB / 0.495 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00585/6.874, allocations: 73.64 kB / 1.641 GB, free: 66.63 MB / 0.495 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02397/6.898, allocations: 1.612 MB / 1.643 GB, free: 65.02 MB / 0.495 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00523/6.903, allocations: 264.3 kB / 1.643 GB, free: 64.76 MB / 0.495 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.09027/6.993, allocations: 30.37 MB / 1.673 GB, free: 34.47 MB / 0.495 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.4604/7.454, allocations: 50.79 MB / 1.722 GB, free: 129.6 MB / 0.495 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.03202/7.486, allocations: 14.61 MB / 1.737 GB, free: 122.9 MB / 0.495 GB Notification: Performance of sorting global known variables: time 0.02187/7.508, allocations: 6.268 MB / 1.743 GB, free: 120.7 MB / 0.495 GB Notification: Performance of Backend: time 2.144e-06/7.508, allocations: 1.406 kB / 1.743 GB, free: 120.7 MB / 0.495 GB Notification: Performance of simCode: created initialization part: time 0.0773/7.585, allocations: 22.33 MB / 1.765 GB, free: 105.4 MB / 0.495 GB Notification: Performance of SimCode: time 0.08986/7.675, allocations: 37.74 MB / 1.801 GB, free: 70.48 MB / 0.495 GB Notification: Performance of Templates: time 0.9354/8.611, allocations: 242.1 MB / 2.038 GB, free: 10.46 MB / 0.495 GB