Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002581/0.002581, allocations: 348.6 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.313/3.313, 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.003508/0.003508, allocations: 233 kB / 397.9 MB, free: 4.973 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.6021/0.6021, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004638/0.000464, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08235/0.08284, allocations: 48.71 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.3515/0.4344, allocations: 26.12 MB / 0.6323 GB, free: 76.71 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01874/0.4532, allocations: 6.21 MB / 0.6383 GB, free: 72.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00633/0.4596, allocations: 115.2 kB / 0.6384 GB, free: 72.58 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005026/0.4646, allocations: 1.285 MB / 0.6397 GB, free: 72.17 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01618/0.4809, allocations: 4.569 MB / 0.6441 GB, free: 70.33 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002764/0.4837, allocations: 427.9 kB / 0.6446 GB, free: 70.19 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006801/0.4905, allocations: 3.968 MB / 0.6484 GB, free: 67.98 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005007/0.4956, allocations: 2.259 MB / 0.6506 GB, free: 66.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002677/0.4983, allocations: 1.038 MB / 0.6516 GB, free: 66.09 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003823/0.5022, allocations: 1.701 MB / 0.6533 GB, free: 65.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001089/0.5034, allocations: 136 kB / 0.6534 GB, free: 65.01 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003194/0.5066, allocations: 0.8152 MB / 0.6542 GB, free: 64.19 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0023/0.5089, allocations: 1.492 MB / 0.6557 GB, free: 62.7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001094/0.5101, allocations: 0.757 MB / 0.6564 GB, free: 61.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006464/0.5166, allocations: 4.819 MB / 0.6611 GB, free: 57.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.5166, allocations: 2.812 kB / 0.6611 GB, free: 57.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.5166, allocations: 0 / 0.6611 GB, free: 57.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002319/0.5169, allocations: 0 / 0.6611 GB, free: 57.1 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: 1567 * Number of variables: 1567 Notification: Performance of Generate backend data structure: time 0.009873/0.5268, allocations: 3.601 MB / 0.6647 GB, free: 53.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.5268, allocations: 8.031 kB / 0.6647 GB, free: 53.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0334/0.5603, allocations: 3.719 MB / 0.6683 GB, free: 49.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005093/0.5654, allocations: 1.922 MB / 0.6702 GB, free: 47.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000214/0.5657, allocations: 196.8 kB / 0.6704 GB, free: 47.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001377/0.5671, allocations: 255.7 kB / 0.6706 GB, free: 47.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02302/0.5901, allocations: 10.78 MB / 0.6811 GB, free: 36.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00012/0.5903, allocations: 27.62 kB / 0.6812 GB, free: 36.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006892/0.591, allocations: 119.8 kB / 0.6813 GB, free: 35.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006794/0.5978, allocations: 2.585 MB / 0.6838 GB, free: 33.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02723/0.6251, allocations: 10.06 MB / 0.6936 GB, free: 23.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06718/0.6923, allocations: 35.16 MB / 0.728 GB, free: 3.293 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01684/0.7092, allocations: 5.183 MB / 0.733 GB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006037/0.7153, allocations: 2.29 MB / 0.7353 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002662/0.718, allocations: 1.884 MB / 0.7371 GB, free: 9.395 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.922e-05/0.7182, allocations: 55.44 kB / 0.7371 GB, free: 9.336 MB / 394.7 MB Notification: Performance of pre-optimization done (n=229): time 6.512e-06/0.7182, allocations: 0 / 0.7371 GB, free: 9.336 MB / 394.7 MB Notification: Performance of matching and sorting (n=235): time 0.05875/0.7769, allocations: 13.98 MB / 0.7508 GB, free: 11.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.777, allocations: 69.41 kB / 0.7509 GB, free: 11.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005507/0.7826, allocations: 2.624 MB / 0.7534 GB, free: 8.574 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005371/0.7831, allocations: 57.7 kB / 0.7535 GB, free: 8.512 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002932/0.7861, allocations: 2.693 MB / 0.7561 GB, free: 5.777 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001534/0.7877, allocations: 0.8478 MB / 0.7569 GB, free: 4.918 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005613/0.7883, allocations: 104 kB / 0.757 GB, free: 4.816 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005353/0.7888, allocations: 0.5372 MB / 0.7576 GB, free: 4.273 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006351/0.7952, allocations: 2.189 MB / 0.7597 GB, free: 2.078 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2771/1.072, allocations: 5.093 MB / 0.7647 GB, free: 115.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008371/1.081, allocations: 3.337 MB / 0.7679 GB, free: 115.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001598/1.081, allocations: 28.38 kB / 0.768 GB, free: 115.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=701) (initialization): time 0.0221/1.103, allocations: 7.885 MB / 0.7757 GB, free: 113.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/1.103, allocations: 50.38 kB / 0.7757 GB, free: 113.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001766/1.103, allocations: 104.5 kB / 0.7758 GB, free: 113.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003852/1.107, allocations: 0.8038 MB / 0.7766 GB, free: 113.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007473/1.115, allocations: 1.192 MB / 0.7778 GB, free: 113.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008493/1.123, allocations: 4.21 MB / 0.7819 GB, free: 111.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004959/1.128, allocations: 303.5 kB / 0.7822 GB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006801/1.129, allocations: 301.7 kB / 0.7824 GB, free: 111.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 460 * Number of states: 0 () * Number of discrete variables: 24 (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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (641): * Single equations (assignments): 634 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004774/1.134, allocations: 2.049 MB / 0.7844 GB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005967/1.134, allocations: 265.4 kB / 0.7847 GB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0127/1.147, allocations: 4.71 MB / 0.7893 GB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.081e-05/1.147, allocations: 10.22 kB / 0.7893 GB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/1.147, allocations: 1.312 kB / 0.7893 GB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001862/1.149, allocations: 0.6362 MB / 0.7899 GB, free: 108.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006379/1.15, allocations: 33.64 kB / 0.79 GB, free: 108.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001929/1.152, allocations: 136.9 kB / 0.7901 GB, free: 108.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003656/1.152, allocations: 113.8 kB / 0.7902 GB, free: 108.6 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01182/1.164, allocations: 4.231 MB / 0.7943 GB, free: 107.3 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01216/1.176, allocations: 6.255 MB / 0.8004 GB, free: 105 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003274/1.179, allocations: 1.726 MB / 0.8021 GB, free: 103.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002926/1.182, allocations: 1.598 MB / 0.8037 GB, free: 102.4 MB / 410.7 MB Notification: Performance of Backend: time 6.52e-07/1.182, allocations: 3.75 kB / 0.8037 GB, free: 102.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01032/1.193, allocations: 3.963 MB / 0.8076 GB, free: 98.94 MB / 410.7 MB Notification: Performance of SimCode: time 0.02023/1.213, allocations: 10.25 MB / 0.8176 GB, free: 89.41 MB / 410.7 MB Notification: Performance of Templates: time 0.1262/1.339, allocations: 39.23 MB / 0.8559 GB, free: 50.75 MB / 410.7 MB