Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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.CheckConstaintTorqueUniversalJoint,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.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00265/0.002656, 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.977/3.977, 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.003601/0.003601, allocations: 231.5 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.5878/0.5878, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004619/0.0004621, allocations: 12 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.102, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.04413/0.1462, allocations: 36.16 MB / 0.7154 GB, free: 5.402 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.3858/0.532, allocations: 8.463 MB / 0.7237 GB, free: 11.9 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00987/0.5419, allocations: 165.3 kB / 0.7238 GB, free: 11.9 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008937/0.5509, allocations: 1.741 MB / 0.7255 GB, free: 11.87 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02936/0.5803, allocations: 6.148 MB / 0.7315 GB, free: 11.36 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004879/0.5853, allocations: 0.572 MB / 0.7321 GB, free: 11.33 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.04477/0.6301, allocations: 15.19 MB / 0.7469 GB, free: 6.594 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01221/0.6424, allocations: 3.678 MB / 0.7505 GB, free: 5.43 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004236/0.6467, allocations: 1.08 MB / 0.7516 GB, free: 5.039 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00601/0.6528, allocations: 1.738 MB / 0.7533 GB, free: 4.453 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001637/0.6545, allocations: 129.8 kB / 0.7534 GB, free: 4.453 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005111/0.6597, allocations: 0.9689 MB / 0.7543 GB, free: 3.766 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003737/0.6635, allocations: 1.49 MB / 0.7558 GB, free: 2.539 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002448/0.666, allocations: 0.7666 MB / 0.7565 GB, free: 2.129 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01292/0.679, allocations: 5.19 MB / 0.7616 GB, free: 13.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.919e-06/0.6791, allocations: 4 kB / 0.7616 GB, free: 13.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.128e-06/0.6791, allocations: 4 kB / 0.7616 GB, free: 13.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002516/0.6794, allocations: 0 / 0.7616 GB, free: 13.6 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: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.02189/0.7013, allocations: 3.871 MB / 0.7654 GB, free: 10.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.276e-05/0.7014, allocations: 8.031 kB / 0.7654 GB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0286/0.73, allocations: 2.472 MB / 0.7678 GB, free: 7.672 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01214/0.7422, allocations: 2.423 MB / 0.7702 GB, free: 5.793 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004255/0.7427, allocations: 206.2 kB / 0.7704 GB, free: 5.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002301/0.7451, allocations: 286.7 kB / 0.7707 GB, free: 5.496 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03968/0.7848, allocations: 9.416 MB / 0.7799 GB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002041/0.7851, allocations: 36.86 kB / 0.7799 GB, free: 14.08 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001113/0.7862, allocations: 133.4 kB / 0.78 GB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005274/0.7915, allocations: 1.799 MB / 0.7818 GB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02802/0.8196, allocations: 8.231 MB / 0.7898 GB, free: 4.859 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08017/0.8999, allocations: 36.3 MB / 0.8253 GB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01507/0.915, allocations: 3.776 MB / 0.8289 GB, free: 11.83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004868/0.9199, allocations: 2.083 MB / 0.831 GB, free: 9.742 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005877/0.9206, allocations: 330.5 kB / 0.8313 GB, free: 9.367 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.635e-05/0.9206, allocations: 51.52 kB / 0.8313 GB, free: 9.309 MB / 426.7 MB Notification: Performance of pre-optimization done (n=156): time 7.724e-06/0.9207, allocations: 4 kB / 0.8313 GB, free: 9.305 MB / 426.7 MB Notification: Performance of matching and sorting (n=177): time 0.07413/0.9948, allocations: 16.59 MB / 0.8475 GB, free: 8.625 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.995, allocations: 177.1 kB / 0.8477 GB, free: 8.418 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00828/1.003, allocations: 3.592 MB / 0.8512 GB, free: 4.828 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005911/1.004, allocations: 53.7 kB / 0.8513 GB, free: 4.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003254/1.007, allocations: 2.792 MB / 0.854 GB, free: 1.992 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001407/1.009, allocations: 0.6752 MB / 0.8547 GB, free: 1.324 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007246/1.009, allocations: 112 kB / 0.8548 GB, free: 1.215 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000523/1.01, allocations: 0.5416 MB / 0.8553 GB, free: 0.6641 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006633/1.017, allocations: 2.271 MB / 0.8575 GB, free: 14.39 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01002/1.027, allocations: 5.593 MB / 0.863 GB, free: 7.129 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009248/1.036, allocations: 3.496 MB / 0.8664 GB, free: 3.641 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001023/1.036, allocations: 33.64 kB / 0.8664 GB, free: 3.609 MB / 458.7 MB Notification: Performance of matching and sorting (n=735) (initialization): time 0.02734/1.063, allocations: 8.7 MB / 0.8749 GB, free: 10.89 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000116/1.064, allocations: 56 kB / 0.875 GB, free: 10.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001925/1.064, allocations: 116 kB / 0.8751 GB, free: 10.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005868/1.07, allocations: 1.238 MB / 0.8763 GB, free: 9.484 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008426/1.078, allocations: 1.294 MB / 0.8776 GB, free: 8.188 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01706/1.095, allocations: 7.141 MB / 0.8845 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006466/1.102, allocations: 331.5 kB / 0.8848 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001453/1.103, allocations: 344 kB / 0.8852 GB, free: 260 kB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 533 * Number of states: 0 () * Number of discrete variables: 21 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (687): * Single equations (assignments): 683 * Array equations: 3 * 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%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006027/1.109, allocations: 1.957 MB / 0.8871 GB, free: 14.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001066/1.111, allocations: 319.9 kB / 0.8874 GB, free: 13.97 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01419/1.125, allocations: 3.927 MB / 0.8912 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.563e-05/1.125, allocations: 8.25 kB / 0.8912 GB, free: 10.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/1.125, allocations: 7.938 kB / 0.8912 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002564/1.128, allocations: 0.6803 MB / 0.8919 GB, free: 9.316 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001262/1.129, allocations: 35.06 kB / 0.8919 GB, free: 9.285 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003188/1.132, allocations: 115.8 kB / 0.892 GB, free: 9.172 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007404/1.133, allocations: 116.8 kB / 0.8922 GB, free: 9.055 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01634/1.149, allocations: 4.482 MB / 0.8965 GB, free: 4.598 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.3476/1.497, allocations: 5.895 MB / 0.9023 GB, free: 166.4 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004235/1.501, allocations: 1.566 MB / 0.9038 GB, free: 166.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00604/1.507, allocations: 2.241 MB / 0.906 GB, free: 165.8 MB / 490.7 MB Notification: Performance of Backend: time 1.293e-06/1.507, allocations: 0 / 0.906 GB, free: 165.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01428/1.522, allocations: 4.277 MB / 0.9102 GB, free: 164.3 MB / 490.7 MB Notification: Performance of SimCode: time 0.02333/1.545, allocations: 10.03 MB / 0.92 GB, free: 159.1 MB / 490.7 MB Notification: Performance of Templates: time 0.1176/1.663, allocations: 44.56 MB / 0.9635 GB, free: 128.1 MB / 490.7 MB