Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.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.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.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002583/0.002598, allocations: 364.5 kB / 15.96 MB, free: 6.191 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.854/3.854, allocations: 388.9 MB / 405.6 MB, free: 9.535 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.00354/0.00354, allocations: 231 kB / 451 MB, free: 144.9 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.5008/0.5008, allocations: 80.03 MB / 0.5627 GB, free: 19.74 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004592/0.0004594, allocations: 8 kB / 0.6265 GB, free: 96.51 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09516/0.09564, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.3776/0.4733, allocations: 57.17 MB / 0.7359 GB, free: 11.77 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03909/0.5125, allocations: 13.86 MB / 0.7495 GB, free: 9.504 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01499/0.5275, allocations: 296.2 kB / 0.7497 GB, free: 9.461 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01122/0.5388, allocations: 2.985 MB / 0.7527 GB, free: 7.93 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03374/0.5726, allocations: 10.01 MB / 0.7624 GB, free: 1.449 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009224/0.5819, allocations: 1.639 MB / 0.764 GB, free: 348 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.04934/0.6313, allocations: 24.18 MB / 0.7877 GB, free: 11.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1135/0.7449, allocations: 36.67 MB / 0.8235 GB, free: 6.512 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01129/0.7562, allocations: 3.558 MB / 0.8269 GB, free: 2.941 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01482/0.7711, allocations: 5.892 MB / 0.8327 GB, free: 13.03 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003183/0.7744, allocations: 0.5273 MB / 0.8332 GB, free: 12.5 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00885/0.7833, allocations: 1.721 MB / 0.8349 GB, free: 10.78 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01481/0.7981, allocations: 6.137 MB / 0.8409 GB, free: 4.629 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008885/0.8071, allocations: 3.215 MB / 0.844 GB, free: 1.398 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04396/0.8511, allocations: 27.48 MB / 0.8709 GB, free: 5.852 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.8512, allocations: 3.938 kB / 0.8709 GB, free: 5.848 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.8512, allocations: 0 / 0.8709 GB, free: 5.848 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.00107/0.8523, allocations: 0 / 0.8709 GB, free: 5.848 MB / 458.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.04454/0.8968, allocations: 13.31 MB / 0.8839 GB, free: 8.426 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.8969, allocations: 8.031 kB / 0.8839 GB, free: 8.418 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04568/0.9426, allocations: 4.294 MB / 0.8881 GB, free: 4.098 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03416/0.9768, allocations: 7.851 MB / 0.8957 GB, free: 12.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002247/0.9791, allocations: 1.252 MB / 0.897 GB, free: 10.92 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008386/0.9876, allocations: 1.656 MB / 0.8986 GB, free: 9.266 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8041/1.792, allocations: 39.2 MB / 0.9369 GB, free: 134.6 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0012/1.793, allocations: 117.1 kB / 0.937 GB, free: 134.5 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01611/1.809, allocations: 0.7401 MB / 0.9377 GB, free: 134.1 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.02323/1.832, allocations: 3.907 MB / 0.9415 GB, free: 132.6 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1215/1.954, allocations: 29.84 MB / 0.9706 GB, free: 106.4 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1973/2.151, allocations: 123.2 MB / 1.091 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0755/2.227, allocations: 13.05 MB / 1.104 GB, free: 116 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.7476/2.975, allocations: 3.738 MB / 1.107 GB, free: 165.3 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0165/2.991, allocations: 15.19 MB / 1.122 GB, free: 152.2 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.219e-05/2.991, allocations: 68.16 kB / 1.122 GB, free: 152.2 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=274): time 7.384e-06/2.991, allocations: 0.7188 kB / 1.122 GB, free: 152.2 MB / 0.5107 GB Notification: Performance of matching and sorting (n=309): time 0.3843/3.376, allocations: 78.68 MB / 1.199 GB, free: 103.1 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.56e-05/3.376, allocations: 209.9 kB / 1.199 GB, free: 102.8 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0218/3.398, allocations: 10.63 MB / 1.21 GB, free: 92.23 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 0.0007404/3.398, allocations: 75.97 kB / 1.21 GB, free: 92.15 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 0.007981/3.406, allocations: 11.03 MB / 1.221 GB, free: 81.13 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 0.001949/3.408, allocations: 1.36 MB / 1.222 GB, free: 79.78 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00192/3.41, allocations: 365.2 kB / 1.222 GB, free: 79.42 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.001602/3.412, allocations: 1.087 MB / 1.223 GB, free: 78.33 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0149/3.427, allocations: 6.208 MB / 1.229 GB, free: 72.11 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02212/3.449, allocations: 18.68 MB / 1.248 GB, free: 47.2 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0225/3.472, allocations: 10.76 MB / 1.258 GB, free: 36.42 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004392/3.472, allocations: 128 kB / 1.258 GB, free: 36.29 MB / 0.5107 GB Notification: Performance of matching and sorting (n=2368) (initialization): time 0.05829/3.53, allocations: 23.98 MB / 1.282 GB, free: 12.27 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004061/3.531, allocations: 196 kB / 1.282 GB, free: 12.08 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007046/3.532, allocations: 444 kB / 1.282 GB, free: 11.64 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003689/3.535, allocations: 1.153 MB / 1.283 GB, free: 10.49 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02501/3.56, allocations: 4.417 MB / 1.288 GB, free: 6.062 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01263/3.573, allocations: 4.68 MB / 1.292 GB, free: 1.246 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01891/3.592, allocations: 1.078 MB / 1.293 GB, free: 172 kB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.3781/3.97, allocations: 1.156 MB / 1.294 GB, free: 148.9 MB / 0.5263 GB 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.01956/3.99, allocations: 7.855 MB / 1.302 GB, free: 146.7 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001773/3.992, allocations: 0.8248 MB / 1.303 GB, free: 146.7 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01801/4.01, allocations: 6.578 MB / 1.309 GB, free: 144.2 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.04e-05/4.01, allocations: 22.64 kB / 1.309 GB, free: 144.2 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/4.01, allocations: 0 / 1.309 GB, free: 144.2 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004444/4.014, allocations: 1.343 MB / 1.311 GB, free: 143.9 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002585/4.017, allocations: 51.12 kB / 1.311 GB, free: 143.8 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006898/4.024, allocations: 408.2 kB / 1.311 GB, free: 143.8 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008696/4.025, allocations: 165.9 kB / 1.311 GB, free: 143.8 MB / 0.5263 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02924/4.054, allocations: 6.611 MB / 1.318 GB, free: 141.3 MB / 0.5263 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03799/4.092, allocations: 10.68 MB / 1.328 GB, free: 137.2 MB / 0.5263 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009206/4.101, allocations: 2.821 MB / 1.331 GB, free: 136.1 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 0.024/4.125, allocations: 6.508 MB / 1.337 GB, free: 133.8 MB / 0.5263 GB Notification: Performance of Backend: time 3.486e-06/4.125, allocations: 3 kB / 1.337 GB, free: 133.8 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.04044/4.166, allocations: 11.63 MB / 1.349 GB, free: 129.8 MB / 0.5263 GB Notification: Performance of SimCode: time 0.1184/4.284, allocations: 35.59 MB / 1.383 GB, free: 102.3 MB / 0.5263 GB Notification: Performance of Templates: time 0.3599/4.644, allocations: 97.59 MB / 1.479 GB, free: 7.625 MB / 0.5263 GB