Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.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.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003932/0.003931, allocations: 364.4 kB / 15.96 MB, free: 6.199 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.965/3.965, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.003448/0.003448, allocations: 227.4 kB / 451 MB, free: 145.1 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.5088/0.5088, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000794/0.0007942, allocations: 8 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1173, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.3933/0.5106, allocations: 40.21 MB / 0.7194 GB, free: 11.93 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02418/0.5348, allocations: 9.017 MB / 0.7282 GB, free: 11.75 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01081/0.5457, allocations: 187.9 kB / 0.7284 GB, free: 11.75 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01015/0.5559, allocations: 2.006 MB / 0.7303 GB, free: 11.47 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03256/0.5886, allocations: 6.881 MB / 0.737 GB, free: 9.684 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00357/0.5922, allocations: 0.5029 MB / 0.7375 GB, free: 9.531 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.008103/0.6004, allocations: 4.577 MB / 0.742 GB, free: 7.934 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00832/0.6087, allocations: 4.186 MB / 0.7461 GB, free: 6.617 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002582/0.6114, allocations: 1.174 MB / 0.7472 GB, free: 6.18 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004141/0.6155, allocations: 1.906 MB / 0.7491 GB, free: 5.535 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001094/0.6167, allocations: 157.1 kB / 0.7492 GB, free: 5.531 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003403/0.6201, allocations: 0.8765 MB / 0.7501 GB, free: 5.301 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003456/0.6236, allocations: 1.743 MB / 0.7518 GB, free: 4.695 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001879/0.6255, allocations: 0.8901 MB / 0.7527 GB, free: 4.48 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008912/0.6345, allocations: 6.026 MB / 0.7586 GB, free: 1.219 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.6346, allocations: 0 / 0.7586 GB, free: 1.219 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.6346, allocations: 1.641 kB / 0.7586 GB, free: 1.219 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003138/0.6349, allocations: 0 / 0.7586 GB, free: 1.219 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: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01582/0.6507, allocations: 4.363 MB / 0.7628 GB, free: 13.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.6508, allocations: 8.562 kB / 0.7628 GB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02408/0.6749, allocations: 3.819 MB / 0.7666 GB, free: 9.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00733/0.6823, allocations: 2.276 MB / 0.7688 GB, free: 8.129 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002883/0.6826, allocations: 256.5 kB / 0.769 GB, free: 7.988 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001683/0.6843, allocations: 326.9 kB / 0.7693 GB, free: 7.781 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03012/0.7144, allocations: 11.95 MB / 0.781 GB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001611/0.7147, allocations: 27.81 kB / 0.781 GB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009896/0.7157, allocations: 150.7 kB / 0.7812 GB, free: 13.49 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007818/0.7235, allocations: 2.637 MB / 0.7837 GB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03392/0.7575, allocations: 11.03 MB / 0.7945 GB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08782/0.8453, allocations: 37.45 MB / 0.8311 GB, free: 9.824 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01396/0.8593, allocations: 4.395 MB / 0.8354 GB, free: 5.199 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005604/0.865, allocations: 2.158 MB / 0.8375 GB, free: 3.047 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002036/0.8671, allocations: 1.325 MB / 0.8388 GB, free: 1.516 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.937e-05/0.8672, allocations: 52.56 kB / 0.8388 GB, free: 1.453 MB / 426.7 MB Notification: Performance of pre-optimization done (n=244): time 7.173e-06/0.8672, allocations: 0 / 0.8388 GB, free: 1.453 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.0736/0.9408, allocations: 13.88 MB / 0.8524 GB, free: 3.516 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.078e-05/0.9409, allocations: 78.61 kB / 0.8525 GB, free: 3.43 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006197/0.9471, allocations: 2.939 MB / 0.8553 GB, free: 484 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005913/0.9477, allocations: 61.7 kB / 0.8554 GB, free: 416 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003185/0.9509, allocations: 3.092 MB / 0.8584 GB, free: 13.32 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001727/0.9527, allocations: 0.9842 MB / 0.8594 GB, free: 12.35 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005575/0.9533, allocations: 118.9 kB / 0.8595 GB, free: 12.23 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005502/0.9538, allocations: 0.5662 MB / 0.86 GB, free: 11.66 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006427/0.9603, allocations: 2.378 MB / 0.8624 GB, free: 9.277 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009963/0.9703, allocations: 5.656 MB / 0.8679 GB, free: 2.008 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009586/0.9799, allocations: 3.673 MB / 0.8715 GB, free: 14.34 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001099/0.9801, allocations: 37.38 kB / 0.8715 GB, free: 14.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=798) (initialization): time 0.02907/1.009, allocations: 8.735 MB / 0.88 GB, free: 5.551 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000112/1.009, allocations: 56 kB / 0.8801 GB, free: 5.496 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001915/1.01, allocations: 112 kB / 0.8802 GB, free: 5.387 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007129/1.017, allocations: 1.06 MB / 0.8812 GB, free: 4.316 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009204/1.026, allocations: 1.376 MB / 0.8826 GB, free: 2.938 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004715/1.031, allocations: 2.47 MB / 0.885 GB, free: 336 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005969/1.037, allocations: 323.7 kB / 0.8853 GB, free: 12 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001443/1.038, allocations: 354.8 kB / 0.8856 GB, free: 15.67 MB / 490.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.006924/1.045, allocations: 2.364 MB / 0.8879 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007673/1.046, allocations: 296.2 kB / 0.8882 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01706/1.063, allocations: 5.078 MB / 0.8932 GB, free: 7.859 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.107e-05/1.063, allocations: 7.969 kB / 0.8932 GB, free: 7.852 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/1.063, allocations: 1.422 kB / 0.8932 GB, free: 7.852 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009348/1.064, allocations: 333.1 kB / 0.8935 GB, free: 7.504 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001168/1.065, allocations: 40 kB / 0.8935 GB, free: 7.465 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00232/1.068, allocations: 134.3 kB / 0.8937 GB, free: 7.336 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004631/1.068, allocations: 129.8 kB / 0.8938 GB, free: 7.211 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01734/1.085, allocations: 4.33 MB / 0.898 GB, free: 2.867 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.3464/1.432, allocations: 6.646 MB / 0.9045 GB, free: 164.8 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004349/1.436, allocations: 1.841 MB / 0.9063 GB, free: 164.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004738/1.441, allocations: 1.792 MB / 0.9081 GB, free: 163.7 MB / 490.7 MB Notification: Performance of Backend: time 1.272e-06/1.441, allocations: 0 / 0.9081 GB, free: 163.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01877/1.46, allocations: 4.813 MB / 0.9128 GB, free: 162 MB / 490.7 MB Notification: Performance of SimCode: time 0.03024/1.49, allocations: 12.46 MB / 0.9249 GB, free: 155.3 MB / 490.7 MB Notification: Performance of Templates: time 0.1212/1.611, allocations: 44.37 MB / 0.9683 GB, free: 122 MB / 490.7 MB