Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.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.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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|freeMotionScalarInit.w_rel_b_1|freeMotionScalarInit.w_rel_b_2|freeMotionScalarInit.w_rel_b_3",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002722/0.002727, allocations: 360.8 kB / 15.96 MB, free: 6.207 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.939/3.939, allocations: 388.9 MB / 405.6 MB, free: 9.582 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.003535/0.003535, allocations: 244.2 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.5147/0.5147, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004845/0.0004847, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1503, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2): time 0.03487/0.1852, allocations: 29.67 MB / 0.7091 GB, free: 11.9 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01725/0.2025, allocations: 7.015 MB / 0.7159 GB, free: 4.863 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005224/0.2078, allocations: 135.6 kB / 0.7161 GB, free: 4.73 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004575/0.2124, allocations: 1.474 MB / 0.7175 GB, free: 3.25 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.377/0.5894, allocations: 5.156 MB / 0.7225 GB, free: 13.34 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002802/0.5922, allocations: 435.8 kB / 0.7229 GB, free: 13.32 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.008207/0.6005, allocations: 4.316 MB / 0.7272 GB, free: 13.32 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007733/0.6083, allocations: 3.36 MB / 0.7304 GB, free: 12.98 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00306/0.6114, allocations: 1.116 MB / 0.7315 GB, free: 12.98 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00463/0.6161, allocations: 1.827 MB / 0.7333 GB, free: 12.92 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001378/0.6175, allocations: 147 kB / 0.7335 GB, free: 12.92 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003988/0.6216, allocations: 0.8838 MB / 0.7343 GB, free: 12.88 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003461/0.6251, allocations: 1.662 MB / 0.7359 GB, free: 12.69 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002149/0.6273, allocations: 0.8483 MB / 0.7368 GB, free: 12.48 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00891/0.6363, allocations: 5.637 MB / 0.7423 GB, free: 9.789 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.6363, allocations: 0 / 0.7423 GB, free: 9.789 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.6363, allocations: 0 / 0.7423 GB, free: 9.789 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002988/0.6366, allocations: 0 / 0.7423 GB, free: 9.789 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: 1717 * Number of variables: 1717 Notification: Performance of Generate backend data structure: time 0.01561/0.6523, allocations: 4.141 MB / 0.7463 GB, free: 7.273 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.206e-05/0.6524, allocations: 14.59 kB / 0.7463 GB, free: 7.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02428/0.6766, allocations: 3.794 MB / 0.75 GB, free: 5.586 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006969/0.6837, allocations: 2.13 MB / 0.7521 GB, free: 4.711 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003353/0.6841, allocations: 228.8 kB / 0.7523 GB, free: 4.699 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002087/0.6862, allocations: 300.9 kB / 0.7526 GB, free: 4.691 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03088/0.7171, allocations: 11.98 MB / 0.7643 GB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001527/0.7173, allocations: 29.78 kB / 0.7643 GB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001176/0.7185, allocations: 131.7 kB / 0.7645 GB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00811/0.7266, allocations: 2.704 MB / 0.7671 GB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03732/0.764, allocations: 11.15 MB / 0.778 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09092/0.855, allocations: 36.99 MB / 0.8141 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01599/0.871, allocations: 4.697 MB / 0.8187 GB, free: 6.484 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005973/0.877, allocations: 2.24 MB / 0.8209 GB, free: 4.246 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002072/0.8792, allocations: 1.319 MB / 0.8222 GB, free: 2.719 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.158e-05/0.8793, allocations: 52.56 kB / 0.8222 GB, free: 2.656 MB / 410.7 MB Notification: Performance of pre-optimization done (n=244): time 7.615e-06/0.8793, allocations: 0 / 0.8222 GB, free: 2.656 MB / 410.7 MB Notification: Performance of matching and sorting (n=256): time 0.07077/0.9501, allocations: 13.53 MB / 0.8355 GB, free: 5.059 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.146e-05/0.9502, allocations: 75.38 kB / 0.8355 GB, free: 4.977 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006799/0.957, allocations: 2.785 MB / 0.8382 GB, free: 2.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006019/0.9577, allocations: 65.38 kB / 0.8383 GB, free: 2.113 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003525/0.9612, allocations: 2.951 MB / 0.8412 GB, free: 15.17 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001871/0.9632, allocations: 0.943 MB / 0.8421 GB, free: 14.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006944/0.9639, allocations: 114.8 kB / 0.8422 GB, free: 14.12 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005999/0.9645, allocations: 0.554 MB / 0.8428 GB, free: 13.56 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006933/0.9715, allocations: 2.287 MB / 0.845 GB, free: 11.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01048/0.982, allocations: 5.434 MB / 0.8503 GB, free: 4.297 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009878/0.992, allocations: 3.529 MB / 0.8538 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001119/0.9921, allocations: 34.08 kB / 0.8538 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of matching and sorting (n=768) (initialization): time 0.03356/1.026, allocations: 8.405 MB / 0.862 GB, free: 8.332 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001671/1.026, allocations: 55.95 kB / 0.862 GB, free: 8.277 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002566/1.026, allocations: 112.1 kB / 0.8622 GB, free: 8.168 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009218/1.035, allocations: 1.028 MB / 0.8632 GB, free: 7.129 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01211/1.048, allocations: 1.322 MB / 0.8644 GB, free: 5.805 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006615/1.054, allocations: 2.474 MB / 0.8669 GB, free: 3.191 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008321/1.063, allocations: 315.7 kB / 0.8672 GB, free: 2.883 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001961/1.065, allocations: 332 kB / 0.8675 GB, free: 2.559 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 (715): * Single equations (assignments): 706 * 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 {(3,100.0%),(2,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.009019/1.074, allocations: 2.279 MB / 0.8697 GB, free: 280 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00107/1.075, allocations: 284.3 kB / 0.87 GB, free: 15.99 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0222/1.097, allocations: 4.896 MB / 0.8748 GB, free: 11.03 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-05/1.097, allocations: 11.95 kB / 0.8748 GB, free: 11.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/1.097, allocations: 0 / 0.8748 GB, free: 11.02 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00091/1.098, allocations: 321.4 kB / 0.8751 GB, free: 10.68 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001202/1.099, allocations: 39.28 kB / 0.8751 GB, free: 10.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002644/1.102, allocations: 131.8 kB / 0.8752 GB, free: 10.52 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007713/1.103, allocations: 121.8 kB / 0.8754 GB, free: 10.4 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01369/1.117, allocations: 4.154 MB / 0.8794 GB, free: 6.227 MB / 474.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01694/1.134, allocations: 6.445 MB / 0.8857 GB, free: 15.72 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00457/1.138, allocations: 1.773 MB / 0.8874 GB, free: 13.95 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004492/1.143, allocations: 1.697 MB / 0.8891 GB, free: 12.25 MB / 490.7 MB Notification: Performance of Backend: time 1.072e-06/1.143, allocations: 0 / 0.8891 GB, free: 12.25 MB / 490.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Mechanics/MultiBody/Joints.mo:1955:5-1957:161:writable] Warning: Variable $DER.freeMotionScalarInit.angle_2 has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Mechanics/MultiBody/Joints.mo:1952:5-1954:161:writable] Warning: Variable $DER.freeMotionScalarInit.angle_1 has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.01703/1.16, allocations: 4.634 MB / 0.8936 GB, free: 7.602 MB / 490.7 MB Notification: Performance of SimCode: time 0.3637/1.524, allocations: 11.87 MB / 0.9052 GB, free: 168 MB / 490.7 MB Notification: Performance of Templates: time 0.1773/1.701, allocations: 41.76 MB / 0.946 GB, free: 144.6 MB / 490.7 MB