Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.RelativeSensor.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.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.2_ModelicaTest.MultiBody.Sensors.RelativeSensor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002713/0.00272, allocations: 365.8 kB / 15.96 MB, free: 6.203 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.866/3.866, allocations: 388.9 MB / 405.6 MB, free: 9.641 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.00356/0.00356, allocations: 232.1 kB / 451 MB, free: 145 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.5799/0.5799, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004537/0.0004539, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09165/0.09213, allocations: 54.88 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.RelativeSensor): time 0.4188/0.511, allocations: 81.53 MB / 0.7597 GB, free: 2.293 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.05795/0.569, allocations: 18.17 MB / 0.7775 GB, free: 4.68 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02165/0.5907, allocations: 415.1 kB / 0.7779 GB, free: 4.617 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01725/0.608, allocations: 4.21 MB / 0.782 GB, free: 1.148 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05203/0.6601, allocations: 14.09 MB / 0.7957 GB, free: 3.008 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0109/0.671, allocations: 1.845 MB / 0.7975 GB, free: 1.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.07812/0.7492, allocations: 36.68 MB / 0.8334 GB, free: 12.43 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0953/0.8446, allocations: 39.85 MB / 0.8723 GB, free: 4.418 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009719/0.8544, allocations: 3.939 MB / 0.8761 GB, free: 476 kB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01534/0.8698, allocations: 6.324 MB / 0.8823 GB, free: 10.12 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003434/0.8733, allocations: 0.5508 MB / 0.8828 GB, free: 9.566 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008126/0.8814, allocations: 1.799 MB / 0.8846 GB, free: 7.766 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01204/0.8935, allocations: 6.585 MB / 0.891 GB, free: 1.164 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006953/0.9005, allocations: 3.289 MB / 0.8942 GB, free: 13.86 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.7758/1.676, allocations: 27.91 MB / 0.9215 GB, free: 59.66 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/1.676, allocations: 0 / 0.9215 GB, free: 59.66 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.705e-06/1.676, allocations: 0 / 0.9215 GB, free: 59.66 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.001217/1.678, allocations: 0 / 0.9215 GB, free: 59.66 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5962 * Number of variables: 5962 Notification: Performance of Generate backend data structure: time 0.06461/1.742, allocations: 15.9 MB / 0.937 GB, free: 54.18 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/1.742, allocations: 8.594 kB / 0.937 GB, free: 54.18 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06517/1.808, allocations: 5.242 MB / 0.9422 GB, free: 53.12 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03473/1.842, allocations: 9.352 MB / 0.9513 GB, free: 51.14 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001668/1.844, allocations: 1.314 MB / 0.9526 GB, free: 51.1 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01024/1.854, allocations: 1.74 MB / 0.9543 GB, free: 51.08 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1445/1.999, allocations: 41.41 MB / 0.9947 GB, free: 32.98 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00107/2, allocations: 97.2 kB / 0.9948 GB, free: 32.93 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01011/2.01, allocations: 0.7559 MB / 0.9955 GB, free: 32.75 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009705/2.02, allocations: 4.054 MB / 0.9995 GB, free: 29.45 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1167/2.137, allocations: 34 MB / 1.033 GB, free: 15.92 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.093/3.23, allocations: 119.2 MB / 1.149 GB, free: 163.6 MB / 0.5732 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1175/3.348, allocations: 22.42 MB / 1.171 GB, free: 161.2 MB / 0.5732 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01313/3.361, allocations: 7.057 MB / 1.178 GB, free: 161.2 MB / 0.5732 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07238/3.433, allocations: 27.91 MB / 1.205 GB, free: 151.6 MB / 0.5732 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.147e-05/3.434, allocations: 77.05 kB / 1.205 GB, free: 151.5 MB / 0.5732 GB Notification: Performance of pre-optimization done (n=372): time 1.015e-05/3.434, allocations: 0 / 1.205 GB, free: 151.5 MB / 0.5732 GB Notification: Performance of matching and sorting (n=486): time 2.647/6.081, allocations: 328.4 MB / 1.526 GB, free: 89.73 MB / 0.5732 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/6.081, allocations: 278.6 kB / 1.526 GB, free: 89.41 MB / 0.5732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0221/6.103, allocations: 10.14 MB / 1.536 GB, free: 79.27 MB / 0.5732 GB Notification: Performance of collectPreVariables (initialization): time 0.002937/6.106, allocations: 97.7 kB / 1.536 GB, free: 79.17 MB / 0.5732 GB Notification: Performance of collectInitialEqns (initialization): time 0.008019/6.114, allocations: 10.76 MB / 1.547 GB, free: 68.41 MB / 0.5732 GB Notification: Performance of collectInitialBindings (initialization): time 0.004684/6.119, allocations: 1.893 MB / 1.548 GB, free: 66.53 MB / 0.5732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004347/6.123, allocations: 347.9 kB / 1.549 GB, free: 66.2 MB / 0.5732 GB Notification: Performance of setup shared object (initialization): time 0.001716/6.125, allocations: 1.037 MB / 1.55 GB, free: 65.15 MB / 0.5732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0358/6.161, allocations: 16.19 MB / 1.566 GB, free: 48.95 MB / 0.5732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4203/6.581, allocations: 26.82 MB / 1.592 GB, free: 198 MB / 0.5732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04764/6.629, allocations: 20.22 MB / 1.612 GB, free: 191.2 MB / 0.5732 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0007264/6.63, allocations: 109.7 kB / 1.612 GB, free: 191.2 MB / 0.5732 GB Notification: Performance of matching and sorting (n=2240) (initialization): time 0.1078/6.737, allocations: 43.23 MB / 1.654 GB, free: 169.4 MB / 0.5732 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004775/6.738, allocations: 164 kB / 1.654 GB, free: 169.3 MB / 0.5732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007467/6.739, allocations: 372 kB / 1.654 GB, free: 168.9 MB / 0.5732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006291/6.745, allocations: 1.529 MB / 1.656 GB, free: 167.7 MB / 0.5732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05523/6.8, allocations: 5.269 MB / 1.661 GB, free: 163.6 MB / 0.5732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01364/6.814, allocations: 7.808 MB / 1.669 GB, free: 156.4 MB / 0.5732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03132/6.845, allocations: 2.129 MB / 1.671 GB, free: 155.1 MB / 0.5732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005614/6.851, allocations: 1.031 MB / 1.672 GB, free: 154 MB / 0.5732 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.02383/6.875, allocations: 7.836 MB / 1.679 GB, free: 147.2 MB / 0.5732 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004439/6.879, allocations: 0.8734 MB / 1.68 GB, free: 146.8 MB / 0.5732 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08401/6.963, allocations: 31.2 MB / 1.711 GB, free: 119.8 MB / 0.5732 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001516/6.964, allocations: 27.06 kB / 1.711 GB, free: 119.8 MB / 0.5732 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/6.964, allocations: 0 / 1.711 GB, free: 119.8 MB / 0.5732 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01285/6.977, allocations: 3.994 MB / 1.715 GB, free: 116.3 MB / 0.5732 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006482/6.983, allocations: 75.94 kB / 1.715 GB, free: 116.2 MB / 0.5732 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02735/7.01, allocations: 1.612 MB / 1.716 GB, free: 114.6 MB / 0.5732 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004677/7.015, allocations: 260.9 kB / 1.717 GB, free: 114.3 MB / 0.5732 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.09697/7.112, allocations: 30.37 MB / 1.746 GB, free: 84.05 MB / 0.5732 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.1102/7.223, allocations: 50.79 MB / 1.796 GB, free: 33.42 MB / 0.5732 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.4487/7.671, allocations: 14.61 MB / 1.81 GB, free: 194.5 MB / 0.5732 GB Notification: Performance of sorting global known variables: time 0.01718/7.689, allocations: 6.263 MB / 1.816 GB, free: 192.3 MB / 0.5732 GB Notification: Performance of Backend: time 1.021e-06/7.689, allocations: 2.953 kB / 1.816 GB, free: 192.3 MB / 0.5732 GB Notification: Performance of simCode: created initialization part: time 0.06085/7.749, allocations: 22.33 MB / 1.838 GB, free: 182.9 MB / 0.5732 GB Notification: Performance of SimCode: time 0.1147/7.864, allocations: 37.76 MB / 1.875 GB, free: 157.7 MB / 0.5732 GB Notification: Performance of Templates: time 0.9846/8.849, allocations: 242.1 MB / 2.111 GB, free: 128.3 MB / 0.5732 GB