Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.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.Universal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002704/0.002703, allocations: 363.5 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.938/3.938, allocations: 388.9 MB / 405.6 MB, free: 10.24 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.003542/0.003542, allocations: 232.2 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.5284/0.5284, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006472/0.0006474, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1092, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.04295/0.1522, allocations: 36.64 MB / 0.7159 GB, free: 4.891 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.4306/0.5829, allocations: 8.133 MB / 0.7238 GB, free: 11.88 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007502/0.5905, allocations: 162.2 kB / 0.724 GB, free: 11.88 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006493/0.597, allocations: 1.81 MB / 0.7257 GB, free: 11.85 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02223/0.6193, allocations: 6.223 MB / 0.7318 GB, free: 11.21 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003484/0.6229, allocations: 482.3 kB / 0.7323 GB, free: 11.18 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.008404/0.6313, allocations: 4.474 MB / 0.7367 GB, free: 9.93 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007125/0.6385, allocations: 3.201 MB / 0.7398 GB, free: 8.859 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003109/0.6417, allocations: 1.186 MB / 0.7409 GB, free: 8.422 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004227/0.6459, allocations: 1.901 MB / 0.7428 GB, free: 7.773 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001151/0.6471, allocations: 151.1 kB / 0.7429 GB, free: 7.773 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003548/0.6507, allocations: 0.8269 MB / 0.7437 GB, free: 7.547 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004024/0.6548, allocations: 1.681 MB / 0.7454 GB, free: 6.965 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002808/0.6577, allocations: 0.8742 MB / 0.7462 GB, free: 6.75 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01276/0.6705, allocations: 5.626 MB / 0.7517 GB, free: 3.723 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.6706, allocations: 1.156 kB / 0.7517 GB, free: 3.723 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.477e-06/0.6706, allocations: 0 / 0.7517 GB, free: 3.723 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003444/0.671, allocations: 0 / 0.7517 GB, free: 3.723 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: 1763 * Number of variables: 1763 Notification: Performance of Generate backend data structure: time 0.02227/0.6932, allocations: 4.261 MB / 0.7559 GB, free: 1.145 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.336e-05/0.6933, allocations: 9.25 kB / 0.7559 GB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03545/0.7288, allocations: 3.774 MB / 0.7596 GB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01094/0.7398, allocations: 2.217 MB / 0.7618 GB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005161/0.7404, allocations: 237.8 kB / 0.762 GB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003151/0.7436, allocations: 312.2 kB / 0.7623 GB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05165/0.7953, allocations: 12.25 MB / 0.7742 GB, free: 3.441 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002843/0.7956, allocations: 31.73 kB / 0.7743 GB, free: 3.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002583/0.7982, allocations: 153.9 kB / 0.7744 GB, free: 3.367 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01145/0.8098, allocations: 2.714 MB / 0.7771 GB, free: 1.066 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05385/0.8637, allocations: 11.46 MB / 0.7883 GB, free: 5.594 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1106/0.9743, allocations: 41.06 MB / 0.8284 GB, free: 11.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02117/0.9955, allocations: 6.15 MB / 0.8344 GB, free: 5.453 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007258/1.003, allocations: 2.999 MB / 0.8373 GB, free: 2.449 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002696/1.006, allocations: 1.892 MB / 0.8391 GB, free: 248 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.726e-05/1.006, allocations: 60.56 kB / 0.8392 GB, free: 176 kB / 426.7 MB Notification: Performance of pre-optimization done (n=262): time 8.055e-06/1.006, allocations: 0 / 0.8392 GB, free: 176 kB / 426.7 MB Notification: Performance of matching and sorting (n=283): time 0.09402/1.1, allocations: 20.51 MB / 0.8592 GB, free: 11.51 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/1.1, allocations: 73.41 kB / 0.8593 GB, free: 11.43 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007309/1.107, allocations: 3.006 MB / 0.8622 GB, free: 8.402 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000846/1.108, allocations: 65.7 kB / 0.8623 GB, free: 8.332 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003326/1.111, allocations: 2.991 MB / 0.8652 GB, free: 5.352 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002083/1.114, allocations: 1.016 MB / 0.8662 GB, free: 4.344 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007959/1.114, allocations: 121.1 kB / 0.8663 GB, free: 4.23 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005717/1.115, allocations: 0.5662 MB / 0.8669 GB, free: 3.656 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008267/1.123, allocations: 2.834 MB / 0.8696 GB, free: 0.8164 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01175/1.135, allocations: 6.022 MB / 0.8755 GB, free: 9.242 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01105/1.146, allocations: 4.103 MB / 0.8795 GB, free: 5.141 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-05/1.146, allocations: 32 kB / 0.8796 GB, free: 5.109 MB / 474.7 MB Notification: Performance of matching and sorting (n=795) (initialization): time 0.03254/1.179, allocations: 10.01 MB / 0.8893 GB, free: 11.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/1.179, allocations: 52.22 kB / 0.8894 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001897/1.179, allocations: 116 kB / 0.8895 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006994/1.186, allocations: 1.366 MB / 0.8908 GB, free: 9.555 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009866/1.196, allocations: 1.388 MB / 0.8922 GB, free: 8.164 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0178/1.214, allocations: 7.472 MB / 0.8995 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007613/1.222, allocations: 371.8 kB / 0.8998 GB, free: 196 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.3248/1.547, allocations: 339.6 kB / 0.9002 GB, free: 166.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 504 * Number of states: 0 () * Number of discrete variables: 27 (axis1.color[3],axis1.color[2],axis1.color[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],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.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 (725): * Single equations (assignments): 718 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007424/1.554, allocations: 2.289 MB / 0.9024 GB, free: 166.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008563/1.555, allocations: 301.8 kB / 0.9027 GB, free: 166.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02197/1.577, allocations: 6.611 MB / 0.9091 GB, free: 165 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.214e-05/1.577, allocations: 12.22 kB / 0.9092 GB, free: 165 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/1.577, allocations: 0 / 0.9092 GB, free: 165 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00313/1.58, allocations: 0.8152 MB / 0.9099 GB, free: 164.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001294/1.582, allocations: 40.55 kB / 0.91 GB, free: 164.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003343/1.585, allocations: 190.5 kB / 0.9102 GB, free: 164.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007456/1.586, allocations: 152.2 kB / 0.9103 GB, free: 164.7 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02142/1.607, allocations: 6.008 MB / 0.9162 GB, free: 162.8 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01902/1.626, allocations: 8.436 MB / 0.9244 GB, free: 159.6 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005326/1.632, allocations: 2.38 MB / 0.9267 GB, free: 158.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004397/1.636, allocations: 1.84 MB / 0.9285 GB, free: 158.1 MB / 490.7 MB Notification: Performance of Backend: time 9.12e-07/1.636, allocations: 2.625 kB / 0.9285 GB, free: 158.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01502/1.651, allocations: 4.903 MB / 0.9333 GB, free: 155.3 MB / 490.7 MB Notification: Performance of SimCode: time 0.02516/1.676, allocations: 11.75 MB / 0.9448 GB, free: 144.5 MB / 490.7 MB Notification: Performance of Templates: time 0.1286/1.805, allocations: 50.11 MB / 0.9937 GB, free: 95.75 MB / 490.7 MB "" Variables in the reference:time,universal.phi_a,universal.phi_b,universal.w_a,universal.w_b Variables in the result:axis1.animation,axis1.specularCoefficient,axis2.animation,axis2.specularCoefficient,body.I[1,1],body.I[1,2],body.I[1,3],body.I[2,1],body.I[2,2],body.I[2,3],body.I[3,1],body.I[3,2],body.I[3,3],body.I_11,body.I_21,body.I_22,body.I_31,body.I_32,body.I_33,body.Q_start[1],body.Q_start[2],body.Q_start[3],body.Q_start[4],body.R_start.T[1,1],body.R_start.T[1,2],body.R_start.T[1,3],body.R_start.T[2,1],body.R_start.T[2,2],body.R_start.T[2,3],body.R_start.T[3,1],body.R_start.T[3,2],body.R_start.T[3,3],body.R_start.w[1],body.R_start.w[2],body.R_start.w[3],body.angles_fixed,body.angles_start[1],body.angles_start[2],body.angles_start[3],body.animation,body.cylinder.height,body.cylinder.lengthDirection[1],body.cylinder.lengthDirection[2],body.cylinder.lengthDirection[3],body.cylinder.specularCoefficient,body.cylinder.width,body.cylinderDiameter,body.enforceStates,body.g_0[2],body.m,body.phi_start[1],body.phi_start[2],body.phi_start[3],body.r_CM[1],body.r_CM[2],body.r_CM[3],body.sequence_angleStates[1],body.sequence_angleStates[2],body.sequence_angleStates[3],body.sequence_start[1],body.sequence_start[2],body.sequence_start[3],body.specularCoefficient,body.sphere.r_shape[2],body.sphere.r_shape[3],body.sphere.specularCoefficient,body.sphereDiameter,body.useQuaternions,body.w_0_fixed,body.w_0_start[1],body.w_0_start[2],body.w_0_start[3],body.z_0_fixed,body.z_0_start[1],body.z_0_start[2],body.z_0_start[3],body.z_a_start[1],body.z_a_start[2],body.z_a_start[3],frame_a.animation,frame_a.animation2,frame_a.showLabels,frame_a.showLabels2,frame_a.specularCoefficient,frame_a.x_arrowHead.specularCoefficient,frame_a.x_arrowLine.specularCoefficient,frame_a.x_label.cylinders[1].specularCoefficient,frame_a.x_label.cylinders[2].specularCoefficient,frame_a.x_label.n,frame_a.x_label.specularCoefficient,frame_a.y_arrowHead.specularCoefficient,frame_a.y_arrowLine.specularCoefficient,frame_a.y_label.cylinders[1].specularCoefficient,frame_a.y_label.cylinders[2].specularCoefficient,frame_a.y_label.n,frame_a.y_label.specularCoefficient,frame_a.z_arrowHead.specularCoefficient,frame_a.z_arrowLine.specularCoefficient,frame_a.z_label.cylinders[1].specularCoefficient,frame_a.z_label.cylinders[2].specularCoefficient,frame_a.z_label.cylinders[3].specularCoefficient,frame_a.z_label.n,frame_a.z_label.specularCoefficient,frame_a1.animation,frame_a1.animation2,frame_a1.showLabels,frame_a1.showLabels2,frame_a1.specularCoefficient,frame_a1.x_arrowHead.specularCoefficient,frame_a1.x_arrowLine.specularCoefficient,frame_a1.x_label.cylinders[1].specularCoefficient,frame_a1.x_label.cylinders[2].specularCoefficient,frame_a1.x_label.n,frame_a1.x_label.specularCoefficient,frame_a1.y_arrowHead.specularCoefficient,frame_a1.y_arrowLine.specularCoefficient,frame_a1.y_label.cylinders[1].specularCoefficient,frame_a1.y_label.cylinders[2].specularCoefficient,frame_a1.y_label.n,frame_a1.y_label.specularCoefficient,frame_a1.z_arrowHead.specularCoefficient,frame_a1.z_arrowLine.specularCoefficient,frame_a1.z_label.cylinders[1].specularCoefficient,frame_a1.z_label.cylinders[2].specularCoefficient,frame_a1.z_label.cylinders[3].specularCoefficient,frame_a1.z_label.n,frame_a1.z_label.specularCoefficient,time,universal.animation,universal.cylinderDiameter,universal.cylinderLength,universal.n_a[1],universal.n_a[2],universal.n_a[3],universal.n_b[1],universal.n_b[2],universal.n_b[3],universal.phi_a,universal.phi_b,universal.revolute_a.animation,universal.revolute_a.constantTorque.flange.tau,universal.revolute_a.constantTorque.tau,universal.revolute_a.constantTorque.tau_constant,universal.revolute_a.constantTorque.useSupport,universal.revolute_a.cylinder.height,universal.revolute_a.cylinder.length,universal.revolute_a.cylinder.lengthDirection[1],universal.revolute_a.cylinder.lengthDirection[2],universal.revolute_a.cylinder.lengthDirection[3],universal.revolute_a.cylinder.specularCoefficient,universal.revolute_a.cylinder.width,universal.revolute_a.cylinderDiameter,universal.revolute_a.cylinderLength,universal.revolute_a.e[1],universal.revolute_a.e[2],universal.revolute_a.e[3],universal.revolute_a.fixed.flange.phi,universal.revolute_a.fixed.phi0,universal.revolute_a.internalAxis.flange.tau,universal.revolute_a.internalAxis.tau,universal.revolute_a.n[1],universal.revolute_a.n[2],universal.revolute_a.n[3],universal.revolute_a.specularCoefficient,universal.revolute_a.stateSelect,universal.revolute_a.tau,universal.revolute_b.animation,universal.revolute_b.constantTorque.flange.tau,universal.revolute_b.constantTorque.tau,universal.revolute_b.constantTorque.tau_constant,universal.revolute_b.constantTorque.useSupport,universal.revolute_b.cylinder.height,universal.revolute_b.cylinder.length,universal.revolute_b.cylinder.lengthDirection[1],universal.revolute_b.cylinder.lengthDirection[2],universal.revolute_b.cylinder.lengthDirection[3],universal.revolute_b.cylinder.specularCoefficient,universal.revolute_b.cylinder.width,universal.revolute_b.cylinderDiameter,universal.revolute_b.cylinderLength,universal.revolute_b.e[1],universal.revolute_b.e[2],universal.revolute_b.e[3],universal.revolute_b.fixed.flange.phi,universal.revolute_b.fixed.phi0,universal.revolute_b.internalAxis.flange.tau,universal.revolute_b.internalAxis.tau,universal.revolute_b.n[1],universal.revolute_b.n[2],universal.revolute_b.n[3],universal.revolute_b.specularCoefficient,universal.revolute_b.stateSelect,universal.revolute_b.tau,universal.specularCoefficient,universal.stateSelect,universal.w_a,universal.w_b,world.animateGravity,world.animateWorld,world.axisDiameter,world.axisLength,world.axisShowLabels,world.defaultArrowDiameter,world.defaultAxisLength,world.defaultBodyDiameter,world.defaultForceLength,world.defaultForceWidth,world.defaultFrameDiameterFraction,world.defaultJointLength,world.defaultJointWidth,world.defaultN_to_m,world.defaultNm_to_m,world.defaultSpecularCoefficient,world.defaultWidthFraction,world.driveTrainMechanics3D,world.enableAnimation,world.g,world.gravityArrowDiameter,world.gravityArrowLength,world.gravityArrowTail[1],world.gravityArrowTail[2],world.gravityArrowTail[3],world.gravityHeadLength,world.gravityHeadWidth,world.gravityLineLength,world.gravitySphereDiameter,world.gravityType,world.headLength,world.headWidth,world.labelStart,world.lineLength,world.lineWidth,world.mue,world.n[1],world.n[2],world.n[3],world.ndim,world.ndim2,world.ndim_pointGravity,world.nominalLength,world.scaledLabel