Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.FreeMotionScalarInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.angle_d_1|freeMotionScalarInit.angle_d_2|freeMotionScalarInit.angle_d_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002958/0.002963, allocations: 370.9 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 3.988/3.988, 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.003514/0.003513, 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.5062/0.5062, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000484/0.0004845, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09817/0.09868, allocations: 54.88 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.03647/0.1352, allocations: 29.66 MB / 0.7091 GB, free: 11.9 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02383/0.1591, allocations: 7.019 MB / 0.7159 GB, free: 4.855 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007194/0.1664, allocations: 135.6 kB / 0.7161 GB, free: 4.723 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004799/0.1712, allocations: 1.474 MB / 0.7175 GB, free: 3.242 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3688/0.5401, allocations: 5.146 MB / 0.7225 GB, free: 13.33 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004019/0.5442, allocations: 436.5 kB / 0.7229 GB, free: 13.31 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.02237/0.5666, allocations: 4.296 MB / 0.7271 GB, free: 13.3 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01935/0.586, allocations: 3.371 MB / 0.7304 GB, free: 12.97 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009167/0.5953, allocations: 1.113 MB / 0.7315 GB, free: 12.97 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01334/0.6087, allocations: 1.82 MB / 0.7333 GB, free: 12.91 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001494/0.6102, allocations: 145.7 kB / 0.7334 GB, free: 12.91 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004813/0.6151, allocations: 0.875 MB / 0.7343 GB, free: 12.88 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003873/0.619, allocations: 1.642 MB / 0.7359 GB, free: 12.68 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001953/0.621, allocations: 0.8417 MB / 0.7367 GB, free: 12.48 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01164/0.6327, allocations: 5.587 MB / 0.7422 GB, free: 9.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.6328, allocations: 2.781 kB / 0.7422 GB, free: 9.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.6328, allocations: 0 / 0.7422 GB, free: 9.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002586/0.6331, allocations: 0 / 0.7422 GB, free: 9.82 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: 1696 * Number of variables: 1696 Notification: Performance of Generate backend data structure: time 0.01849/0.6516, allocations: 4.104 MB / 0.7462 GB, free: 7.328 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.6517, allocations: 8.25 kB / 0.7462 GB, free: 7.328 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02324/0.6749, allocations: 3.788 MB / 0.7499 GB, free: 5.648 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006928/0.6819, allocations: 2.128 MB / 0.752 GB, free: 4.773 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003155/0.6823, allocations: 224.2 kB / 0.7522 GB, free: 4.766 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002017/0.6843, allocations: 301.6 kB / 0.7525 GB, free: 4.762 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0287/0.713, allocations: 11.5 MB / 0.7637 GB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000168/0.7133, allocations: 27.72 kB / 0.7637 GB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001378/0.7147, allocations: 136.3 kB / 0.7639 GB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007921/0.7226, allocations: 2.634 MB / 0.7664 GB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04113/0.7638, allocations: 10.73 MB / 0.7769 GB, free: 2.066 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08865/0.8525, allocations: 36.31 MB / 0.8124 GB, free: 13.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01411/0.8667, allocations: 4.402 MB / 0.8167 GB, free: 8.562 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006342/0.873, allocations: 2.151 MB / 0.8188 GB, free: 6.414 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001886/0.875, allocations: 1.313 MB / 0.82 GB, free: 4.891 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.679e-05/0.8751, allocations: 56.5 kB / 0.8201 GB, free: 4.824 MB / 410.7 MB Notification: Performance of pre-optimization done (n=244): time 7.343e-06/0.8751, allocations: 1.75 kB / 0.8201 GB, free: 4.824 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.07591/0.951, allocations: 13.93 MB / 0.8337 GB, free: 6.852 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.955e-05/0.9512, allocations: 73.41 kB / 0.8338 GB, free: 6.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006244/0.9574, allocations: 2.793 MB / 0.8365 GB, free: 3.965 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006011/0.9581, allocations: 67.45 kB / 0.8366 GB, free: 3.895 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003226/0.9613, allocations: 2.925 MB / 0.8394 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001721/0.9631, allocations: 0.9732 MB / 0.8404 GB, free: 16 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007186/0.9638, allocations: 115.6 kB / 0.8405 GB, free: 15.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005866/0.9644, allocations: 0.5619 MB / 0.841 GB, free: 15.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006782/0.9712, allocations: 2.334 MB / 0.8433 GB, free: 13 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01132/0.9826, allocations: 5.503 MB / 0.8487 GB, free: 5.969 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009809/0.9925, allocations: 3.591 MB / 0.8522 GB, free: 2.391 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001112/0.9927, allocations: 32.56 kB / 0.8522 GB, free: 2.359 MB / 442.7 MB Notification: Performance of matching and sorting (n=777) (initialization): time 0.02884/1.022, allocations: 8.556 MB / 0.8606 GB, free: 9.789 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/1.022, allocations: 52 kB / 0.8606 GB, free: 9.738 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001871/1.022, allocations: 112 kB / 0.8607 GB, free: 9.629 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006933/1.029, allocations: 1.048 MB / 0.8618 GB, free: 8.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008818/1.038, allocations: 1.337 MB / 0.8631 GB, free: 7.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004725/1.042, allocations: 2.475 MB / 0.8655 GB, free: 4.617 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005738/1.048, allocations: 319.7 kB / 0.8658 GB, free: 4.305 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001399/1.05, allocations: 345.7 kB / 0.8661 GB, free: 3.973 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 499 * Number of states: 0 () * Number of discrete variables: 21 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[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 (724): * Single equations (assignments): 715 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006261/1.056, allocations: 2.25 MB / 0.8683 GB, free: 1.711 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000744/1.057, allocations: 288.2 kB / 0.8686 GB, free: 1.426 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01729/1.074, allocations: 5.07 MB / 0.8735 GB, free: 12.29 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.992e-05/1.074, allocations: 7.969 kB / 0.8736 GB, free: 12.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/1.074, allocations: 0 / 0.8736 GB, free: 12.29 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009544/1.075, allocations: 321.4 kB / 0.8739 GB, free: 11.95 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001075/1.076, allocations: 36 kB / 0.8739 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002249/1.078, allocations: 131.8 kB / 0.874 GB, free: 11.79 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000457/1.079, allocations: 137.8 kB / 0.8742 GB, free: 11.65 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01376/1.093, allocations: 4.315 MB / 0.8784 GB, free: 7.324 MB / 474.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01685/1.11, allocations: 6.641 MB / 0.8848 GB, free: 0.6172 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004952/1.115, allocations: 1.847 MB / 0.8867 GB, free: 14.77 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004472/1.119, allocations: 1.707 MB / 0.8883 GB, free: 13.06 MB / 490.7 MB Notification: Performance of Backend: time 1.122e-06/1.119, allocations: 0 / 0.8883 GB, free: 13.06 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02034/1.14, allocations: 4.73 MB / 0.8929 GB, free: 8.316 MB / 490.7 MB Notification: Performance of SimCode: time 0.4615/1.601, allocations: 11.85 MB / 0.9045 GB, free: 168.7 MB / 490.7 MB Notification: Performance of Templates: time 0.1219/1.723, allocations: 42.56 MB / 0.9461 GB, free: 145.2 MB / 490.7 MB