Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.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.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004024/0.004024, allocations: 351.3 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.717/3.717, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.005007/0.005007, allocations: 233 kB / 397.9 MB, free: 4.969 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.4827/0.4827, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004982/0.0004984, allocations: 8 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08522/0.08575, allocations: 48.7 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.3281/0.4139, allocations: 41.91 MB / 0.6477 GB, free: 65.39 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02943/0.4434, allocations: 9.805 MB / 0.6572 GB, free: 58.79 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01069/0.4542, allocations: 201.2 kB / 0.6574 GB, free: 58.76 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008251/0.4625, allocations: 2 MB / 0.6594 GB, free: 57.9 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02449/0.487, allocations: 7.103 MB / 0.6663 GB, free: 51.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005052/0.4922, allocations: 0.9794 MB / 0.6673 GB, free: 50.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.02991/0.5221, allocations: 17.25 MB / 0.6841 GB, free: 33.52 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01179/0.534, allocations: 6.277 MB / 0.6903 GB, free: 27.35 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003718/0.5377, allocations: 1.662 MB / 0.6919 GB, free: 25.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005217/0.543, allocations: 2.676 MB / 0.6945 GB, free: 23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001491/0.5445, allocations: 204 kB / 0.6947 GB, free: 22.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004416/0.549, allocations: 1.26 MB / 0.6959 GB, free: 21.54 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003482/0.5525, allocations: 2.279 MB / 0.6981 GB, free: 19.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001843/0.5544, allocations: 1.088 MB / 0.6992 GB, free: 18.16 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01008/0.5645, allocations: 7.739 MB / 0.7068 GB, free: 10.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.5646, allocations: 0 / 0.7068 GB, free: 10.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.587e-06/0.5646, allocations: 4 kB / 0.7068 GB, free: 10.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003593/0.565, allocations: 0 / 0.7068 GB, free: 10.39 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: 1928 * Number of variables: 1928 Notification: Performance of Generate backend data structure: time 0.01854/0.5836, allocations: 5.628 MB / 0.7123 GB, free: 4.691 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.5836, allocations: 8.031 kB / 0.7123 GB, free: 4.684 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03335/0.617, allocations: 3.148 MB / 0.7154 GB, free: 1.523 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01224/0.6293, allocations: 3.656 MB / 0.7189 GB, free: 13.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005643/0.6299, allocations: 353.6 kB / 0.7193 GB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002309/0.6322, allocations: 431.7 kB / 0.7197 GB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04402/0.6763, allocations: 14.1 MB / 0.7334 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002698/0.6767, allocations: 51.53 kB / 0.7335 GB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001909/0.6786, allocations: 195.8 kB / 0.7337 GB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006723/0.6853, allocations: 2.351 MB / 0.736 GB, free: 11.49 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04349/0.7289, allocations: 11.96 MB / 0.7477 GB, free: 15.52 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3989/1.128, allocations: 51.69 MB / 0.7981 GB, free: 86.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02173/1.15, allocations: 4.852 MB / 0.8029 GB, free: 84.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006984/1.157, allocations: 2.978 MB / 0.8058 GB, free: 83.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0425/1.199, allocations: 12.91 MB / 0.8184 GB, free: 76.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.446e-05/1.199, allocations: 59.14 kB / 0.8184 GB, free: 76.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=199): time 9.248e-06/1.199, allocations: 0 / 0.8184 GB, free: 76.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=251): time 0.3384/1.538, allocations: 41.87 MB / 0.8593 GB, free: 41.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/1.538, allocations: 227.6 kB / 0.8595 GB, free: 41.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009272/1.547, allocations: 4.738 MB / 0.8642 GB, free: 36.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006993/1.548, allocations: 69.64 kB / 0.8642 GB, free: 36.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003008/1.551, allocations: 3.804 MB / 0.868 GB, free: 32.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001496/1.553, allocations: 0.9484 MB / 0.8689 GB, free: 31.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008609/1.554, allocations: 144 kB / 0.869 GB, free: 31.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004085/1.554, allocations: 0.6161 MB / 0.8696 GB, free: 31.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008108/1.562, allocations: 3.423 MB / 0.873 GB, free: 27.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01079/1.573, allocations: 7.643 MB / 0.8804 GB, free: 17.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01086/1.584, allocations: 4.943 MB / 0.8853 GB, free: 12.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001061/1.584, allocations: 47.95 kB / 0.8853 GB, free: 12.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.04772/1.632, allocations: 14.4 MB / 0.8994 GB, free: 14.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001439/1.632, allocations: 68 kB / 0.8994 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002422/1.632, allocations: 148 kB / 0.8996 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02402/1.656, allocations: 4.047 MB / 0.9035 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01055/1.667, allocations: 1.626 MB / 0.9051 GB, free: 8.633 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05071/1.718, allocations: 18.65 MB / 0.9233 GB, free: 5.844 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008841/1.726, allocations: 459.3 kB / 0.9238 GB, free: 5.395 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001764/1.728, allocations: 428 kB / 0.9242 GB, free: 4.977 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 673 * Number of states: 0 () * Number of discrete variables: 34 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.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 (880): * Single equations (assignments): 876 * 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%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007891/1.736, allocations: 2.66 MB / 0.9268 GB, free: 2.312 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001378/1.738, allocations: 426.5 kB / 0.9272 GB, free: 1.891 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3277/2.065, allocations: 8.66 MB / 0.9356 GB, free: 139 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.482e-05/2.065, allocations: 11.83 kB / 0.9356 GB, free: 139 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/2.065, allocations: 1.594 kB / 0.9356 GB, free: 139 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003367/2.069, allocations: 0.968 MB / 0.9366 GB, free: 138.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001441/2.07, allocations: 44.92 kB / 0.9366 GB, free: 138.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004422/2.075, allocations: 194.9 kB / 0.9368 GB, free: 138.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009238/2.076, allocations: 190.9 kB / 0.937 GB, free: 138.9 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.051/2.127, allocations: 8.608 MB / 0.9454 GB, free: 136.9 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03412/2.161, allocations: 9.358 MB / 0.9545 GB, free: 133.1 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008827/2.17, allocations: 2.569 MB / 0.957 GB, free: 132.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009662/2.179, allocations: 2.962 MB / 0.9599 GB, free: 131.1 MB / 442.7 MB Notification: Performance of Backend: time 1.132e-06/2.18, allocations: 0 / 0.9599 GB, free: 131.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01779/2.197, allocations: 6.179 MB / 0.966 GB, free: 128.7 MB / 442.7 MB Notification: Performance of SimCode: time 0.02878/2.226, allocations: 13.95 MB / 0.9796 GB, free: 118 MB / 442.7 MB Notification: Performance of Templates: time 0.1763/2.403, allocations: 68.66 MB / 1.047 GB, free: 50 MB / 442.7 MB