Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.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.AbsoluteSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sensor_frame_a1.r.3.|sensor_frame_a1.v.3.|sensor_frame_a1.a.3.|sensor_frame_a1.angles.3.|sensor_frame_a1.w.3.|sensor_frame_a1.z.3.|sensor_world1.r.3.|sensor_world1.v.3.|sensor_world1.a.3.|sensor_world1.angles.3.|sensor_world1.w.3.|sensor_world1.z.3.|sensor_frame_a2.r.3.|sensor_frame_a2.v.3.|sensor_frame_a2.a.3.|sensor_frame_a2.angles.3.|sensor_frame_a2.w.3.|sensor_frame_a2.z.3.|sensor_world2.r.3.|sensor_world2.v.3.|sensor_world2.a.3.|sensor_world2.angles.3.|sensor_world2.z.3.|sensor_world2.w.3.|sensor_frame_a1.r.2.|sensor_frame_a1.v.2.|sensor_frame_a1.a.2.|sensor_frame_a1.angles.2.|sensor_frame_a1.w.2.|sensor_frame_a1.z.2.|sensor_world1.r.2.|sensor_world1.v.2.|sensor_world1.a.2.|sensor_world1.angles.2.|sensor_world1.w.2.|sensor_world1.z.2.|sensor_frame_a2.r.2.|sensor_frame_a2.v.2.|sensor_frame_a2.a.2.|sensor_frame_a2.angles.2.|sensor_frame_a2.w.2.|sensor_frame_a2.z.2.|sensor_world2.r.2.|sensor_world2.v.2.|sensor_world2.a.2.|sensor_world2.angles.2.|sensor_world2.z.2.|sensor_world2.w.2.|sensor_frame_a1.r.1.|sensor_frame_a1.v.1.|sensor_frame_a1.a.1.|sensor_frame_a1.angles.1.|sensor_frame_a1.w.1.|sensor_frame_a1.z.1.|sensor_world1.r.1.|sensor_world1.v.1.|sensor_world1.a.1.|sensor_world1.angles.1.|sensor_world1.w.1.|sensor_world1.z.1.|sensor_frame_a2.r.1.|sensor_frame_a2.v.1.|sensor_frame_a2.a.1.|sensor_frame_a2.angles.1.|sensor_frame_a2.w.1.|sensor_frame_a2.z.1.|sensor_world2.r.1.|sensor_world2.v.1.|sensor_world2.a.1.|sensor_world2.angles.1.|sensor_world2.z.1.|sensor_world2.w.1.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002548/0.002547, allocations: 348.5 kB / 15.95 MB, free: 6.223 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.629/3.629, allocations: 341.5 MB / 358.2 MB, free: 12.55 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.003631/0.003631, allocations: 229.2 kB / 397.9 MB, free: 4.895 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.459/0.459, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004764/0.0004766, allocations: 12 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08524/0.08575, allocations: 48.71 MB / 0.6068 GB, free: 4.625 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.3381/0.4239, allocations: 57.13 MB / 0.6625 GB, free: 54.23 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.039/0.463, allocations: 13.84 MB / 0.6761 GB, free: 41.74 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01531/0.4784, allocations: 299.2 kB / 0.6763 GB, free: 41.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01088/0.4893, allocations: 2.974 MB / 0.6792 GB, free: 38.46 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03235/0.5217, allocations: 10.01 MB / 0.689 GB, free: 28.41 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008781/0.5305, allocations: 1.658 MB / 0.6906 GB, free: 26.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.04064/0.5712, allocations: 24.18 MB / 0.7142 GB, free: 2.535 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08252/0.6538, allocations: 36.66 MB / 0.75 GB, free: 14.13 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008062/0.6619, allocations: 3.566 MB / 0.7535 GB, free: 10.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01344/0.6754, allocations: 5.896 MB / 0.7593 GB, free: 4.637 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002998/0.6785, allocations: 0.5273 MB / 0.7598 GB, free: 4.109 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00736/0.6859, allocations: 1.713 MB / 0.7615 GB, free: 2.395 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.4145/1.1, allocations: 6.121 MB / 0.7675 GB, free: 37.49 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009674/1.11, allocations: 3.219 MB / 0.7706 GB, free: 37.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04873/1.159, allocations: 27.48 MB / 0.7974 GB, free: 31.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/1.159, allocations: 0 / 0.7974 GB, free: 31.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.765e-06/1.159, allocations: 3.969 kB / 0.7974 GB, free: 31.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.001319/1.16, allocations: 0 / 0.7974 GB, free: 31.6 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5712 * Number of variables: 5712 Notification: Performance of Generate backend data structure: time 0.04726/1.208, allocations: 13.33 MB / 0.8105 GB, free: 23.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/1.208, allocations: 11.03 kB / 0.8105 GB, free: 23.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04384/1.252, allocations: 4.29 MB / 0.8147 GB, free: 22.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02445/1.276, allocations: 7.844 MB / 0.8223 GB, free: 20.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001208/1.277, allocations: 1.251 MB / 0.8235 GB, free: 19.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007784/1.285, allocations: 1.652 MB / 0.8252 GB, free: 19.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1692/1.454, allocations: 39.2 MB / 0.8634 GB, free: 12.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008317/1.455, allocations: 120.5 kB / 0.8636 GB, free: 12.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007286/1.463, allocations: 0.734 MB / 0.8643 GB, free: 12.26 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009432/1.472, allocations: 3.904 MB / 0.8681 GB, free: 9.141 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.113/1.585, allocations: 29.84 MB / 0.8972 GB, free: 14.89 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8538/2.439, allocations: 123.2 MB / 1.018 GB, free: 87.52 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06765/2.507, allocations: 13.03 MB / 1.03 GB, free: 86.69 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01106/2.518, allocations: 3.753 MB / 1.034 GB, free: 86.34 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01657/2.535, allocations: 15.19 MB / 1.049 GB, free: 73.22 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.21e-05/2.535, allocations: 58.78 kB / 1.049 GB, free: 73.17 MB / 490.8 MB Notification: Performance of pre-optimization done (n=274): time 8.696e-06/2.535, allocations: 1.922 kB / 1.049 GB, free: 73.17 MB / 490.8 MB Notification: Performance of matching and sorting (n=309): time 0.3892/2.924, allocations: 78.68 MB / 1.126 GB, free: 0.9297 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.605e-05/2.924, allocations: 221.9 kB / 1.126 GB, free: 0.668 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7309/3.655, allocations: 10.62 MB / 1.136 GB, free: 165.2 MB / 490.9 MB Notification: Performance of collectPreVariables (initialization): time 0.001204/3.656, allocations: 73.77 kB / 1.136 GB, free: 165.2 MB / 490.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.0145/3.671, allocations: 11.03 MB / 1.147 GB, free: 158.2 MB / 490.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.004254/3.675, allocations: 1.357 MB / 1.148 GB, free: 157.3 MB / 490.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004229/3.679, allocations: 368 kB / 1.149 GB, free: 157 MB / 490.9 MB Notification: Performance of setup shared object (initialization): time 0.003605/3.683, allocations: 1.083 MB / 1.15 GB, free: 156.3 MB / 490.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0267/3.71, allocations: 6.21 MB / 1.156 GB, free: 154.1 MB / 490.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03726/3.747, allocations: 18.69 MB / 1.174 GB, free: 134.8 MB / 490.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.036/3.783, allocations: 10.75 MB / 1.185 GB, free: 128.1 MB / 490.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005701/3.784, allocations: 128 kB / 1.185 GB, free: 128 MB / 490.9 MB Notification: Performance of matching and sorting (n=2368) (initialization): time 0.06087/3.845, allocations: 23.98 MB / 1.208 GB, free: 106.6 MB / 490.9 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003818/3.845, allocations: 200 kB / 1.208 GB, free: 106.4 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008166/3.846, allocations: 444 kB / 1.209 GB, free: 106 MB / 490.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003944/3.85, allocations: 1.153 MB / 1.21 GB, free: 105 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02565/3.876, allocations: 4.423 MB / 1.214 GB, free: 101.1 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007885/3.884, allocations: 4.678 MB / 1.219 GB, free: 96.7 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01917/3.903, allocations: 1.074 MB / 1.22 GB, free: 95.62 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003811/3.907, allocations: 1.161 MB / 1.221 GB, free: 94.46 MB / 490.9 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2036 * Number of states: 0 () * Number of discrete variables: 30 (sensor_world2.arrowColor[3],sensor_world2.arrowColor[2],sensor_world2.arrowColor[1],sensor_frame_a2.arrowColor[3],sensor_frame_a2.arrowColor[2],sensor_frame_a2.arrowColor[1],sensor_world1.arrowColor[3],sensor_world1.arrowColor[2],sensor_world1.arrowColor[1],sensor_frame_a1.arrowColor[3],sensor_frame_a1.arrowColor[2],sensor_frame_a1.arrowColor[1],box.color[3],box.color[2],box.color[1],box.body.sphereColor[3],box.body.sphereColor[2],box.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (2322): * Single equations (assignments): 2314 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02137/3.928, allocations: 7.861 MB / 1.229 GB, free: 86.59 MB / 490.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002085/3.93, allocations: 0.8174 MB / 1.23 GB, free: 85.76 MB / 490.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01839/3.949, allocations: 6.582 MB / 1.236 GB, free: 79.14 MB / 490.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.686e-05/3.949, allocations: 15.94 kB / 1.236 GB, free: 79.12 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/3.949, allocations: 8 kB / 1.236 GB, free: 79.12 MB / 490.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005032/3.954, allocations: 1.341 MB / 1.237 GB, free: 77.75 MB / 490.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003283/3.957, allocations: 48.77 kB / 1.237 GB, free: 77.7 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007574/3.965, allocations: 401.9 kB / 1.238 GB, free: 77.31 MB / 490.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001022/3.966, allocations: 171.9 kB / 1.238 GB, free: 77.15 MB / 490.9 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01916/3.985, allocations: 6.617 MB / 1.244 GB, free: 70.53 MB / 490.9 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02311/4.008, allocations: 10.68 MB / 1.255 GB, free: 59.78 MB / 490.9 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005946/4.014, allocations: 2.818 MB / 1.258 GB, free: 56.96 MB / 490.9 MB Notification: Performance of sorting global known variables: time 0.01823/4.033, allocations: 6.516 MB / 1.264 GB, free: 50.47 MB / 490.9 MB Notification: Performance of Backend: time 2.024e-06/4.033, allocations: 0 / 1.264 GB, free: 50.47 MB / 490.9 MB Notification: Performance of simCode: created initialization part: time 0.03918/4.072, allocations: 11.62 MB / 1.275 GB, free: 38.98 MB / 490.9 MB Notification: Performance of SimCode: time 0.4336/4.506, allocations: 35.57 MB / 1.31 GB, free: 137.4 MB / 490.9 MB Notification: Performance of Templates: time 0.3639/4.87, allocations: 97.6 MB / 1.405 GB, free: 65.59 MB / 490.9 MB