Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove.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.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.2_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004217/0.004223, allocations: 369.4 kB / 15.96 MB, free: 6.199 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 4.228/4.228, allocations: 388.9 MB / 405.6 MB, free: 9.59 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.005618/0.005619, allocations: 234.7 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.6268/0.6268, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004881/0.0004885, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.116, allocations: 54.88 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01516/0.1312, allocations: 12.48 MB / 0.6923 GB, free: 29.13 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.1415, allocations: 4.069 MB / 0.6963 GB, free: 25.05 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002597/0.1442, allocations: 55.88 kB / 0.6963 GB, free: 24.99 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001941/0.1462, allocations: 0.5443 MB / 0.6968 GB, free: 24.45 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007166/0.1534, allocations: 2.187 MB / 0.699 GB, free: 22.25 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.1554, allocations: 451.2 kB / 0.6994 GB, free: 21.81 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.004386/0.1599, allocations: 2.765 MB / 0.7021 GB, free: 19.04 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002584/0.1625, allocations: 1.397 MB / 0.7035 GB, free: 17.61 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.1637, allocations: 0.7081 MB / 0.7042 GB, free: 16.89 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001913/0.1656, allocations: 1.153 MB / 0.7053 GB, free: 15.74 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004548/0.1661, allocations: 80 kB / 0.7054 GB, free: 15.66 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002406/0.1686, allocations: 0.8347 MB / 0.7062 GB, free: 14.82 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001455/0.1701, allocations: 0.9583 MB / 0.7071 GB, free: 13.86 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007265/0.1708, allocations: 496.1 kB / 0.7076 GB, free: 13.37 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004392/0.1752, allocations: 3.036 MB / 0.7106 GB, free: 10.33 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.1753, allocations: 4 kB / 0.7106 GB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1753, allocations: 0 / 0.7106 GB, free: 10.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001332/0.1755, allocations: 4 kB / 0.7106 GB, free: 10.32 MB / 346.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.007757/0.1832, allocations: 2.571 MB / 0.7131 GB, free: 7.691 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.041e-05/0.1833, allocations: 8.828 kB / 0.7131 GB, free: 7.684 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01197/0.1953, allocations: 1.962 MB / 0.715 GB, free: 5.715 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003703/0.1991, allocations: 1.37 MB / 0.7163 GB, free: 4.305 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.1992, allocations: 127 kB / 0.7165 GB, free: 4.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007728/0.2, allocations: 159.8 kB / 0.7166 GB, free: 4.023 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3396/0.5396, allocations: 6.498 MB / 0.723 GB, free: 42.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001112/0.5398, allocations: 29.33 kB / 0.723 GB, free: 42.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004262/0.5402, allocations: 81.34 kB / 0.7231 GB, free: 42.17 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004129/0.5444, allocations: 1.38 MB / 0.7244 GB, free: 41.95 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01832/0.5628, allocations: 5.751 MB / 0.73 GB, free: 40.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04357/0.6064, allocations: 26.68 MB / 0.7561 GB, free: 19.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006746/0.6132, allocations: 2.153 MB / 0.7582 GB, free: 18.06 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002249/0.6155, allocations: 1.031 MB / 0.7592 GB, free: 17.36 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002211/0.6158, allocations: 181.6 kB / 0.7594 GB, free: 17.15 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.6158, allocations: 38.89 kB / 0.7594 GB, free: 17.11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=100): time 4.979e-06/0.6158, allocations: 0 / 0.7594 GB, free: 17.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=112): time 0.02532/0.6411, allocations: 6.396 MB / 0.7656 GB, free: 10.69 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.6412, allocations: 140.9 kB / 0.7658 GB, free: 10.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00521/0.6465, allocations: 2.857 MB / 0.7686 GB, free: 7.648 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002862/0.6468, allocations: 41.7 kB / 0.7686 GB, free: 7.602 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001592/0.6484, allocations: 2.103 MB / 0.7707 GB, free: 5.504 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006046/0.649, allocations: 452.6 kB / 0.7711 GB, free: 5.066 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003374/0.6494, allocations: 84 kB / 0.7712 GB, free: 4.984 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002639/0.6497, allocations: 499.8 kB / 0.7716 GB, free: 4.488 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003385/0.6531, allocations: 1.406 MB / 0.773 GB, free: 3.074 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005892/0.659, allocations: 4.265 MB / 0.7772 GB, free: 13.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006294/0.6654, allocations: 2.388 MB / 0.7795 GB, free: 10.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.836e-05/0.6655, allocations: 32 kB / 0.7796 GB, free: 10.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=578) (initialization): time 0.01593/0.6814, allocations: 5.444 MB / 0.7849 GB, free: 5.496 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.6816, allocations: 52 kB / 0.7849 GB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001803/0.6818, allocations: 100 kB / 0.785 GB, free: 5.348 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002163/0.682, allocations: 150.5 kB / 0.7852 GB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008618/0.6907, allocations: 1.216 MB / 0.7863 GB, free: 3.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000293/0.691, allocations: 199.2 kB / 0.7865 GB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004649/0.6957, allocations: 247.8 kB / 0.7868 GB, free: 3.547 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009237/0.6966, allocations: 277.6 kB / 0.787 GB, free: 3.277 MB / 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.003948/0.7006, allocations: 1.376 MB / 0.7884 GB, free: 1.891 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007585/0.7014, allocations: 252.8 kB / 0.7886 GB, free: 1.641 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003783/0.7052, allocations: 1.23 MB / 0.7898 GB, free: 412 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.039e-05/0.7053, allocations: 11.98 kB / 0.7898 GB, free: 400 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.7053, allocations: 0 / 0.7898 GB, free: 400 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001562/0.7069, allocations: 453.8 kB / 0.7903 GB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000607/0.7075, allocations: 16 kB / 0.7903 GB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002917/0.7105, allocations: 53.41 kB / 0.7903 GB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003017/0.7108, allocations: 52.38 kB / 0.7904 GB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006938/0.7178, allocations: 2.062 MB / 0.7924 GB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004557/0.7224, allocations: 2.092 MB / 0.7944 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001769/0.7242, allocations: 0.7347 MB / 0.7952 GB, free: 10.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004477/0.7287, allocations: 1.779 MB / 0.7969 GB, free: 9.125 MB / 378.7 MB Notification: Performance of Backend: time 1.633e-06/0.7288, allocations: 0 / 0.7969 GB, free: 9.125 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009446/0.7382, allocations: 2.781 MB / 0.7996 GB, free: 6.391 MB / 378.7 MB Notification: Performance of SimCode: time 0.01561/0.7539, allocations: 6.578 MB / 0.806 GB, free: 15.75 MB / 394.7 MB Notification: Performance of Templates: time 0.0888/0.8427, allocations: 27.45 MB / 0.8328 GB, free: 4.414 MB / 410.7 MB