Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.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.JointUPS2,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.JointUPS2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002644/0.002647, allocations: 353 kB / 15.95 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.634/3.634, 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.003593/0.003592, allocations: 221.2 kB / 397.9 MB, free: 4.984 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.5521/0.5521, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000459/0.0004592, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08375/0.08423, allocations: 48.71 MB / 0.6067 GB, free: 4.648 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.3162/0.4005, allocations: 37.7 MB / 0.6436 GB, free: 68.39 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02549/0.426, allocations: 8.834 MB / 0.6522 GB, free: 62.46 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009409/0.4355, allocations: 177.8 kB / 0.6524 GB, free: 62.44 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007268/0.4428, allocations: 1.788 MB / 0.6541 GB, free: 61.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02254/0.4654, allocations: 6.429 MB / 0.6604 GB, free: 57.6 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004643/0.4701, allocations: 0.8626 MB / 0.6612 GB, free: 57.01 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.02929/0.4995, allocations: 16.59 MB / 0.6774 GB, free: 40.39 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007908/0.5074, allocations: 4.113 MB / 0.6814 GB, free: 36.34 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003403/0.5109, allocations: 1.44 MB / 0.6829 GB, free: 34.89 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004795/0.5158, allocations: 2.356 MB / 0.6852 GB, free: 32.53 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001304/0.5171, allocations: 168 kB / 0.6853 GB, free: 32.37 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003835/0.521, allocations: 1.135 MB / 0.6864 GB, free: 31.23 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003057/0.5241, allocations: 1.964 MB / 0.6883 GB, free: 29.26 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001816/0.5259, allocations: 0.9284 MB / 0.6892 GB, free: 28.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008778/0.5348, allocations: 6.145 MB / 0.6952 GB, free: 22.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.5348, allocations: 7.938 kB / 0.6953 GB, free: 22.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.5348, allocations: 0 / 0.6953 GB, free: 22.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002601/0.5351, allocations: 0 / 0.6953 GB, free: 22.16 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: 1690 * Number of variables: 1690 Notification: Performance of Generate backend data structure: time 0.02568/0.5608, allocations: 5.118 MB / 0.7003 GB, free: 16.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.519e-05/0.5609, allocations: 12.03 kB / 0.7003 GB, free: 16.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05013/0.611, allocations: 3.024 MB / 0.7032 GB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01503/0.6261, allocations: 3.203 MB / 0.7063 GB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004279/0.6266, allocations: 250.4 kB / 0.7066 GB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00252/0.6292, allocations: 355.2 kB / 0.7069 GB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04198/0.6712, allocations: 12.6 MB / 0.7192 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002686/0.6715, allocations: 51.53 kB / 0.7193 GB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001651/0.6732, allocations: 167.1 kB / 0.7194 GB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0061/0.6793, allocations: 2.26 MB / 0.7216 GB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03718/0.7165, allocations: 11 MB / 0.7324 GB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3832/1.1, allocations: 48.66 MB / 0.7799 GB, free: 91.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04158/1.141, allocations: 6.14 MB / 0.7859 GB, free: 91.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01106/1.153, allocations: 3.29 MB / 0.7891 GB, free: 90.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03595/1.189, allocations: 13.52 MB / 0.8023 GB, free: 84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.699e-05/1.189, allocations: 62.14 kB / 0.8024 GB, free: 83.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=204): time 7.324e-06/1.189, allocations: 0 / 0.8024 GB, free: 83.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.2119/1.401, allocations: 36.84 MB / 0.8384 GB, free: 57.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.764e-05/1.401, allocations: 209.9 kB / 0.8386 GB, free: 57.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007422/1.408, allocations: 4.333 MB / 0.8428 GB, free: 53.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007795/1.409, allocations: 63.03 kB / 0.8428 GB, free: 53.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002368/1.411, allocations: 3.373 MB / 0.8461 GB, free: 49.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00141/1.413, allocations: 0.9864 MB / 0.8471 GB, free: 48.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006409/1.413, allocations: 143.8 kB / 0.8472 GB, free: 48.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000363/1.414, allocations: 0.6074 MB / 0.8478 GB, free: 47.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007061/1.421, allocations: 3.254 MB / 0.851 GB, free: 44.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009226/1.43, allocations: 7.145 MB / 0.858 GB, free: 35.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01003/1.44, allocations: 4.698 MB / 0.8626 GB, free: 31.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.727e-05/1.44, allocations: 40 kB / 0.8626 GB, free: 31 MB / 410.7 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.04147/1.482, allocations: 13.19 MB / 0.8755 GB, free: 17.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/1.482, allocations: 63.28 kB / 0.8755 GB, free: 17.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001644/1.482, allocations: 136 kB / 0.8757 GB, free: 17.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01785/1.5, allocations: 3.436 MB / 0.879 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009779/1.51, allocations: 1.575 MB / 0.8806 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05512/1.565, allocations: 16.37 MB / 0.8966 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02387/1.589, allocations: 435.4 kB / 0.897 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005695/1.595, allocations: 408 kB / 0.8974 GB, free: 11.26 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 618 * Number of states: 0 () * Number of discrete variables: 33 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (838): * Single equations (assignments): 834 * 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 {(5,60.0%) 50} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01334/1.608, allocations: 2.344 MB / 0.8996 GB, free: 8.914 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004065/1.612, allocations: 398.8 kB / 0.9 GB, free: 8.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04496/1.657, allocations: 7.99 MB / 0.9078 GB, free: 0.5078 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.346e-05/1.657, allocations: 11.95 kB / 0.9078 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-05/1.657, allocations: 4 kB / 0.9078 GB, free: 0.4922 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005064/1.663, allocations: 0.9369 MB / 0.9088 GB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00215/1.665, allocations: 49.09 kB / 0.9088 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006763/1.672, allocations: 195.7 kB / 0.909 GB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0017/1.673, allocations: 193.7 kB / 0.9092 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0428/1.716, allocations: 7.847 MB / 0.9168 GB, free: 7.289 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.4362/2.152, allocations: 9.136 MB / 0.9258 GB, free: 137.8 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009178/2.162, allocations: 2.567 MB / 0.9283 GB, free: 137.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01015/2.172, allocations: 2.711 MB / 0.9309 GB, free: 137.6 MB / 442.7 MB Notification: Performance of Backend: time 1.533e-06/2.172, allocations: 0 / 0.9309 GB, free: 137.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02272/2.195, allocations: 6.08 MB / 0.9369 GB, free: 135.8 MB / 442.7 MB Notification: Performance of SimCode: time 0.03733/2.232, allocations: 12.68 MB / 0.9492 GB, free: 129.3 MB / 442.7 MB Notification: Performance of Templates: time 0.1776/2.41, allocations: 65.33 MB / 1.013 GB, free: 80.55 MB / 442.7 MB