Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit1.r_rel_a_1|freeMotionScalarInit1.r_rel_a_2|freeMotionScalarInit1.r_rel_a_3|freeMotionScalarInit1.v_rel_a_1|freeMotionScalarInit1.v_rel_a_2|freeMotionScalarInit1.v_rel_a_3|freeMotionScalarInit2.angle_1|freeMotionScalarInit2.angle_2|freeMotionScalarInit2.angle_3|freeMotionScalarInit2.angle_d_1|freeMotionScalarInit2.angle_d_2|freeMotionScalarInit2.angle_d_3",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003857/0.003863, allocations: 350.5 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.57/3.57, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.005953/0.005953, allocations: 225.1 kB / 397.9 MB, free: 4.984 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.5231/0.5231, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006716/0.0006718, allocations: 16 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1063, allocations: 48.71 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.3125/0.4188, allocations: 40.19 MB / 0.646 GB, free: 66.62 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02535/0.4442, allocations: 8.999 MB / 0.6548 GB, free: 60.58 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009521/0.4538, allocations: 188.3 kB / 0.655 GB, free: 60.55 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007752/0.4616, allocations: 2.004 MB / 0.6569 GB, free: 59.88 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02298/0.4846, allocations: 6.886 MB / 0.6636 GB, free: 54.53 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003965/0.4886, allocations: 0.5149 MB / 0.6641 GB, free: 54.01 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.007343/0.496, allocations: 4.583 MB / 0.6686 GB, free: 49.42 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008055/0.5041, allocations: 4.166 MB / 0.6727 GB, free: 45.32 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002502/0.5067, allocations: 1.175 MB / 0.6738 GB, free: 44.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003979/0.5107, allocations: 1.908 MB / 0.6757 GB, free: 42.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0011/0.5119, allocations: 160 kB / 0.6759 GB, free: 42.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003307/0.5152, allocations: 0.8815 MB / 0.6767 GB, free: 41.19 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002782/0.518, allocations: 1.741 MB / 0.6784 GB, free: 39.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001477/0.5196, allocations: 0.8894 MB / 0.6793 GB, free: 38.55 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00801/0.5276, allocations: 6.028 MB / 0.6852 GB, free: 32.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.5277, allocations: 0 / 0.6852 GB, free: 32.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5277, allocations: 0 / 0.6852 GB, free: 32.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002487/0.5279, allocations: 0 / 0.6852 GB, free: 32.51 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: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01374/0.5417, allocations: 4.369 MB / 0.6894 GB, free: 28.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.5418, allocations: 12.03 kB / 0.6894 GB, free: 28.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02268/0.5644, allocations: 3.819 MB / 0.6932 GB, free: 24.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006323/0.5708, allocations: 2.279 MB / 0.6954 GB, free: 21.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002736/0.5711, allocations: 254.3 kB / 0.6956 GB, free: 21.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001835/0.573, allocations: 319.8 kB / 0.696 GB, free: 21.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02715/0.6002, allocations: 11.94 MB / 0.7076 GB, free: 8.965 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001436/0.6004, allocations: 35.64 kB / 0.7076 GB, free: 8.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007763/0.6012, allocations: 151.8 kB / 0.7078 GB, free: 8.781 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006674/0.6079, allocations: 2.641 MB / 0.7104 GB, free: 6.133 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03106/0.639, allocations: 11.02 MB / 0.7211 GB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09519/0.7342, allocations: 37.45 MB / 0.7577 GB, free: 4.934 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01384/0.7481, allocations: 4.405 MB / 0.762 GB, free: 308 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3183/1.066, allocations: 2.148 MB / 0.7641 GB, free: 120.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001581/1.068, allocations: 1.312 MB / 0.7654 GB, free: 119.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/1.068, allocations: 57.89 kB / 0.7654 GB, free: 119.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=244): time 6.923e-06/1.068, allocations: 0 / 0.7654 GB, free: 119.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.07725/1.145, allocations: 13.88 MB / 0.779 GB, free: 116.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/1.146, allocations: 78.25 kB / 0.7791 GB, free: 116.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006039/1.152, allocations: 2.939 MB / 0.7819 GB, free: 115.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005324/1.152, allocations: 64.8 kB / 0.782 GB, free: 115.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00283/1.155, allocations: 3.102 MB / 0.785 GB, free: 113.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00156/1.157, allocations: 0.9772 MB / 0.786 GB, free: 112.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005987/1.157, allocations: 120.6 kB / 0.7861 GB, free: 112.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004619/1.158, allocations: 0.5616 MB / 0.7866 GB, free: 112 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006302/1.164, allocations: 2.378 MB / 0.789 GB, free: 111.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008038/1.172, allocations: 5.661 MB / 0.7945 GB, free: 106.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007732/1.18, allocations: 3.669 MB / 0.7981 GB, free: 104.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001032/1.18, allocations: 34.88 kB / 0.7981 GB, free: 104.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=798) (initialization): time 0.02487/1.205, allocations: 8.745 MB / 0.8066 GB, free: 99.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.115e-05/1.205, allocations: 52 kB / 0.8067 GB, free: 99.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001481/1.205, allocations: 116.1 kB / 0.8068 GB, free: 99.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006726/1.212, allocations: 1.052 MB / 0.8078 GB, free: 99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008573/1.221, allocations: 1.378 MB / 0.8092 GB, free: 97.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004027/1.225, allocations: 2.478 MB / 0.8116 GB, free: 95.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006341/1.231, allocations: 325.5 kB / 0.8119 GB, free: 95.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00132/1.232, allocations: 347.7 kB / 0.8122 GB, free: 94.88 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 520 * Number of states: 0 () * Number of discrete variables: 24 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[1],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],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 (745): * Single equations (assignments): 736 * 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.006138/1.239, allocations: 2.359 MB / 0.8145 GB, free: 92.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008656/1.24, allocations: 296.2 kB / 0.8148 GB, free: 92.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01633/1.256, allocations: 5.082 MB / 0.8198 GB, free: 87.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.5e-05/1.256, allocations: 7.969 kB / 0.8198 GB, free: 87.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/1.256, allocations: 0 / 0.8198 GB, free: 87.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000932/1.257, allocations: 337.1 kB / 0.8201 GB, free: 86.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001224/1.258, allocations: 43.95 kB / 0.8202 GB, free: 86.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002572/1.261, allocations: 135.6 kB / 0.8203 GB, free: 86.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000505/1.261, allocations: 137.5 kB / 0.8204 GB, free: 86.54 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01182/1.273, allocations: 4.319 MB / 0.8246 GB, free: 82.21 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01389/1.287, allocations: 6.656 MB / 0.8311 GB, free: 75.49 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003792/1.291, allocations: 1.844 MB / 0.8329 GB, free: 73.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003424/1.294, allocations: 1.788 MB / 0.8347 GB, free: 71.86 MB / 410.7 MB Notification: Performance of Backend: time 1.283e-06/1.295, allocations: 0 / 0.8347 GB, free: 71.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01478/1.309, allocations: 4.806 MB / 0.8394 GB, free: 67.05 MB / 410.7 MB Notification: Performance of SimCode: time 0.02578/1.335, allocations: 12.47 MB / 0.8516 GB, free: 54.63 MB / 410.7 MB Notification: Performance of Templates: time 0.152/1.487, allocations: 44.38 MB / 0.8949 GB, free: 10.8 MB / 410.7 MB