Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.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.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003678/0.003687, allocations: 364.7 kB / 15.96 MB, free: 6.203 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 4.449/4.449, allocations: 388.9 MB / 405.6 MB, free: 9.574 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.00358/0.003579, allocations: 232.4 kB / 451 MB, free: 145 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.5452/0.5452, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000491/0.0004912, allocations: 12 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1023, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.04025/0.1426, allocations: 33.34 MB / 0.7127 GB, free: 8.207 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.3676/0.5103, allocations: 7.539 MB / 0.72 GB, free: 11.95 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008592/0.519, allocations: 148.3 kB / 0.7202 GB, free: 11.95 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008513/0.5276, allocations: 1.643 MB / 0.7218 GB, free: 11.94 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02489/0.5525, allocations: 5.675 MB / 0.7273 GB, free: 11.66 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003271/0.5559, allocations: 473 kB / 0.7278 GB, free: 11.64 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.009979/0.5659, allocations: 4.328 MB / 0.732 GB, free: 11.63 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0106/0.5766, allocations: 3.054 MB / 0.735 GB, free: 10.67 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004593/0.5813, allocations: 1.152 MB / 0.7361 GB, free: 10.24 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006337/0.5877, allocations: 1.867 MB / 0.7379 GB, free: 9.602 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001624/0.5894, allocations: 150.6 kB / 0.7381 GB, free: 9.602 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00485/0.5943, allocations: 0.8272 MB / 0.7389 GB, free: 9.379 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004185/0.5986, allocations: 1.617 MB / 0.7404 GB, free: 8.82 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002976/0.6016, allocations: 0.8271 MB / 0.7413 GB, free: 8.617 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01251/0.6142, allocations: 5.401 MB / 0.7465 GB, free: 5.715 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.179e-05/0.6143, allocations: 3.984 kB / 0.7465 GB, free: 5.711 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.02e-06/0.6143, allocations: 5.25 kB / 0.7465 GB, free: 5.707 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003201/0.6147, allocations: 0 / 0.7465 GB, free: 5.707 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1681 * Number of variables: 1681 Notification: Performance of Generate backend data structure: time 0.01993/0.6346, allocations: 3.933 MB / 0.7504 GB, free: 3.289 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.604e-05/0.6347, allocations: 8.5 kB / 0.7504 GB, free: 3.289 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03531/0.6701, allocations: 3.746 MB / 0.754 GB, free: 1.625 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007744/0.6779, allocations: 2.166 MB / 0.7562 GB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00033/0.6783, allocations: 227.4 kB / 0.7564 GB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002228/0.6805, allocations: 289.9 kB / 0.7567 GB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03258/0.7131, allocations: 11.43 MB / 0.7678 GB, free: 7.945 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001925/0.7134, allocations: 27.72 kB / 0.7678 GB, free: 7.918 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001188/0.7146, allocations: 137.7 kB / 0.768 GB, free: 7.883 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008012/0.7226, allocations: 2.648 MB / 0.7706 GB, free: 5.668 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03497/0.7576, allocations: 10.54 MB / 0.7809 GB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09019/0.8479, allocations: 37.4 MB / 0.8174 GB, free: 6.785 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01708/0.865, allocations: 4.564 MB / 0.8218 GB, free: 1.996 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006398/0.8715, allocations: 2.395 MB / 0.8242 GB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001925/0.8735, allocations: 1.314 MB / 0.8255 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.565e-05/0.8736, allocations: 52.56 kB / 0.8255 GB, free: 14.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=242): time 8.216e-06/0.8736, allocations: 0 / 0.8255 GB, free: 14.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=254): time 0.09453/0.9681, allocations: 17.58 MB / 0.8427 GB, free: 12.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.9682, allocations: 69.41 kB / 0.8427 GB, free: 12.31 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006094/0.9743, allocations: 2.755 MB / 0.8454 GB, free: 9.543 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006556/0.975, allocations: 56.33 kB / 0.8455 GB, free: 9.484 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003027/0.9781, allocations: 2.843 MB / 0.8483 GB, free: 6.652 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001759/0.9799, allocations: 0.9193 MB / 0.8492 GB, free: 5.742 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006352/0.9806, allocations: 104 kB / 0.8493 GB, free: 5.641 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000516/0.9811, allocations: 0.5415 MB / 0.8498 GB, free: 5.094 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006629/0.9877, allocations: 2.31 MB / 0.852 GB, free: 2.777 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01017/0.998, allocations: 5.268 MB / 0.8572 GB, free: 12.07 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009302/1.007, allocations: 3.483 MB / 0.8606 GB, free: 8.594 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001211/1.008, allocations: 28 kB / 0.8606 GB, free: 8.566 MB / 458.7 MB Notification: Performance of matching and sorting (n=727) (initialization): time 0.02661/1.034, allocations: 8.316 MB / 0.8687 GB, free: 248 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.925e-05/1.034, allocations: 50.19 kB / 0.8688 GB, free: 200 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001492/1.034, allocations: 104 kB / 0.8689 GB, free: 96 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005121/1.04, allocations: 0.9531 MB / 0.8698 GB, free: 15.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008387/1.048, allocations: 1.244 MB / 0.871 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01125/1.059, allocations: 4.806 MB / 0.8757 GB, free: 8.953 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005905/1.065, allocations: 311.6 kB / 0.876 GB, free: 8.648 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001405/1.067, allocations: 312 kB / 0.8763 GB, free: 8.344 MB / 474.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.006797/1.074, allocations: 2.181 MB / 0.8784 GB, free: 6.152 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007574/1.074, allocations: 272.4 kB / 0.8787 GB, free: 5.883 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01614/1.09, allocations: 5.124 MB / 0.8837 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.751e-05/1.091, allocations: 11.97 kB / 0.8837 GB, free: 0.7188 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/1.091, allocations: 1.859 kB / 0.8837 GB, free: 0.7188 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002552/1.093, allocations: 0.6809 MB / 0.8844 GB, free: 16 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001163/1.094, allocations: 36.06 kB / 0.8844 GB, free: 15.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002701/1.097, allocations: 143.2 kB / 0.8846 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006888/1.098, allocations: 125.8 kB / 0.8847 GB, free: 15.74 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01587/1.114, allocations: 4.575 MB / 0.8891 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01695/1.131, allocations: 6.7 MB / 0.8957 GB, free: 4.465 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004772/1.136, allocations: 1.87 MB / 0.8975 GB, free: 2.594 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004583/1.14, allocations: 1.677 MB / 0.8992 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of Backend: time 1.243e-06/1.14, allocations: 0 / 0.8992 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.3252/1.465, allocations: 4.151 MB / 0.9032 GB, free: 175.9 MB / 490.7 MB Notification: Performance of SimCode: time 0.02668/1.492, allocations: 11.11 MB / 0.9141 GB, free: 170.4 MB / 490.7 MB Notification: Performance of Templates: time 0.1286/1.621, allocations: 41.67 MB / 0.9548 GB, free: 138.6 MB / 490.7 MB