Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadModel(ModelicaTest): time 2.225/2.225, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006913/0.0006916, allocations: 16 kB / 314.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3496, allocations: 54.87 MB / 369.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.05164/0.4013, allocations: 34.85 MB / 404 MB, free: 7.781 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02175/0.4231, allocations: 8.699 MB / 412.7 MB, free: 15.05 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006524/0.4297, allocations: 167.6 kB / 412.9 MB, free: 14.89 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005421/0.4351, allocations: 1.797 MB / 414.7 MB, free: 13.08 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01697/0.4522, allocations: 5.139 MB / 419.8 MB, free: 7.93 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002523/0.4547, allocations: 0.4952 MB / 420.3 MB, free: 7.434 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0049/0.4596, allocations: 2.356 MB / 422.7 MB, free: 5.074 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007767/0.4675, allocations: 4.272 MB / 427 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001813/0.4693, allocations: 1.047 MB / 428 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002206/0.4715, allocations: 1.421 MB / 429.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005371/0.4721, allocations: 164 kB / 429.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002167/0.4743, allocations: 0.8973 MB / 430.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002073/0.4764, allocations: 1.687 MB / 432.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001183/0.4776, allocations: 0.9361 MB / 433.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009037/0.4866, allocations: 6.286 MB / 439.4 MB, free: 4.281 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.505e-06/0.4867, allocations: 0 / 439.4 MB, free: 4.281 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.011e-06/0.4867, allocations: 4 kB / 439.4 MB, free: 4.277 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001652/0.4869, allocations: 0 / 439.4 MB, free: 4.277 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: 1869 * Number of variables: 1869 Notification: Performance of Generate backend data structure: time 0.01131/0.4982, allocations: 4.52 MB / 443.9 MB, free: 15.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.4983, allocations: 12.03 kB / 443.9 MB, free: 15.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01667/0.5149, allocations: 3.854 MB / 447.8 MB, free: 11.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006342/0.5213, allocations: 2.519 MB / 450.3 MB, free: 9.238 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003462/0.5217, allocations: 274.6 kB / 450.6 MB, free: 8.969 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001349/0.5231, allocations: 347.8 kB / 450.9 MB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02765/0.5508, allocations: 12.63 MB / 463.5 MB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001384/0.5509, allocations: 31.69 kB / 463.6 MB, free: 11.49 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007095/0.5517, allocations: 167.8 kB / 463.7 MB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005649/0.5573, allocations: 2.739 MB / 466.5 MB, free: 8.578 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2834/0.8407, allocations: 11.56 MB / 478 MB, free: 84.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06441/0.9052, allocations: 40.13 MB / 0.506 GB, free: 55.36 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01165/0.9169, allocations: 4.966 MB / 0.5109 GB, free: 50.17 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01123/0.9282, allocations: 6.53 MB / 0.5172 GB, free: 43.37 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.9282, allocations: 48.56 kB / 0.5173 GB, free: 43.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=228): time 6.479e-06/0.9283, allocations: 0 / 0.5173 GB, free: 43.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=237): time 0.04749/0.9758, allocations: 16.81 MB / 0.5337 GB, free: 26.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.9758, allocations: 73.41 kB / 0.5338 GB, free: 26.17 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004893/0.9808, allocations: 3.283 MB / 0.537 GB, free: 22.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003631/0.9812, allocations: 57.7 kB / 0.537 GB, free: 22.81 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001806/0.983, allocations: 3.264 MB / 0.5402 GB, free: 19.54 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009469/0.9839, allocations: 0.8934 MB / 0.5411 GB, free: 18.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003852/0.9843, allocations: 117 kB / 0.5412 GB, free: 18.54 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003346/0.9847, allocations: 0.5711 MB / 0.5418 GB, free: 17.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004354/0.9891, allocations: 2.382 MB / 0.5441 GB, free: 15.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006172/0.9953, allocations: 5.765 MB / 0.5497 GB, free: 8.145 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006269/1.002, allocations: 3.688 MB / 0.5533 GB, free: 4.453 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.736e-05/1.002, allocations: 36 kB / 0.5533 GB, free: 4.418 MB / 394.7 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.02104/1.023, allocations: 8.848 MB / 0.562 GB, free: 11.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001224/1.023, allocations: 59.95 kB / 0.562 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001736/1.023, allocations: 116 kB / 0.5622 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004775/1.028, allocations: 1.168 MB / 0.5633 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005942/1.034, allocations: 1.376 MB / 0.5646 GB, free: 8.832 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008316/1.042, allocations: 4.659 MB / 0.5692 GB, free: 4.012 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004946/1.047, allocations: 323.6 kB / 0.5695 GB, free: 3.699 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001179/1.048, allocations: 356 kB / 0.5698 GB, free: 3.352 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.005686/1.054, allocations: 2.41 MB / 0.5722 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006883/1.055, allocations: 304.1 kB / 0.5725 GB, free: 0.625 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01114/1.066, allocations: 4.445 MB / 0.5768 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.827e-05/1.066, allocations: 51.98 kB / 0.5769 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/1.066, allocations: 0 / 0.5769 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.122e-05/1.066, allocations: 7.969 kB / 0.5769 GB, free: 12.1 MB / 426.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.0263/1.093, allocations: 10.61 MB / 0.5872 GB, free: 1.367 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.683e-05/1.093, allocations: 4.594 kB / 0.5872 GB, free: 1.363 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002353/1.095, allocations: 387.4 kB / 0.5876 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002691/1.098, allocations: 0.6814 MB / 0.5883 GB, free: 300 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004237/1.098, allocations: 47.98 kB / 0.5883 GB, free: 252 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003962/1.102, allocations: 2.44 MB / 0.5907 GB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.209e-05/1.102, allocations: 7.938 kB / 0.5907 GB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01492/1.117, allocations: 6.788 MB / 0.5973 GB, free: 6.773 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001429/1.119, allocations: 357.1 kB / 0.5977 GB, free: 6.402 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007604/1.119, allocations: 36 kB / 0.5977 GB, free: 6.367 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001979/1.121, allocations: 143.9 kB / 0.5979 GB, free: 6.227 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004418/1.122, allocations: 137.2 kB / 0.598 GB, free: 6.098 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002433/1.122, allocations: 67.92 kB / 0.5981 GB, free: 6.031 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004587/1.127, allocations: 2.006 MB / 0.6 GB, free: 4.027 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.083e-06/1.127, allocations: 4 kB / 0.6 GB, free: 4.023 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006579/1.133, allocations: 1.077 MB / 0.6011 GB, free: 2.949 MB / 442.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.001013/1.134, allocations: 200.2 kB / 0.6013 GB, free: 2.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01332/1.148, allocations: 5.819 MB / 0.6069 GB, free: 12.96 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.65e-06/1.148, allocations: 0 / 0.6069 GB, free: 12.96 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005771/1.154, allocations: 2.417 MB / 0.6093 GB, free: 10.49 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002434/1.156, allocations: 409.6 kB / 0.6097 GB, free: 10.09 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0291/1.185, allocations: 14.02 MB / 0.6234 GB, free: 11.99 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008365/1.194, allocations: 3.832 MB / 0.6271 GB, free: 8.121 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001523/1.195, allocations: 287.4 kB / 0.6274 GB, free: 7.84 MB / 474.7 MB Notification: Performance of SimCode: time 1.724e-06/1.195, allocations: 0 / 0.6274 GB, free: 7.84 MB / 474.7 MB Notification: Performance of Templates: time 0.4181/1.613, allocations: 112.5 MB / 0.7372 GB, free: 93.96 MB / 490.7 MB