Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.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.Joints.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rRod1_ia.1.|rRod1_ia.2.|rRod1_ia.3.|rRod2_ib.1.|rRod2_ib.2.|rRod2_ib.3.|Fixed1.frame_b.r_0.1.|Fixed1.frame_b.r_0.2.|Fixed1.frame_b.r_0.3.|Fixed1.frame_b.f.1.|Fixed1.frame_b.f.2.|Fixed1.frame_b.f.3.|Fixed1.frame_b.t.1.|Fixed1.frame_b.t.2.|Fixed1.frame_b.t.3.|jointSSR.frame_b.r_0.1.|jointSSR.frame_b.r_0.2.|jointSSR.frame_b.r_0.3.|jointSSR.frame_b.f.1.|jointSSR.frame_b.f.2.|jointSSR.frame_b.f.3.|jointSSR.frame_b.t.1.|jointSSR.frame_b.t.2.|jointSSR.frame_b.t.3.|jointSSR.frame_im.r_0.1.|jointSSR.frame_im.r_0.1.|jointSSR.frame_im.r_0.2.|jointSSR.frame_im.r_0.2.|jointSSR.frame_im.r_0.3.|jointSSR.frame_im.r_0.3.|jointSSR.frame_im.f.1.|jointSSR.frame_im.f.1.|jointSSR.frame_im.f.2.|jointSSR.frame_im.f.2.|jointSSR.frame_im.f.3.|jointSSR.frame_im.f.3.|jointSSR.frame_im.t.1.|jointSSR.frame_im.t.1.|jointSSR.frame_im.t.2.|jointSSR.frame_im.t.2.|jointSSR.frame_im.t.3.|jointSSR.frame_im.t.3.|jointSSR.revolute.frame_b.r_0.1.|jointSSR.revolute.frame_b.r_0.2.|jointSSR.revolute.frame_b.r_0.3.|jointSSR.revolute.frame_b.f.1.|jointSSR.revolute.frame_b.f.2.|jointSSR.revolute.frame_b.f.3.|jointSSR.revolute.frame_b.t.1.|jointSSR.revolute.frame_b.t.2.|jointSSR.revolute.frame_b.t.3.|jointSSR.rod1.frame_b.r_0.1.|jointSSR.rod1.frame_b.r_0.2.|jointSSR.rod1.frame_b.r_0.3.|jointSSR.rod1.frame_b.f.1.|jointSSR.rod1.frame_b.f.2.|jointSSR.rod1.frame_b.f.3.|jointSSR.rod1.frame_b.t.1.|jointSSR.rod1.frame_b.t.2.|jointSSR.rod1.frame_b.t.3.|jointSSR.rod2.frame_b.r_0.1.|jointSSR.rod2.frame_b.r_0.2.|jointSSR.rod2.frame_b.r_0.3.|jointSSR.rod2.frame_b.f.1.|jointSSR.rod2.frame_b.f.2.|jointSSR.rod2.frame_b.f.3.|jointSSR.rod2.frame_b.t.1.|jointSSR.rod2.frame_b.t.2.|jointSSR.rod2.frame_b.t.3.|jointSSR.relativePosition.frame_b.r_0.1.|jointSSR.relativePosition.frame_b.r_0.2.|jointSSR.relativePosition.frame_b.r_0.3.|jointSSR.relativePosition.frame_b.f.1.|jointSSR.relativePosition.frame_b.f.2.|jointSSR.relativePosition.frame_b.f.3.|jointSSR.relativePosition.frame_b.t.1.|jointSSR.relativePosition.frame_b.t.2.|jointSSR.relativePosition.frame_b.t.3.|jointSSR.relativePosition.relativePosition.frame_b.r_0.1.|jointSSR.relativePosition.relativePosition.frame_b.r_0.2.|jointSSR.relativePosition.relativePosition.frame_b.r_0.3.|jointSSR.relativePosition.relativePosition.frame_b.f.1.|jointSSR.relativePosition.relativePosition.frame_b.f.2.|jointSSR.relativePosition.relativePosition.frame_b.f.3.|jointSSR.relativePosition.relativePosition.frame_b.t.1.|jointSSR.relativePosition.relativePosition.frame_b.t.2.|jointSSR.relativePosition.relativePosition.frame_b.t.3.|jointSSR.position_b.1..y|jointSSR.position_b.2..y|jointSSR.position_b.3..y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002705/0.00271, allocations: 366.5 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.064/4.064, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.003586/0.003585, allocations: 246.3 kB / 451 MB, free: 145.1 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.5559/0.5559, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004608/0.0004609, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1065, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.03572/0.1423, allocations: 30.18 MB / 0.7096 GB, free: 11.37 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01681/0.1592, allocations: 6.658 MB / 0.7161 GB, free: 4.691 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005616/0.1648, allocations: 131.8 kB / 0.7162 GB, free: 4.562 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004843/0.1697, allocations: 1.419 MB / 0.7176 GB, free: 3.137 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3359/0.5056, allocations: 4.641 MB / 0.7221 GB, free: 13.25 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003458/0.5092, allocations: 0.5435 MB / 0.7227 GB, free: 13.23 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.004427/0.5136, allocations: 2.229 MB / 0.7248 GB, free: 13.23 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008545/0.5222, allocations: 4.065 MB / 0.7288 GB, free: 12.8 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001933/0.5242, allocations: 0.6885 MB / 0.7295 GB, free: 12.79 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002826/0.5271, allocations: 1.065 MB / 0.7305 GB, free: 12.79 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006832/0.5278, allocations: 97.62 kB / 0.7306 GB, free: 12.79 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003915/0.5318, allocations: 0.7428 MB / 0.7313 GB, free: 12.78 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002074/0.5339, allocations: 0.9759 MB / 0.7323 GB, free: 12.78 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001105/0.5351, allocations: 0.517 MB / 0.7328 GB, free: 12.75 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006564/0.5417, allocations: 3.858 MB / 0.7366 GB, free: 11.88 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.5417, allocations: 0 / 0.7366 GB, free: 11.88 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.927e-06/0.5418, allocations: 0 / 0.7366 GB, free: 11.88 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001694/0.5419, allocations: 1.641 kB / 0.7366 GB, free: 11.88 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: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.01016/0.5521, allocations: 2.665 MB / 0.7392 GB, free: 10.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.5522, allocations: 8.906 kB / 0.7392 GB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002832/0.555, allocations: 370.2 kB / 0.7395 GB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004116/0.5592, allocations: 1.26 MB / 0.7408 GB, free: 9.512 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000199/0.5594, allocations: 173 kB / 0.7409 GB, free: 9.504 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001075/0.5605, allocations: 240.8 kB / 0.7412 GB, free: 9.496 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03305/0.5936, allocations: 7.046 MB / 0.748 GB, free: 7.445 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001671/0.5938, allocations: 14 kB / 0.748 GB, free: 7.441 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001008/0.5949, allocations: 109.7 kB / 0.7482 GB, free: 7.438 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004119/0.599, allocations: 0.9845 MB / 0.7491 GB, free: 7.242 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03535/0.6344, allocations: 5.834 MB / 0.7548 GB, free: 5.391 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06126/0.6958, allocations: 20.39 MB / 0.7747 GB, free: 3.594 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02021/0.716, allocations: 1.847 MB / 0.7765 GB, free: 1.734 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003107/0.7192, allocations: 0.7143 MB / 0.7772 GB, free: 1.016 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01753/0.7368, allocations: 5.075 MB / 0.7822 GB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.751e-05/0.737, allocations: 43.22 kB / 0.7822 GB, free: 11.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=73): time 5.912e-06/0.737, allocations: 0 / 0.7822 GB, free: 11.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=119): time 0.1055/0.8425, allocations: 10.32 MB / 0.7923 GB, free: 1.211 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/0.8426, allocations: 92.19 kB / 0.7924 GB, free: 1.105 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004497/0.8471, allocations: 1.941 MB / 0.7943 GB, free: 15.17 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000331/0.8475, allocations: 45.73 kB / 0.7943 GB, free: 15.12 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001844/0.8493, allocations: 1.647 MB / 0.7959 GB, free: 13.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008062/0.8502, allocations: 444.8 kB / 0.7964 GB, free: 13.05 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00035/0.8505, allocations: 60 kB / 0.7964 GB, free: 12.99 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003141/0.8509, allocations: 429.7 kB / 0.7968 GB, free: 12.56 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003428/0.8543, allocations: 1.122 MB / 0.7979 GB, free: 11.44 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005215/0.8596, allocations: 2.714 MB / 0.8006 GB, free: 7.949 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004743/0.8644, allocations: 1.677 MB / 0.8022 GB, free: 6.277 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.975e-05/0.8645, allocations: 16 kB / 0.8022 GB, free: 6.262 MB / 394.7 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.01187/0.8764, allocations: 3.843 MB / 0.806 GB, free: 2.406 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.258e-05/0.8765, allocations: 28 kB / 0.806 GB, free: 2.379 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.421e-05/0.8766, allocations: 56 kB / 0.8061 GB, free: 2.324 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000127/0.8767, allocations: 84 kB / 0.8061 GB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006224/0.883, allocations: 0.7025 MB / 0.8068 GB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001581/0.8832, allocations: 119.5 kB / 0.8069 GB, free: 1.422 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003661/0.8869, allocations: 147.8 kB / 0.8071 GB, free: 1.277 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007077/0.8876, allocations: 164 kB / 0.8072 GB, free: 1.117 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 253 * Number of states: 0 () * Number of discrete variables: 31 (jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (373): * Single equations (assignments): 373 * Array equations: 0 * 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.003844/0.8915, allocations: 1.194 MB / 0.8084 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005297/0.892, allocations: 177.5 kB / 0.8086 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005873/0.8979, allocations: 1.994 MB / 0.8105 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.754e-05/0.898, allocations: 8.016 kB / 0.8105 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/0.898, allocations: 7.984 kB / 0.8105 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007293/0.8988, allocations: 254.7 kB / 0.8108 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005111/0.8993, allocations: 24 kB / 0.8108 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001648/0.9009, allocations: 55.94 kB / 0.8109 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002373/0.9012, allocations: 64.91 kB / 0.8109 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006206/0.9074, allocations: 1.995 MB / 0.8129 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00518/0.9127, allocations: 2.117 MB / 0.8149 GB, free: 9.188 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002266/0.915, allocations: 0.9058 MB / 0.8158 GB, free: 8.281 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003109/0.9181, allocations: 1.224 MB / 0.817 GB, free: 7.066 MB / 410.7 MB Notification: Performance of Backend: time 1.012e-05/0.9182, allocations: 0 / 0.817 GB, free: 7.066 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007495/0.9257, allocations: 2.116 MB / 0.8191 GB, free: 4.973 MB / 410.7 MB Notification: Performance of SimCode: time 0.01439/0.9401, allocations: 6.025 MB / 0.825 GB, free: 14.89 MB / 426.7 MB Notification: Performance of Templates: time 0.0828/1.023, allocations: 25.53 MB / 0.8499 GB, free: 5.48 MB / 442.7 MB