Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_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_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadModel(ModelicaTest): time 2.067/2.067, allocations: 209.3 MB / 224.8 MB, free: 292 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004464/0.0004465, allocations: 12 kB / 282.5 MB, free: 9.652 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3346, allocations: 48.7 MB / 331.2 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.04796/0.3826, allocations: 34.83 MB / 366 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02291/0.4056, allocations: 8.681 MB / 374.7 MB, free: 2.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007639/0.4133, allocations: 171.6 kB / 374.9 MB, free: 2.762 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00571/0.419, allocations: 1.785 MB / 376.7 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01833/0.4374, allocations: 5.143 MB / 381.8 MB, free: 11.81 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002795/0.4402, allocations: 0.4992 MB / 382.3 MB, free: 11.31 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005412/0.4457, allocations: 2.372 MB / 384.7 MB, free: 8.934 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008297/0.454, allocations: 4.269 MB / 388.9 MB, free: 4.609 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002446/0.4565, allocations: 1.035 MB / 390 MB, free: 3.57 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003057/0.4596, allocations: 1.429 MB / 391.4 MB, free: 2.137 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007741/0.4604, allocations: 164 kB / 391.6 MB, free: 1.977 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002571/0.463, allocations: 0.8895 MB / 392.4 MB, free: 1.086 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002611/0.4657, allocations: 1.691 MB / 394.1 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001478/0.4672, allocations: 0.9361 MB / 395.1 MB, free: 14.44 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009496/0.4767, allocations: 6.294 MB / 401.4 MB, free: 8.137 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.892e-06/0.4768, allocations: 0 / 401.4 MB, free: 8.137 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.538e-06/0.4768, allocations: 4 kB / 401.4 MB, free: 8.133 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001593/0.477, allocations: 0 / 401.4 MB, free: 8.133 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1869 * Number of variables: 1869 Notification: Performance of Generate backend data structure: time 0.01174/0.4887, allocations: 4.516 MB / 405.9 MB, free: 3.547 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.4888, allocations: 8.031 kB / 405.9 MB, free: 3.539 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01706/0.5059, allocations: 3.858 MB / 409.8 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006454/0.5124, allocations: 2.519 MB / 412.3 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003611/0.5128, allocations: 266.7 kB / 412.5 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001496/0.5143, allocations: 355.6 kB / 412.9 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05901/0.5733, allocations: 12.62 MB / 425.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003017/0.5737, allocations: 31.73 kB / 425.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002038/0.5758, allocations: 163.8 kB / 425.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01314/0.5889, allocations: 2.747 MB / 428.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03615/0.6252, allocations: 11.56 MB / 440 MB, free: 0.875 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08673/0.7119, allocations: 40.12 MB / 480.1 MB, free: 7.836 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01414/0.7261, allocations: 4.966 MB / 485.1 MB, free: 2.633 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2699/0.9961, allocations: 6.52 MB / 491.6 MB, free: 127.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.037e-05/0.9962, allocations: 55.98 kB / 491.7 MB, free: 127.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=228): time 7.246e-06/0.9962, allocations: 0 / 491.7 MB, free: 127.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=237): time 0.05023/1.046, allocations: 16.81 MB / 0.4966 GB, free: 121.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/1.047, allocations: 72.94 kB / 0.4966 GB, free: 121.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0051/1.052, allocations: 3.281 MB / 0.4998 GB, free: 120.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003709/1.052, allocations: 58.7 kB / 0.4999 GB, free: 120.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001928/1.054, allocations: 3.269 MB / 0.5031 GB, free: 117.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001015/1.055, allocations: 0.8883 MB / 0.504 GB, free: 117.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004596/1.056, allocations: 116.2 kB / 0.5041 GB, free: 117.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003676/1.056, allocations: 0.573 MB / 0.5046 GB, free: 116.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004537/1.06, allocations: 2.384 MB / 0.507 GB, free: 115.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00623/1.067, allocations: 5.762 MB / 0.5126 GB, free: 108.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006351/1.073, allocations: 3.693 MB / 0.5162 GB, free: 104.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001109/1.073, allocations: 32 kB / 0.5162 GB, free: 104.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.01899/1.092, allocations: 8.857 MB / 0.5249 GB, free: 95.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/1.092, allocations: 56.58 kB / 0.5249 GB, free: 95.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001245/1.093, allocations: 120 kB / 0.525 GB, free: 95.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004229/1.097, allocations: 1.166 MB / 0.5262 GB, free: 94.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005387/1.102, allocations: 1.372 MB / 0.5275 GB, free: 93.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006446/1.109, allocations: 4.654 MB / 0.5321 GB, free: 88.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005075/1.114, allocations: 325.1 kB / 0.5324 GB, free: 88.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009919/1.115, allocations: 356 kB / 0.5327 GB, free: 87.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 537 * Number of states: 0 () * Number of discrete variables: 27 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[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],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 (743): * Single equations (assignments): 735 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.004738/1.12, allocations: 2.413 MB / 0.5351 GB, free: 85.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005902/1.12, allocations: 300.1 kB / 0.5354 GB, free: 85.03 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008934/1.129, allocations: 4.45 MB / 0.5397 GB, free: 80.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.389e-05/1.129, allocations: 45.08 kB / 0.5397 GB, free: 80.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/1.129, allocations: 1.594 kB / 0.5397 GB, free: 80.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.722e-05/1.129, allocations: 11.97 kB / 0.5398 GB, free: 80.49 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02201/1.151, allocations: 10.6 MB / 0.5501 GB, free: 69.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.313e-05/1.152, allocations: 12.09 kB / 0.5501 GB, free: 69.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002234/1.154, allocations: 379.4 kB / 0.5505 GB, free: 69.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002394/1.156, allocations: 0.6814 MB / 0.5511 GB, free: 68.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004376/1.157, allocations: 49.23 kB / 0.5512 GB, free: 68.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002947/1.16, allocations: 2.436 MB / 0.5536 GB, free: 66.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.776e-06/1.16, allocations: 11.94 kB / 0.5536 GB, free: 66.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01217/1.172, allocations: 6.785 MB / 0.5602 GB, free: 59.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008832/1.173, allocations: 357.1 kB / 0.5606 GB, free: 58.81 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001031/1.174, allocations: 45.48 kB / 0.5606 GB, free: 58.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002264/1.176, allocations: 141 kB / 0.5607 GB, free: 58.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005434/1.177, allocations: 129.7 kB / 0.5609 GB, free: 58.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002542/1.177, allocations: 65.55 kB / 0.5609 GB, free: 58.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003824/1.181, allocations: 2.018 MB / 0.5629 GB, free: 56.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.69e-07/1.181, allocations: 0 / 0.5629 GB, free: 56.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005868/1.187, allocations: 1.088 MB / 0.5639 GB, free: 55.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 12 (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,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (191): * Single equations (assignments): 182 * 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 Backend phase and start with SimCode phase: time 0.0007875/1.188, allocations: 208.1 kB / 0.5641 GB, free: 55.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01092/1.199, allocations: 5.814 MB / 0.5698 GB, free: 49.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/1.199, allocations: 4 kB / 0.5698 GB, free: 49.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004909/1.204, allocations: 2.415 MB / 0.5722 GB, free: 46.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/1.206, allocations: 410.1 kB / 0.5726 GB, free: 46.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03573/1.242, allocations: 14.02 MB / 0.5863 GB, free: 32.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009982/1.252, allocations: 3.832 MB / 0.59 GB, free: 28.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001462/1.253, allocations: 291.4 kB / 0.5903 GB, free: 28.22 MB / 410.7 MB Notification: Performance of SimCode: time 2.306e-06/1.253, allocations: 0 / 0.5903 GB, free: 28.22 MB / 410.7 MB Notification: Performance of Templates: time 0.4506/1.704, allocations: 112.4 MB / 0.7001 GB, free: 79.3 MB / 426.7 MB