Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.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.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.1_ModelicaTest.MultiBody.Joints.JointSSR") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00259/0.00259, allocations: 354.8 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.637/3.637, 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.003524/0.003524, allocations: 217.2 kB / 397.9 MB, free: 4.906 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.4909/0.4909, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004679/0.0004682, allocations: 12 kB / 0.5592 GB, free: 53.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08514/0.08564, allocations: 48.7 MB / 0.6067 GB, free: 4.625 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.3218/0.4075, allocations: 30.16 MB / 0.6362 GB, free: 73.72 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01986/0.4274, allocations: 6.649 MB / 0.6427 GB, free: 69.23 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007481/0.4349, allocations: 129.8 kB / 0.6428 GB, free: 69.21 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005671/0.4407, allocations: 1.414 MB / 0.6442 GB, free: 68.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01695/0.4577, allocations: 4.661 MB / 0.6488 GB, free: 66.56 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004865/0.4626, allocations: 0.5419 MB / 0.6493 GB, free: 66.2 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006911/0.4696, allocations: 2.227 MB / 0.6515 GB, free: 64.88 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009403/0.479, allocations: 4.062 MB / 0.6554 GB, free: 62.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001599/0.4807, allocations: 0.6808 MB / 0.6561 GB, free: 62.3 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002032/0.4827, allocations: 1.084 MB / 0.6571 GB, free: 61.26 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003375/0.4831, allocations: 96 kB / 0.6572 GB, free: 61.16 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00187/0.485, allocations: 0.7411 MB / 0.658 GB, free: 60.42 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001013/0.486, allocations: 0.9701 MB / 0.6589 GB, free: 59.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005357/0.4866, allocations: 0.5157 MB / 0.6594 GB, free: 58.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00445/0.491, allocations: 3.857 MB / 0.6632 GB, free: 55.06 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.535e-06/0.4911, allocations: 0 / 0.6632 GB, free: 55.06 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4911, allocations: 0 / 0.6632 GB, free: 55.06 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001336/0.4913, allocations: 0 / 0.6632 GB, free: 55.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: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.008224/0.4995, allocations: 2.674 MB / 0.6658 GB, free: 52.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.4996, allocations: 8.031 kB / 0.6658 GB, free: 52.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002261/0.5018, allocations: 371.9 kB / 0.6662 GB, free: 51.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003331/0.5052, allocations: 1.258 MB / 0.6674 GB, free: 50.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/0.5054, allocations: 172.5 kB / 0.6675 GB, free: 50.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005989/0.506, allocations: 239.8 kB / 0.6678 GB, free: 50.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02113/0.5271, allocations: 7.048 MB / 0.6747 GB, free: 42.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-05/0.5273, allocations: 19.83 kB / 0.6747 GB, free: 42.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003355/0.5276, allocations: 99.94 kB / 0.6748 GB, free: 42.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002316/0.5299, allocations: 0.9942 MB / 0.6757 GB, free: 41.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02106/0.551, allocations: 5.823 MB / 0.6814 GB, free: 35.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03309/0.5842, allocations: 20.4 MB / 0.7013 GB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01234/0.5966, allocations: 1.846 MB / 0.7032 GB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001579/0.5982, allocations: 0.7182 MB / 0.7039 GB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009064/0.6073, allocations: 5.076 MB / 0.7088 GB, free: 7.031 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.6074, allocations: 39.22 kB / 0.7088 GB, free: 6.984 MB / 362.7 MB Notification: Performance of pre-optimization done (n=73): time 5.841e-06/0.6074, allocations: 4 kB / 0.7089 GB, free: 6.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=119): time 0.1117/0.7192, allocations: 10.31 MB / 0.7189 GB, free: 12.65 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.296e-05/0.7193, allocations: 90.11 kB / 0.719 GB, free: 12.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00456/0.7239, allocations: 1.941 MB / 0.7209 GB, free: 10.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003063/0.7242, allocations: 49.73 kB / 0.721 GB, free: 10.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0019/0.7262, allocations: 1.645 MB / 0.7226 GB, free: 8.879 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007547/0.727, allocations: 450 kB / 0.723 GB, free: 8.434 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003121/0.7273, allocations: 60 kB / 0.723 GB, free: 8.375 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003231/0.7276, allocations: 432 kB / 0.7235 GB, free: 7.945 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003451/0.7311, allocations: 1.122 MB / 0.7246 GB, free: 6.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005164/0.7363, allocations: 2.717 MB / 0.7272 GB, free: 3.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004727/0.7411, allocations: 1.68 MB / 0.7288 GB, free: 1.645 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.386e-05/0.7412, allocations: 16 kB / 0.7289 GB, free: 1.629 MB / 378.7 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.01322/0.7545, allocations: 3.832 MB / 0.7326 GB, free: 13.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.036e-05/0.7546, allocations: 28 kB / 0.7326 GB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001133/0.7547, allocations: 59.2 kB / 0.7327 GB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001466/0.7549, allocations: 84.78 kB / 0.7328 GB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005153/0.76, allocations: 0.7081 MB / 0.7335 GB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001511/0.7602, allocations: 111.6 kB / 0.7336 GB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003299/0.7636, allocations: 151.8 kB / 0.7337 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005769/0.7642, allocations: 164 kB / 0.7339 GB, free: 12.5 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.003406/0.7676, allocations: 1.203 MB / 0.735 GB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005274/0.7682, allocations: 181.8 kB / 0.7352 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005817/0.774, allocations: 1.985 MB / 0.7372 GB, free: 9.113 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-05/0.7741, allocations: 16.28 kB / 0.7372 GB, free: 9.102 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.7741, allocations: 0 / 0.7372 GB, free: 9.102 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007189/0.7748, allocations: 246.7 kB / 0.7374 GB, free: 8.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005405/0.7754, allocations: 20 kB / 0.7374 GB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/0.7771, allocations: 55.94 kB / 0.7375 GB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002458/0.7773, allocations: 64.86 kB / 0.7375 GB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006154/0.7835, allocations: 2 MB / 0.7395 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00517/0.7887, allocations: 2.117 MB / 0.7416 GB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002194/0.791, allocations: 0.9019 MB / 0.7424 GB, free: 3.652 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002982/0.794, allocations: 1.228 MB / 0.7436 GB, free: 2.434 MB / 394.7 MB Notification: Performance of Backend: time 1.904e-06/0.7941, allocations: 0 / 0.7436 GB, free: 2.434 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007181/0.8013, allocations: 2.116 MB / 0.7457 GB, free: 332 kB / 394.7 MB Notification: Performance of SimCode: time 0.01469/0.816, allocations: 6.037 MB / 0.7516 GB, free: 10.23 MB / 410.7 MB Notification: Performance of Templates: time 0.3565/1.173, allocations: 25.51 MB / 0.7765 GB, free: 121.5 MB / 410.7 MB