Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal.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.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.1_ModelicaTest.MultiBody.Joints.Universal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002636/0.002635, 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.515/3.515, allocations: 341.5 MB / 358.2 MB, free: 12.56 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.003537/0.003537, allocations: 217.2 kB / 397.9 MB, free: 4.902 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.537/0.537, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006443/0.0006445, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1246, allocations: 48.7 MB / 0.6067 GB, free: 4.637 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.3662/0.4909, allocations: 36.6 MB / 0.6425 GB, free: 69.19 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02382/0.5147, allocations: 8.12 MB / 0.6504 GB, free: 63.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008948/0.5237, allocations: 164.4 kB / 0.6506 GB, free: 63.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006918/0.5307, allocations: 1.81 MB / 0.6523 GB, free: 63.16 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02137/0.5521, allocations: 6.225 MB / 0.6584 GB, free: 59.24 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003446/0.5556, allocations: 490.3 kB / 0.6589 GB, free: 58.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.007519/0.5632, allocations: 4.468 MB / 0.6633 GB, free: 54.93 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005801/0.5691, allocations: 3.187 MB / 0.6664 GB, free: 51.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002604/0.5718, allocations: 1.187 MB / 0.6675 GB, free: 50.58 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003674/0.5755, allocations: 1.908 MB / 0.6694 GB, free: 48.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001048/0.5766, allocations: 152 kB / 0.6695 GB, free: 48.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002864/0.5795, allocations: 0.8152 MB / 0.6703 GB, free: 47.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002971/0.5825, allocations: 1.687 MB / 0.672 GB, free: 46.01 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001688/0.5842, allocations: 0.8699 MB / 0.6728 GB, free: 45.13 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01029/0.5946, allocations: 5.614 MB / 0.6783 GB, free: 39.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.5946, allocations: 0 / 0.6783 GB, free: 39.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.167e-06/0.5947, allocations: 6.812 kB / 0.6783 GB, free: 39.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002538/0.5949, allocations: 3.938 kB / 0.6783 GB, free: 39.5 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: 1761 * Number of variables: 1761 Notification: Performance of Generate backend data structure: time 0.01667/0.6116, allocations: 4.242 MB / 0.6825 GB, free: 35.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.047e-05/0.6117, allocations: 8.031 kB / 0.6825 GB, free: 35.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03055/0.6423, allocations: 3.777 MB / 0.6862 GB, free: 31.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00795/0.6503, allocations: 2.219 MB / 0.6883 GB, free: 29.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002819/0.6506, allocations: 233.9 kB / 0.6885 GB, free: 28.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001515/0.6522, allocations: 311.7 kB / 0.6888 GB, free: 28.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03035/0.6825, allocations: 12.25 MB / 0.7008 GB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001414/0.6827, allocations: 27.72 kB / 0.7008 GB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00084/0.6836, allocations: 151.8 kB / 0.701 GB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006648/0.6902, allocations: 2.714 MB / 0.7036 GB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03176/0.7221, allocations: 11.45 MB / 0.7148 GB, free: 1.461 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09779/0.8199, allocations: 41.04 MB / 0.7549 GB, free: 7.539 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02909/0.8491, allocations: 6.144 MB / 0.7609 GB, free: 1.176 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.279/1.128, allocations: 2.994 MB / 0.7638 GB, free: 120.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002691/1.131, allocations: 1.884 MB / 0.7656 GB, free: 118.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.516e-05/1.131, allocations: 57.66 kB / 0.7657 GB, free: 118.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=262): time 7.153e-06/1.131, allocations: 1.031 kB / 0.7657 GB, free: 118.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=283): time 0.08943/1.22, allocations: 20.52 MB / 0.7857 GB, free: 114 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/1.221, allocations: 77.41 kB / 0.7858 GB, free: 113.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005529/1.226, allocations: 3.007 MB / 0.7888 GB, free: 112.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007232/1.227, allocations: 60.95 kB / 0.7888 GB, free: 112.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002442/1.229, allocations: 2.994 MB / 0.7917 GB, free: 110.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001751/1.231, allocations: 1.017 MB / 0.7927 GB, free: 109.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006446/1.232, allocations: 115.2 kB / 0.7928 GB, free: 109.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004791/1.232, allocations: 0.5654 MB / 0.7934 GB, free: 109.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006892/1.239, allocations: 2.835 MB / 0.7962 GB, free: 108.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009001/1.248, allocations: 6.029 MB / 0.802 GB, free: 103.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008971/1.257, allocations: 4.103 MB / 0.8061 GB, free: 100.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.794e-05/1.257, allocations: 32 kB / 0.8061 GB, free: 100.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=795) (initialization): time 0.02753/1.285, allocations: 10.01 MB / 0.8159 GB, free: 91.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.689e-05/1.285, allocations: 52 kB / 0.8159 GB, free: 91.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001471/1.285, allocations: 108 kB / 0.816 GB, free: 91.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006349/1.292, allocations: 1.372 MB / 0.8173 GB, free: 89.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009134/1.301, allocations: 1.376 MB / 0.8187 GB, free: 88.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01997/1.321, allocations: 7.481 MB / 0.826 GB, free: 80.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006698/1.328, allocations: 367.6 kB / 0.8263 GB, free: 80.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00137/1.329, allocations: 348 kB / 0.8267 GB, free: 80.21 MB / 410.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.006159/1.335, allocations: 2.294 MB / 0.8289 GB, free: 77.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000967/1.336, allocations: 305.5 kB / 0.8292 GB, free: 77.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01892/1.355, allocations: 6.609 MB / 0.8357 GB, free: 70.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.858e-05/1.355, allocations: 11.95 kB / 0.8357 GB, free: 70.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/1.355, allocations: 3.938 kB / 0.8357 GB, free: 70.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002832/1.358, allocations: 0.8094 MB / 0.8365 GB, free: 70.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001262/1.36, allocations: 43.67 kB / 0.8365 GB, free: 70.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003558/1.363, allocations: 187.7 kB / 0.8367 GB, free: 69.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009654/1.364, allocations: 157.7 kB / 0.8368 GB, free: 69.72 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01853/1.383, allocations: 5.998 MB / 0.8427 GB, free: 63.72 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01785/1.401, allocations: 8.431 MB / 0.8509 GB, free: 55.23 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004853/1.405, allocations: 2.378 MB / 0.8533 GB, free: 52.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004008/1.41, allocations: 1.842 MB / 0.8551 GB, free: 51 MB / 410.7 MB Notification: Performance of Backend: time 1.343e-06/1.41, allocations: 0 / 0.8551 GB, free: 51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01391/1.423, allocations: 4.91 MB / 0.8599 GB, free: 46.14 MB / 410.7 MB Notification: Performance of SimCode: time 0.02405/1.448, allocations: 11.74 MB / 0.8713 GB, free: 34.38 MB / 410.7 MB Notification: Performance of Templates: time 0.403/1.851, allocations: 50.1 MB / 0.9202 GB, free: 128.3 MB / 426.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