Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical.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.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004032/0.004032, 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.75/3.75, 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.003688/0.003687, allocations: 229.1 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.4839/0.4839, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006244/0.0006246, allocations: 16 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1052, allocations: 48.71 MB / 0.6067 GB, free: 4.66 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.3992/0.5045, allocations: 33.31 MB / 0.6393 GB, free: 71.54 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02867/0.5332, allocations: 7.521 MB / 0.6466 GB, free: 66.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0099/0.5432, allocations: 151.8 kB / 0.6468 GB, free: 66.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00803/0.5513, allocations: 1.636 MB / 0.6484 GB, free: 65.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02422/0.5756, allocations: 5.682 MB / 0.6539 GB, free: 62.74 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00329/0.5789, allocations: 484.5 kB / 0.6544 GB, free: 62.45 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.007778/0.5868, allocations: 4.315 MB / 0.6586 GB, free: 59.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006122/0.5929, allocations: 3.041 MB / 0.6616 GB, free: 56.74 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002804/0.5958, allocations: 1.151 MB / 0.6627 GB, free: 55.59 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003653/0.5995, allocations: 1.865 MB / 0.6645 GB, free: 53.72 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009529/0.6005, allocations: 148 kB / 0.6646 GB, free: 53.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003006/0.6035, allocations: 0.8425 MB / 0.6655 GB, free: 52.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002385/0.606, allocations: 1.605 MB / 0.667 GB, free: 51.12 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001198/0.6072, allocations: 0.8349 MB / 0.6678 GB, free: 50.28 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007424/0.6147, allocations: 5.392 MB / 0.6731 GB, free: 44.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.12e-05/0.6148, allocations: 4 kB / 0.6731 GB, free: 44.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.6148, allocations: 0 / 0.6731 GB, free: 44.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002476/0.615, allocations: 0 / 0.6731 GB, free: 44.87 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: 1680 * Number of variables: 1680 Notification: Performance of Generate backend data structure: time 0.01085/0.6259, allocations: 3.939 MB / 0.677 GB, free: 40.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.626, allocations: 8.031 kB / 0.677 GB, free: 40.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02279/0.6488, allocations: 3.753 MB / 0.6806 GB, free: 37.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005901/0.6547, allocations: 2.166 MB / 0.6828 GB, free: 34.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002275/0.655, allocations: 221.5 kB / 0.683 GB, free: 34.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001527/0.6565, allocations: 299.7 kB / 0.6832 GB, free: 34.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02441/0.681, allocations: 11.42 MB / 0.6944 GB, free: 22.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001408/0.6812, allocations: 35.61 kB / 0.6944 GB, free: 22.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007528/0.682, allocations: 131.8 kB / 0.6946 GB, free: 22.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006807/0.6888, allocations: 2.656 MB / 0.6972 GB, free: 19.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02842/0.7172, allocations: 10.52 MB / 0.7074 GB, free: 9.117 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08143/0.7987, allocations: 37.4 MB / 0.744 GB, free: 2.875 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01569/0.8145, allocations: 4.563 MB / 0.7484 GB, free: 14.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006107/0.8206, allocations: 2.392 MB / 0.7507 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001964/0.8227, allocations: 1.315 MB / 0.752 GB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.909e-05/0.8228, allocations: 59.94 kB / 0.7521 GB, free: 10.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=242): time 6.292e-06/0.8228, allocations: 0 / 0.7521 GB, free: 10.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=254): time 0.3645/1.187, allocations: 17.58 MB / 0.7693 GB, free: 119.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/1.187, allocations: 75.69 kB / 0.7693 GB, free: 119.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005395/1.193, allocations: 2.741 MB / 0.772 GB, free: 118.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005861/1.193, allocations: 64.08 kB / 0.7721 GB, free: 118.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002359/1.196, allocations: 2.846 MB / 0.7748 GB, free: 116.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001455/1.197, allocations: 0.9115 MB / 0.7757 GB, free: 115.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005292/1.198, allocations: 107.2 kB / 0.7758 GB, free: 115.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004004/1.198, allocations: 0.5447 MB / 0.7764 GB, free: 115.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006259/1.205, allocations: 2.304 MB / 0.7786 GB, free: 114.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008606/1.213, allocations: 5.269 MB / 0.7838 GB, free: 110 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008673/1.222, allocations: 3.481 MB / 0.7872 GB, free: 108.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001657/1.222, allocations: 33.34 kB / 0.7872 GB, free: 108.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=727) (initialization): time 0.03354/1.256, allocations: 8.309 MB / 0.7953 GB, free: 105.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000173/1.256, allocations: 52.31 kB / 0.7954 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002412/1.256, allocations: 101.8 kB / 0.7955 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0072/1.263, allocations: 0.9579 MB / 0.7964 GB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01082/1.274, allocations: 1.236 MB / 0.7976 GB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01404/1.288, allocations: 4.817 MB / 0.8023 GB, free: 103 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008271/1.297, allocations: 303.1 kB / 0.8026 GB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001384/1.298, allocations: 317.4 kB / 0.8029 GB, free: 102.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 468 * Number of states: 0 () * Number of discrete variables: 30 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.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 (666): * Single equations (assignments): 659 * 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%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007567/1.306, allocations: 2.182 MB / 0.805 GB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001033/1.307, allocations: 276.3 kB / 0.8053 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01985/1.327, allocations: 5.121 MB / 0.8103 GB, free: 97.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.853e-05/1.327, allocations: 11.53 kB / 0.8103 GB, free: 97.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.537e-05/1.327, allocations: 0 / 0.8103 GB, free: 97.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003914/1.331, allocations: 0.6786 MB / 0.811 GB, free: 96.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001671/1.333, allocations: 38.52 kB / 0.811 GB, free: 96.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004297/1.337, allocations: 138.2 kB / 0.8111 GB, free: 96.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001064/1.338, allocations: 133.3 kB / 0.8113 GB, free: 96.58 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02089/1.359, allocations: 4.57 MB / 0.8157 GB, free: 92.11 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02134/1.38, allocations: 6.698 MB / 0.8223 GB, free: 85.38 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005787/1.386, allocations: 1.864 MB / 0.8241 GB, free: 83.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005388/1.392, allocations: 1.681 MB / 0.8257 GB, free: 81.84 MB / 410.7 MB Notification: Performance of Backend: time 1.623e-06/1.392, allocations: 0 / 0.8257 GB, free: 81.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01732/1.409, allocations: 4.15 MB / 0.8298 GB, free: 77.72 MB / 410.7 MB Notification: Performance of SimCode: time 0.03304/1.442, allocations: 11.1 MB / 0.8406 GB, free: 66.61 MB / 410.7 MB Notification: Performance of Templates: time 0.1761/1.618, allocations: 41.67 MB / 0.8813 GB, free: 25.51 MB / 410.7 MB