Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.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.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00257/0.002574, allocations: 348.4 kB / 15.94 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.633/3.633, allocations: 341.5 MB / 358.2 MB, free: 12.64 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.003625/0.003625, allocations: 233.1 kB / 397.9 MB, free: 4.98 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.5215/0.5215, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004648/0.0004653, allocations: 12 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08387/0.08437, allocations: 48.71 MB / 0.6067 GB, free: 4.66 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.3316/0.4161, allocations: 55.69 MB / 0.6611 GB, free: 55.53 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03439/0.4505, allocations: 11.8 MB / 0.6726 GB, free: 45.32 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01356/0.4642, allocations: 259.4 kB / 0.6729 GB, free: 45.07 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009919/0.4741, allocations: 2.734 MB / 0.6756 GB, free: 42.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03154/0.5057, allocations: 9.532 MB / 0.6849 GB, free: 32.76 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00535/0.5111, allocations: 0.9295 MB / 0.6858 GB, free: 31.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.03218/0.5434, allocations: 18.83 MB / 0.7042 GB, free: 12.98 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009611/0.553, allocations: 5.015 MB / 0.7091 GB, free: 8.031 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004123/0.5572, allocations: 1.876 MB / 0.7109 GB, free: 6.148 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006009/0.5633, allocations: 3.124 MB / 0.7139 GB, free: 3.016 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001613/0.5649, allocations: 220 kB / 0.7142 GB, free: 2.801 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003904/0.5689, allocations: 1.046 MB / 0.7152 GB, free: 1.754 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004148/0.5731, allocations: 2.591 MB / 0.7177 GB, free: 15.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00261/0.5757, allocations: 1.181 MB / 0.7189 GB, free: 13.96 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0131/0.5889, allocations: 7.739 MB / 0.7264 GB, free: 6.207 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.5889, allocations: 0 / 0.7264 GB, free: 6.207 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.634e-06/0.589, allocations: 3.562 kB / 0.7264 GB, free: 6.207 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003409/0.5893, allocations: 4 kB / 0.7264 GB, free: 6.203 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2208 * Number of variables: 2208 Notification: Performance of Generate backend data structure: time 0.02468/0.614, allocations: 6.449 MB / 0.7327 GB, free: 15.67 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/0.6141, allocations: 12.03 kB / 0.7327 GB, free: 15.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03264/0.6467, allocations: 4.578 MB / 0.7372 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0132/0.66, allocations: 4.21 MB / 0.7413 GB, free: 6.797 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004432/0.6605, allocations: 328.2 kB / 0.7416 GB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002574/0.6631, allocations: 435.6 kB / 0.742 GB, free: 6.047 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04698/0.7101, allocations: 16.1 MB / 0.7578 GB, free: 5.215 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003049/0.7104, allocations: 55.5 kB / 0.7578 GB, free: 5.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002017/0.7125, allocations: 199.7 kB / 0.758 GB, free: 4.965 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009977/0.7225, allocations: 3.248 MB / 0.7612 GB, free: 1.715 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3793/1.102, allocations: 15.1 MB / 0.7759 GB, free: 116 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1133/1.215, allocations: 55.92 MB / 0.8305 GB, free: 73.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06415/1.279, allocations: 8.261 MB / 0.8386 GB, free: 65.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.04249/1.322, allocations: 4.823 MB / 0.8433 GB, free: 60.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003471/1.325, allocations: 2.214 MB / 0.8455 GB, free: 57.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.657e-05/1.326, allocations: 69.02 kB / 0.8455 GB, free: 57.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=367): time 1.237e-05/1.326, allocations: 0 / 0.8455 GB, free: 57.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=419): time 0.24/1.566, allocations: 40.72 MB / 0.8853 GB, free: 16.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.487e-05/1.566, allocations: 116 kB / 0.8854 GB, free: 16.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008163/1.574, allocations: 4.308 MB / 0.8896 GB, free: 12.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001101/1.575, allocations: 84.44 kB / 0.8897 GB, free: 12.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003063/1.578, allocations: 3.857 MB / 0.8935 GB, free: 8.383 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002377/1.581, allocations: 1.489 MB / 0.8949 GB, free: 6.906 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000956/1.582, allocations: 156 kB / 0.8951 GB, free: 6.754 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005044/1.582, allocations: 0.6527 MB / 0.8957 GB, free: 6.094 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009749/1.592, allocations: 4.052 MB / 0.8997 GB, free: 2.035 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01523/1.607, allocations: 7.857 MB / 0.9073 GB, free: 8.348 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01528/1.623, allocations: 5.607 MB / 0.9128 GB, free: 2.723 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001333/1.623, allocations: 40 kB / 0.9129 GB, free: 2.684 MB / 426.7 MB Notification: Performance of matching and sorting (n=1045) (initialization): time 0.05248/1.675, allocations: 14.72 MB / 0.9272 GB, free: 3.934 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001257/1.675, allocations: 60 kB / 0.9273 GB, free: 3.875 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002224/1.676, allocations: 132 kB / 0.9274 GB, free: 3.746 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01639/1.692, allocations: 2.953 MB / 0.9303 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.338/2.03, allocations: 1.816 MB / 0.9321 GB, free: 134.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03631/2.066, allocations: 14.79 MB / 0.9465 GB, free: 130.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009704/2.076, allocations: 0.5029 MB / 0.947 GB, free: 130.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002391/2.079, allocations: 437.3 kB / 0.9474 GB, free: 130.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 589 * Number of states: 0 () * Number of discrete variables: 45 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[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 (948): * Single equations (assignments): 940 * 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: 2 {(6,69.4%) 32,(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009117/2.088, allocations: 2.909 MB / 0.9503 GB, free: 129.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001389/2.089, allocations: 458.9 kB / 0.9507 GB, free: 129.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03837/2.128, allocations: 10.91 MB / 0.9613 GB, free: 125.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000147/2.128, allocations: 19.27 kB / 0.9614 GB, free: 125.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/2.128, allocations: 3.438 kB / 0.9614 GB, free: 125.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005176/2.133, allocations: 1.181 MB / 0.9625 GB, free: 125.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002538/2.136, allocations: 57.03 kB / 0.9626 GB, free: 125.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005969/2.142, allocations: 317.2 kB / 0.9629 GB, free: 125.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001605/2.143, allocations: 262.7 kB / 0.9631 GB, free: 125.1 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03366/2.177, allocations: 9.715 MB / 0.9726 GB, free: 122.4 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02824/2.205, allocations: 12.58 MB / 0.9849 GB, free: 113.9 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00769/2.213, allocations: 3.592 MB / 0.9884 GB, free: 110.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005985/2.219, allocations: 2.683 MB / 0.991 GB, free: 108.2 MB / 442.7 MB Notification: Performance of Backend: time 1.683e-06/2.219, allocations: 0.5938 kB / 0.991 GB, free: 108.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02253/2.242, allocations: 7.049 MB / 0.9979 GB, free: 101.2 MB / 442.7 MB Notification: Performance of SimCode: time 0.0478/2.29, allocations: 16.33 MB / 1.014 GB, free: 85.06 MB / 442.7 MB Notification: Performance of Templates: time 0.2074/2.497, allocations: 78.68 MB / 1.091 GB, free: 6.953 MB / 442.7 MB