Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.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.JointSSP,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.|jointSSP.frame_b.r_0.1.|jointSSP.frame_b.r_0.2.|jointSSP.frame_b.r_0.3.|jointSSP.frame_b.f.1.|jointSSP.frame_b.f.2.|jointSSP.frame_b.f.3.|jointSSP.frame_b.t.1.|jointSSP.frame_b.t.2.|jointSSP.frame_b.t.3.|jointSSP.frame_im.r_0.1.|jointSSP.frame_im.r_0.1.|jointSSP.frame_im.r_0.2.|jointSSP.frame_im.r_0.2.|jointSSP.frame_im.r_0.3.|jointSSP.frame_im.r_0.3.|jointSSP.frame_im.f.1.|jointSSP.frame_im.f.1.|jointSSP.frame_im.f.2.|jointSSP.frame_im.f.2.|jointSSP.frame_im.f.3.|jointSSP.frame_im.f.3.|jointSSP.frame_im.t.1.|jointSSP.frame_im.t.1.|jointSSP.frame_im.t.2.|jointSSP.frame_im.t.2.|jointSSP.frame_im.t.3.|jointSSP.frame_im.t.3.|jointSSP.prismatic.frame_b.r_0.1.|jointSSP.prismatic.frame_b.r_0.2.|jointSSP.prismatic.frame_b.r_0.3.|jointSSP.prismatic.frame_b.f.1.|jointSSP.prismatic.frame_b.f.2.|jointSSP.prismatic.frame_b.f.3.|jointSSP.prismatic.frame_b.t.1.|jointSSP.prismatic.frame_b.t.2.|jointSSP.prismatic.frame_b.t.3.|jointSSP.rod1.frame_b.r_0.1.|jointSSP.rod1.frame_b.r_0.2.|jointSSP.rod1.frame_b.r_0.3.|jointSSP.rod1.frame_b.f.1.|jointSSP.rod1.frame_b.f.2.|jointSSP.rod1.frame_b.f.3.|jointSSP.rod1.frame_b.t.1.|jointSSP.rod1.frame_b.t.2.|jointSSP.rod1.frame_b.t.3.|jointSSP.rod2.frame_b.r_0.1.|jointSSP.rod2.frame_b.r_0.2.|jointSSP.rod2.frame_b.r_0.3.|jointSSP.rod2.frame_b.f.1.|jointSSP.rod2.frame_b.f.2.|jointSSP.rod2.frame_b.f.3.|jointSSP.rod2.frame_b.t.1.|jointSSP.rod2.frame_b.t.2.|jointSSP.rod2.frame_b.t.3.|jointSSP.relativePosition.frame_b.r_0.1.|jointSSP.relativePosition.frame_b.r_0.2.|jointSSP.relativePosition.frame_b.r_0.3.|jointSSP.relativePosition.frame_b.f.1.|jointSSP.relativePosition.frame_b.f.2.|jointSSP.relativePosition.frame_b.f.3.|jointSSP.relativePosition.frame_b.t.1.|jointSSP.relativePosition.frame_b.t.2.|jointSSP.relativePosition.frame_b.t.3.|jointSSP.relativePosition.relativePosition.frame_b.r_0.1.|jointSSP.relativePosition.relativePosition.frame_b.r_0.2.|jointSSP.relativePosition.relativePosition.frame_b.r_0.3.|jointSSP.relativePosition.relativePosition.frame_b.f.1.|jointSSP.relativePosition.relativePosition.frame_b.f.2.|jointSSP.relativePosition.relativePosition.frame_b.f.3.|jointSSP.relativePosition.relativePosition.frame_b.t.1.|jointSSP.relativePosition.relativePosition.frame_b.t.2.|jointSSP.relativePosition.relativePosition.frame_b.t.3.|jointSSP.position_b.1..y|jointSSP.position_b.2..y|jointSSP.position_b.3..y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002528/0.002528, allocations: 350.8 kB / 15.95 MB, free: 6.219 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.255/3.255, allocations: 341.5 MB / 358.2 MB, free: 28.62 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003507/0.003507, allocations: 221.6 kB / 397.9 MB, free: 6.012 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.6052/0.6052, allocations: 76.09 MB / 0.5014 GB, free: 0.8125 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007152/0.0007155, allocations: 12 kB / 0.5592 GB, free: 60.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1163, allocations: 48.71 MB / 0.6068 GB, free: 11.51 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.06024/0.1766, allocations: 30.12 MB / 0.6362 GB, free: 13.3 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02414/0.2009, allocations: 6.411 MB / 0.6424 GB, free: 6.863 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007461/0.2084, allocations: 135.7 kB / 0.6426 GB, free: 6.73 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00715/0.2156, allocations: 1.419 MB / 0.6439 GB, free: 5.305 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0224/0.2381, allocations: 4.653 MB / 0.6485 GB, free: 0.6328 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.3967/0.6348, allocations: 398.4 kB / 0.6489 GB, free: 12.86 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00585/0.6407, allocations: 2.16 MB / 0.651 GB, free: 12.86 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01232/0.6531, allocations: 4.051 MB / 0.6549 GB, free: 12.45 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002608/0.6558, allocations: 0.6532 MB / 0.6556 GB, free: 12.44 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003658/0.6595, allocations: 1.043 MB / 0.6566 GB, free: 12.44 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009559/0.6605, allocations: 93.44 kB / 0.6567 GB, free: 12.44 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003008/0.6635, allocations: 0.5209 MB / 0.6572 GB, free: 12.44 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002739/0.6663, allocations: 0.9747 MB / 0.6581 GB, free: 12.44 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00163/0.668, allocations: 0.5162 MB / 0.6586 GB, free: 12.41 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008016/0.6761, allocations: 3.679 MB / 0.6622 GB, free: 12.19 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.6762, allocations: 0 / 0.6622 GB, free: 12.19 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.6762, allocations: 1.375 kB / 0.6622 GB, free: 12.19 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001992/0.6764, allocations: 0 / 0.6622 GB, free: 12.19 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.01151/0.6879, allocations: 2.432 MB / 0.6646 GB, free: 10.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.1e-05/0.6881, allocations: 9.219 kB / 0.6646 GB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003883/0.692, allocations: 372.3 kB / 0.665 GB, free: 10.44 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005497/0.6975, allocations: 1.228 MB / 0.6662 GB, free: 9.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003462/0.6979, allocations: 174.1 kB / 0.6663 GB, free: 9.922 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001512/0.6994, allocations: 233.7 kB / 0.6666 GB, free: 9.918 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02942/0.7289, allocations: 6.11 MB / 0.6725 GB, free: 8.137 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001405/0.7291, allocations: 13.75 kB / 0.6725 GB, free: 8.137 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008111/0.7299, allocations: 106.5 kB / 0.6727 GB, free: 8.133 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003602/0.7336, allocations: 0.9588 MB / 0.6736 GB, free: 7.953 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0247/0.7583, allocations: 4.577 MB / 0.6781 GB, free: 6.941 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03948/0.7978, allocations: 18.59 MB / 0.6962 GB, free: 7.965 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007447/0.8054, allocations: 1.356 MB / 0.6975 GB, free: 6.871 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/0.8066, allocations: 421.7 kB / 0.6979 GB, free: 6.598 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002688/0.8094, allocations: 2.064 MB / 0.6999 GB, free: 4.285 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.841e-05/0.8095, allocations: 43.25 kB / 0.7 GB, free: 4.238 MB / 330.7 MB Notification: Performance of pre-optimization done (n=69): time 3.607e-06/0.8095, allocations: 0 / 0.7 GB, free: 4.238 MB / 330.7 MB Notification: Performance of matching and sorting (n=117): time 0.04437/0.8539, allocations: 6.098 MB / 0.7059 GB, free: 14.15 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.243e-05/0.854, allocations: 91.05 kB / 0.706 GB, free: 14.04 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004067/0.8581, allocations: 1.803 MB / 0.7078 GB, free: 12.24 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002552/0.8584, allocations: 45.7 kB / 0.7078 GB, free: 12.19 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001864/0.8603, allocations: 1.629 MB / 0.7094 GB, free: 10.57 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007467/0.861, allocations: 435 kB / 0.7098 GB, free: 10.14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003171/0.8614, allocations: 56.56 kB / 0.7099 GB, free: 10.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000325/0.8617, allocations: 419.8 kB / 0.7103 GB, free: 9.676 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002599/0.8643, allocations: 0.8057 MB / 0.7111 GB, free: 8.867 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004301/0.8687, allocations: 2.333 MB / 0.7134 GB, free: 5.812 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003787/0.8726, allocations: 1.345 MB / 0.7147 GB, free: 4.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.977e-05/0.8727, allocations: 16 kB / 0.7147 GB, free: 4.504 MB / 346.7 MB Notification: Performance of matching and sorting (n=359) (initialization): time 0.009077/0.8818, allocations: 3.129 MB / 0.7177 GB, free: 1.676 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.529e-05/0.8819, allocations: 28 kB / 0.7178 GB, free: 1.648 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.726e-05/0.882, allocations: 52 kB / 0.7178 GB, free: 1.598 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001346/0.8821, allocations: 87.94 kB / 0.7179 GB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004183/0.8863, allocations: 0.6433 MB / 0.7185 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001401/0.8865, allocations: 107.6 kB / 0.7186 GB, free: 0.7617 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003184/0.8897, allocations: 125.8 kB / 0.7188 GB, free: 0.6406 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004796/0.8902, allocations: 160 kB / 0.7189 GB, free: 496 kB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 243 * Number of states: 0 () * Number of discrete variables: 31 (jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[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 (359): * Single equations (assignments): 359 * 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.004615/0.8948, allocations: 1.193 MB / 0.7201 GB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000605/0.8955, allocations: 165.8 kB / 0.7202 GB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005356/0.9008, allocations: 1.325 MB / 0.7215 GB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.633e-05/0.9009, allocations: 11.94 kB / 0.7215 GB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.9009, allocations: 0 / 0.7215 GB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008682/0.9018, allocations: 242.8 kB / 0.7218 GB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005387/0.9024, allocations: 19.98 kB / 0.7218 GB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00163/0.904, allocations: 27.98 kB / 0.7218 GB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002428/0.9043, allocations: 64.95 kB / 0.7219 GB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005293/0.9096, allocations: 1.374 MB / 0.7232 GB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004604/0.9143, allocations: 1.497 MB / 0.7247 GB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001912/0.9162, allocations: 0.5466 MB / 0.7252 GB, free: 9.969 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003791/0.92, allocations: 1.132 MB / 0.7263 GB, free: 8.844 MB / 362.7 MB Notification: Performance of Backend: time 3.807e-06/0.9201, allocations: 0 / 0.7263 GB, free: 8.844 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007602/0.9277, allocations: 1.66 MB / 0.7279 GB, free: 7.203 MB / 362.7 MB Notification: Performance of SimCode: time 0.01905/0.9468, allocations: 5.999 MB / 0.7338 GB, free: 1.148 MB / 362.7 MB Notification: Performance of Templates: time 0.07078/1.018, allocations: 18.76 MB / 0.7521 GB, free: 14.5 MB / 394.7 MB