Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove.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.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00423/0.00423, allocations: 351.3 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.72/3.72, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.005071/0.005071, allocations: 225.1 kB / 397.9 MB, free: 4.977 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.5287/0.5287, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004903/0.0004907, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08646/0.08699, allocations: 48.72 MB / 0.6067 GB, free: 4.637 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.3014/0.3884, allocations: 12.44 MB / 0.6189 GB, free: 86.5 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01098/0.3995, allocations: 4.05 MB / 0.6228 GB, free: 83.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00328/0.4028, allocations: 56.56 kB / 0.6229 GB, free: 83.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002622/0.4055, allocations: 0.5422 MB / 0.6234 GB, free: 83.64 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00841/0.414, allocations: 2.191 MB / 0.6256 GB, free: 82.76 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002297/0.4163, allocations: 460.6 kB / 0.626 GB, free: 82.62 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005453/0.4218, allocations: 2.767 MB / 0.6287 GB, free: 81.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003149/0.4251, allocations: 1.405 MB / 0.6301 GB, free: 81.21 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001875/0.427, allocations: 0.7077 MB / 0.6308 GB, free: 80.98 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002916/0.4299, allocations: 1.156 MB / 0.6319 GB, free: 80.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006566/0.4307, allocations: 79.91 kB / 0.632 GB, free: 80.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003051/0.4337, allocations: 0.8331 MB / 0.6328 GB, free: 80.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002053/0.4358, allocations: 0.9507 MB / 0.6337 GB, free: 80.2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008537/0.4367, allocations: 0.4888 MB / 0.6342 GB, free: 79.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005599/0.4423, allocations: 3.028 MB / 0.6372 GB, free: 78.06 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.4424, allocations: 1.344 kB / 0.6372 GB, free: 78.06 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.4424, allocations: 0 / 0.6372 GB, free: 78.06 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.00015/0.4426, allocations: 0 / 0.6372 GB, free: 78.06 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.008409/0.451, allocations: 2.585 MB / 0.6397 GB, free: 76.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.4511, allocations: 8.25 kB / 0.6397 GB, free: 76.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01269/0.4638, allocations: 1.966 MB / 0.6416 GB, free: 75.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004243/0.4681, allocations: 1.364 MB / 0.6429 GB, free: 74.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/0.4683, allocations: 123.2 kB / 0.6431 GB, free: 74.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008485/0.4691, allocations: 159.3 kB / 0.6432 GB, free: 74.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01441/0.4836, allocations: 6.509 MB / 0.6496 GB, free: 68.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-05/0.4837, allocations: 31.31 kB / 0.6496 GB, free: 68.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000376/0.4841, allocations: 87.84 kB / 0.6497 GB, free: 68.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003307/0.4874, allocations: 1.378 MB / 0.651 GB, free: 66.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01531/0.5028, allocations: 5.756 MB / 0.6566 GB, free: 61.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0437/0.5465, allocations: 26.58 MB / 0.6826 GB, free: 33.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006407/0.553, allocations: 2.144 MB / 0.6847 GB, free: 31.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001925/0.555, allocations: 1.031 MB / 0.6857 GB, free: 30.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.675e-05/0.5551, allocations: 16.31 kB / 0.6857 GB, free: 30.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.5551, allocations: 42.89 kB / 0.6858 GB, free: 30.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=100): time 4.308e-06/0.5551, allocations: 0 / 0.6858 GB, free: 30.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=112): time 0.02392/0.579, allocations: 6.388 MB / 0.692 GB, free: 23.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.5792, allocations: 145 kB / 0.6921 GB, free: 23.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005342/0.5845, allocations: 2.865 MB / 0.6949 GB, free: 20.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002977/0.5849, allocations: 41.7 kB / 0.695 GB, free: 20.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001702/0.5866, allocations: 2.09 MB / 0.697 GB, free: 18.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006254/0.5872, allocations: 458.4 kB / 0.6974 GB, free: 18.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003221/0.5876, allocations: 84 kB / 0.6975 GB, free: 18.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002635/0.5878, allocations: 0.492 MB / 0.698 GB, free: 17.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003545/0.5914, allocations: 1.406 MB / 0.6994 GB, free: 16.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005642/0.5971, allocations: 4.265 MB / 0.7035 GB, free: 10.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005318/0.6025, allocations: 2.401 MB / 0.7059 GB, free: 8.188 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.06e-05/0.6026, allocations: 31.94 kB / 0.7059 GB, free: 8.156 MB / 362.7 MB Notification: Performance of matching and sorting (n=578) (initialization): time 0.01378/0.6164, allocations: 5.457 MB / 0.7113 GB, free: 2.699 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.488e-05/0.6165, allocations: 51.98 kB / 0.7113 GB, free: 2.648 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001252/0.6167, allocations: 102.7 kB / 0.7114 GB, free: 2.551 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001558/0.6168, allocations: 152 kB / 0.7115 GB, free: 2.402 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007949/0.6248, allocations: 1.229 MB / 0.7127 GB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001842/0.625, allocations: 195.2 kB / 0.7129 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004763/0.6298, allocations: 239.6 kB / 0.7132 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009741/0.6308, allocations: 284 kB / 0.7134 GB, free: 480 kB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 15 (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],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (554): * Single equations (assignments): 551 * Array equations: 3 * 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.003888/0.6347, allocations: 1.383 MB / 0.7148 GB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007263/0.6355, allocations: 236.9 kB / 0.715 GB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00379/0.6393, allocations: 1.26 MB / 0.7162 GB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.021e-05/0.6394, allocations: 11.94 kB / 0.7162 GB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.6394, allocations: 0 / 0.7162 GB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001655/0.6411, allocations: 453.8 kB / 0.7167 GB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008094/0.6419, allocations: 15.98 kB / 0.7167 GB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00182/0.6438, allocations: 55.92 kB / 0.7167 GB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002472/0.644, allocations: 56.38 kB / 0.7168 GB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006813/0.6509, allocations: 2.066 MB / 0.7188 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004729/0.6557, allocations: 2.106 MB / 0.7209 GB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001867/0.6576, allocations: 0.7374 MB / 0.7216 GB, free: 8.043 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.005088/0.6627, allocations: 1.783 MB / 0.7233 GB, free: 6.254 MB / 378.7 MB Notification: Performance of Backend: time 1.193e-06/0.6628, allocations: 0 / 0.7233 GB, free: 6.254 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009952/0.6728, allocations: 2.792 MB / 0.7261 GB, free: 3.477 MB / 378.7 MB Notification: Performance of SimCode: time 0.01599/0.6888, allocations: 6.566 MB / 0.7325 GB, free: 12.86 MB / 394.7 MB Notification: Performance of Templates: time 0.1188/0.8076, allocations: 27.65 MB / 0.7595 GB, free: 1.578 MB / 410.7 MB