Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.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_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002541/0.002546, allocations: 353.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.706/3.706, 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.003475/0.003475, allocations: 221.2 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.5202/0.5202, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000707/0.0007074, allocations: 8 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1158, allocations: 48.71 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.3487/0.4646, allocations: 36.81 MB / 0.6427 GB, free: 69.02 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02421/0.4889, allocations: 8.343 MB / 0.6508 GB, free: 63.45 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008786/0.4977, allocations: 168.2 kB / 0.651 GB, free: 63.42 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00723/0.505, allocations: 1.825 MB / 0.6528 GB, free: 62.83 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02136/0.5264, allocations: 6.28 MB / 0.6589 GB, free: 58.87 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003543/0.53, allocations: 0.51 MB / 0.6594 GB, free: 58.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.007568/0.5376, allocations: 4.74 MB / 0.664 GB, free: 54.14 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007966/0.5457, allocations: 4.298 MB / 0.6682 GB, free: 49.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002734/0.5485, allocations: 1.237 MB / 0.6694 GB, free: 48.67 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003852/0.5524, allocations: 2.005 MB / 0.6714 GB, free: 46.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001106/0.5535, allocations: 160 kB / 0.6716 GB, free: 46.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003378/0.5569, allocations: 0.9284 MB / 0.6725 GB, free: 45.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00261/0.5596, allocations: 1.811 MB / 0.6742 GB, free: 43.76 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001394/0.561, allocations: 0.9323 MB / 0.6751 GB, free: 42.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008434/0.5695, allocations: 6.282 MB / 0.6813 GB, free: 36.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.5696, allocations: 4 kB / 0.6813 GB, free: 36.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.534e-06/0.5696, allocations: 0 / 0.6813 GB, free: 36.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002776/0.5699, allocations: 0 / 0.6813 GB, free: 36.52 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.01398/0.5839, allocations: 4.507 MB / 0.6857 GB, free: 31.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.5839, allocations: 8.031 kB / 0.6857 GB, free: 31.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0223/0.6062, allocations: 3.843 MB / 0.6894 GB, free: 28.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006425/0.6127, allocations: 2.335 MB / 0.6917 GB, free: 25.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002941/0.6131, allocations: 262.7 kB / 0.692 GB, free: 25.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001869/0.615, allocations: 347.7 kB / 0.6923 GB, free: 25.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0357/0.6507, allocations: 12.63 MB / 0.7046 GB, free: 12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002527/0.651, allocations: 31.72 kB / 0.7047 GB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002294/0.6534, allocations: 159.8 kB / 0.7048 GB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009991/0.6634, allocations: 2.743 MB / 0.7075 GB, free: 9.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04746/0.7109, allocations: 11.57 MB / 0.7188 GB, free: 13.49 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1117/0.8227, allocations: 40.01 MB / 0.7579 GB, free: 4.688 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3432/1.166, allocations: 4.964 MB / 0.7627 GB, free: 118.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005978/1.172, allocations: 2.373 MB / 0.765 GB, free: 118.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01648/1.189, allocations: 6.477 MB / 0.7714 GB, free: 116.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.212e-05/1.189, allocations: 54.08 kB / 0.7714 GB, free: 116.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=228): time 7.163e-06/1.189, allocations: 0 / 0.7714 GB, free: 116.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=237): time 0.06733/1.256, allocations: 16.23 MB / 0.7873 GB, free: 110.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/1.256, allocations: 72.2 kB / 0.7873 GB, free: 110.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006706/1.263, allocations: 3.161 MB / 0.7904 GB, free: 109.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005257/1.263, allocations: 59.75 kB / 0.7905 GB, free: 109.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002461/1.266, allocations: 3.286 MB / 0.7937 GB, free: 106.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001323/1.267, allocations: 0.8907 MB / 0.7946 GB, free: 106.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005804/1.268, allocations: 118 kB / 0.7947 GB, free: 106.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003849/1.268, allocations: 0.5636 MB / 0.7952 GB, free: 105.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005598/1.274, allocations: 2.395 MB / 0.7976 GB, free: 105 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007758/1.282, allocations: 5.769 MB / 0.8032 GB, free: 99.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007964/1.29, allocations: 3.702 MB / 0.8068 GB, free: 98.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.823e-05/1.29, allocations: 35.16 kB / 0.8069 GB, free: 98.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=807) (initialization): time 0.02482/1.315, allocations: 8.958 MB / 0.8156 GB, free: 90.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.707e-05/1.315, allocations: 52.94 kB / 0.8156 GB, free: 90.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001628/1.315, allocations: 120 kB / 0.8158 GB, free: 90.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00988/1.325, allocations: 1.162 MB / 0.8169 GB, free: 89.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009502/1.334, allocations: 1.376 MB / 0.8182 GB, free: 88.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008339/1.343, allocations: 4.578 MB / 0.8227 GB, free: 83.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00593/1.349, allocations: 331.7 kB / 0.823 GB, free: 83.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009243/1.35, allocations: 356 kB / 0.8234 GB, free: 82.82 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 (747): * Single equations (assignments): 739 * 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.005436/1.355, allocations: 2.412 MB / 0.8257 GB, free: 80.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007398/1.356, allocations: 304.1 kB / 0.826 GB, free: 80.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01102/1.367, allocations: 4.454 MB / 0.8304 GB, free: 75.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.093e-05/1.367, allocations: 7.969 kB / 0.8304 GB, free: 75.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/1.367, allocations: 0 / 0.8304 GB, free: 75.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008545/1.368, allocations: 337.1 kB / 0.8307 GB, free: 75.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007968/1.369, allocations: 38.5 kB / 0.8307 GB, free: 75.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002187/1.371, allocations: 135.8 kB / 0.8309 GB, free: 75.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003463/1.371, allocations: 117.8 kB / 0.831 GB, free: 74.98 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01102/1.382, allocations: 4.155 MB / 0.835 GB, free: 70.84 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01233/1.395, allocations: 6.268 MB / 0.8412 GB, free: 64.54 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003571/1.398, allocations: 1.745 MB / 0.8429 GB, free: 62.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00403/1.402, allocations: 1.912 MB / 0.8447 GB, free: 60.89 MB / 410.7 MB Notification: Performance of Backend: time 1.262e-06/1.403, allocations: 0 / 0.8447 GB, free: 60.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01341/1.416, allocations: 4.513 MB / 0.8491 GB, free: 56.43 MB / 410.7 MB Notification: Performance of SimCode: time 0.02633/1.442, allocations: 12.72 MB / 0.8616 GB, free: 43.76 MB / 410.7 MB Notification: Performance of Templates: time 0.1223/1.565, allocations: 45.02 MB / 0.9055 GB, free: 15.23 MB / 426.7 MB