Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.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.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004264/0.004269, allocations: 347.1 kB / 15.94 MB, free: 6.199 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.829/3.829, allocations: 341.5 MB / 358.2 MB, free: 12.64 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.00356/0.00356, allocations: 229.1 kB / 397.9 MB, free: 4.988 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.4529/0.4529, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004538/0.000454, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1136, allocations: 48.7 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.4095/0.5231, allocations: 29.65 MB / 0.6357 GB, free: 74.17 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02692/0.5501, allocations: 6.988 MB / 0.6425 GB, free: 69.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008936/0.5591, allocations: 133.3 kB / 0.6426 GB, free: 69.48 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007026/0.5662, allocations: 1.467 MB / 0.6441 GB, free: 69.02 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02195/0.5882, allocations: 5.165 MB / 0.6491 GB, free: 66.47 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002982/0.5912, allocations: 443.8 kB / 0.6495 GB, free: 66.2 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.007459/0.5988, allocations: 4.305 MB / 0.6538 GB, free: 63.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006856/0.6057, allocations: 3.369 MB / 0.657 GB, free: 61.36 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002409/0.6082, allocations: 1.113 MB / 0.6581 GB, free: 60.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003434/0.6116, allocations: 1.822 MB / 0.6599 GB, free: 58.42 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001035/0.6127, allocations: 148 kB / 0.66 GB, free: 58.27 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003218/0.616, allocations: 0.8737 MB / 0.6609 GB, free: 57.4 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003329/0.6194, allocations: 1.64 MB / 0.6625 GB, free: 55.75 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001156/0.6206, allocations: 0.8349 MB / 0.6633 GB, free: 54.91 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007055/0.6277, allocations: 5.584 MB / 0.6688 GB, free: 49.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.6277, allocations: 0 / 0.6688 GB, free: 49.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.6277, allocations: 0 / 0.6688 GB, free: 49.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002249/0.628, allocations: 4 kB / 0.6688 GB, free: 49.31 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: 1696 * Number of variables: 1696 Notification: Performance of Generate backend data structure: time 0.01662/0.6446, allocations: 4.11 MB / 0.6728 GB, free: 45.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.874e-05/0.6447, allocations: 16.02 kB / 0.6728 GB, free: 45.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02224/0.667, allocations: 3.788 MB / 0.6765 GB, free: 41.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00571/0.6727, allocations: 2.129 MB / 0.6786 GB, free: 39.15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002506/0.673, allocations: 225.6 kB / 0.6788 GB, free: 38.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00155/0.6746, allocations: 291.8 kB / 0.6791 GB, free: 38.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02504/0.6997, allocations: 11.5 MB / 0.6903 GB, free: 26.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000149/0.6999, allocations: 31.28 kB / 0.6903 GB, free: 26.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001318/0.7012, allocations: 143.8 kB / 0.6905 GB, free: 26.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006692/0.7079, allocations: 2.624 MB / 0.693 GB, free: 23.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02862/0.7366, allocations: 10.72 MB / 0.7035 GB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07804/0.8147, allocations: 36.34 MB / 0.739 GB, free: 8.105 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01379/0.8285, allocations: 4.4 MB / 0.7433 GB, free: 3.484 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005449/0.834, allocations: 2.154 MB / 0.7454 GB, free: 1.332 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001901/0.836, allocations: 1.319 MB / 0.7467 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.355e-05/0.8361, allocations: 52.55 kB / 0.7467 GB, free: 15.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=244): time 7.815e-06/0.8361, allocations: 0 / 0.7467 GB, free: 15.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.07311/0.9092, allocations: 13.92 MB / 0.7603 GB, free: 1.766 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.643e-05/0.9094, allocations: 73.41 kB / 0.7604 GB, free: 1.684 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2836/1.193, allocations: 2.791 MB / 0.7631 GB, free: 119.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005276/1.194, allocations: 60.8 kB / 0.7632 GB, free: 119.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00272/1.196, allocations: 2.923 MB / 0.766 GB, free: 118 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001613/1.198, allocations: 0.9767 MB / 0.767 GB, free: 117.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007888/1.199, allocations: 113.4 kB / 0.7671 GB, free: 117.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005985/1.199, allocations: 0.5604 MB / 0.7676 GB, free: 117.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006732/1.206, allocations: 2.341 MB / 0.7699 GB, free: 117.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008461/1.215, allocations: 5.498 MB / 0.7753 GB, free: 112.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008588/1.223, allocations: 3.591 MB / 0.7788 GB, free: 111.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001153/1.224, allocations: 31.22 kB / 0.7788 GB, free: 111.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=777) (initialization): time 0.03813/1.262, allocations: 8.56 MB / 0.7872 GB, free: 108 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001907/1.262, allocations: 50.25 kB / 0.7872 GB, free: 108 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003216/1.262, allocations: 114.3 kB / 0.7874 GB, free: 108 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01051/1.273, allocations: 1.047 MB / 0.7884 GB, free: 107.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0134/1.286, allocations: 1.334 MB / 0.7897 GB, free: 107.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006522/1.293, allocations: 2.484 MB / 0.7921 GB, free: 106.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009118/1.302, allocations: 318.3 kB / 0.7924 GB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001845/1.304, allocations: 332.5 kB / 0.7927 GB, free: 106.1 MB / 410.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.009087/1.313, allocations: 2.262 MB / 0.7949 GB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001074/1.314, allocations: 288.8 kB / 0.7952 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.023/1.337, allocations: 5.062 MB / 0.8002 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-05/1.337, allocations: 12.61 kB / 0.8002 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/1.337, allocations: 4 kB / 0.8002 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008044/1.338, allocations: 323.5 kB / 0.8005 GB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001004/1.339, allocations: 38.16 kB / 0.8005 GB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002175/1.341, allocations: 135 kB / 0.8006 GB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004175/1.342, allocations: 133.4 kB / 0.8008 GB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01192/1.354, allocations: 4.318 MB / 0.805 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01374/1.368, allocations: 6.644 MB / 0.8115 GB, free: 94.91 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003738/1.371, allocations: 1.845 MB / 0.8133 GB, free: 93.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003202/1.375, allocations: 1.689 MB / 0.8149 GB, free: 91.79 MB / 410.7 MB Notification: Performance of Backend: time 2.084e-06/1.375, allocations: 3.828 kB / 0.8149 GB, free: 91.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01437/1.389, allocations: 4.733 MB / 0.8196 GB, free: 87.06 MB / 410.7 MB Notification: Performance of SimCode: time 0.02379/1.413, allocations: 11.87 MB / 0.8311 GB, free: 75.24 MB / 410.7 MB Notification: Performance of Templates: time 0.1119/1.525, allocations: 42.54 MB / 0.8727 GB, free: 33.25 MB / 410.7 MB