Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.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.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004026/0.004035, allocations: 364.5 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.526/4.526, allocations: 388.9 MB / 405.6 MB, free: 10.32 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.004771/0.00477, allocations: 229.8 kB / 451 MB, free: 145.1 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.5446/0.5446, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006971/0.0006975, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1097, allocations: 54.88 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.3821/0.4919, allocations: 55.74 MB / 0.7345 GB, free: 11.79 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03447/0.5264, allocations: 11.8 MB / 0.7461 GB, free: 10.15 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01413/0.5406, allocations: 259.5 kB / 0.7463 GB, free: 10.11 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01123/0.5519, allocations: 2.743 MB / 0.749 GB, free: 9.559 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03354/0.5855, allocations: 9.538 MB / 0.7583 GB, free: 4.621 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005778/0.5913, allocations: 0.9137 MB / 0.7592 GB, free: 4.09 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.03943/0.6308, allocations: 18.82 MB / 0.7776 GB, free: 5.766 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01256/0.6434, allocations: 5.028 MB / 0.7825 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005533/0.649, allocations: 1.872 MB / 0.7843 GB, free: 14.8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007518/0.6566, allocations: 3.131 MB / 0.7874 GB, free: 11.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001771/0.6584, allocations: 220 kB / 0.7876 GB, free: 11.45 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004899/0.6633, allocations: 1.042 MB / 0.7886 GB, free: 10.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005116/0.6685, allocations: 2.587 MB / 0.7911 GB, free: 7.812 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002824/0.6714, allocations: 1.189 MB / 0.7923 GB, free: 6.613 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0136/0.685, allocations: 7.735 MB / 0.7998 GB, free: 14.86 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.6851, allocations: 4 kB / 0.7998 GB, free: 14.86 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.6851, allocations: 4 kB / 0.7998 GB, free: 14.85 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000307/0.6854, allocations: 0 / 0.7998 GB, free: 14.85 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2209 * Number of variables: 2209 Notification: Performance of Generate backend data structure: time 0.02409/0.7095, allocations: 6.453 MB / 0.8061 GB, free: 8.316 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.7096, allocations: 15.97 kB / 0.8062 GB, free: 8.301 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03354/0.7432, allocations: 4.574 MB / 0.8106 GB, free: 3.711 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03016/0.7734, allocations: 4.206 MB / 0.8147 GB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006616/0.7741, allocations: 324.2 kB / 0.815 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00319/0.7773, allocations: 443.5 kB / 0.8155 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0816/0.859, allocations: 16.1 MB / 0.8312 GB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003475/0.8594, allocations: 59.44 kB / 0.8312 GB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002387/0.8618, allocations: 203.8 kB / 0.8314 GB, free: 13.61 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01024/0.8721, allocations: 3.248 MB / 0.8346 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05269/0.9248, allocations: 15.1 MB / 0.8493 GB, free: 11.24 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1353/1.06, allocations: 55.94 MB / 0.904 GB, free: 2.062 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3575/1.418, allocations: 8.245 MB / 0.912 GB, free: 167.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01167/1.429, allocations: 4.825 MB / 0.9167 GB, free: 165.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00303/1.433, allocations: 2.206 MB / 0.9189 GB, free: 163.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.934e-05/1.433, allocations: 64.02 kB / 0.919 GB, free: 163.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=367): time 9.919e-06/1.433, allocations: 0 / 0.919 GB, free: 163.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=419): time 0.1902/1.623, allocations: 40.72 MB / 0.9587 GB, free: 140.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/1.623, allocations: 116 kB / 0.9588 GB, free: 140.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008435/1.631, allocations: 4.307 MB / 0.963 GB, free: 136.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001154/1.633, allocations: 87.34 kB / 0.9631 GB, free: 136.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003197/1.636, allocations: 3.855 MB / 0.9669 GB, free: 132.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00239/1.638, allocations: 1.497 MB / 0.9683 GB, free: 130.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009756/1.639, allocations: 157.2 kB / 0.9685 GB, free: 130.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005147/1.64, allocations: 0.6438 MB / 0.9691 GB, free: 130 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009793/1.65, allocations: 4.052 MB / 0.9731 GB, free: 126 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01247/1.662, allocations: 7.861 MB / 0.9808 GB, free: 116.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01295/1.675, allocations: 5.611 MB / 0.9862 GB, free: 110.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001315/1.675, allocations: 36 kB / 0.9863 GB, free: 110.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=1045) (initialization): time 0.04804/1.724, allocations: 14.71 MB / 1.001 GB, free: 96.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000218/1.724, allocations: 60 kB / 1.001 GB, free: 95.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003511/1.724, allocations: 128 kB / 1.001 GB, free: 95.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02362/1.748, allocations: 2.963 MB / 1.004 GB, free: 92.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01925/1.767, allocations: 1.821 MB / 1.005 GB, free: 91.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05046/1.818, allocations: 14.8 MB / 1.02 GB, free: 76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01326/1.831, allocations: 0.5035 MB / 1.02 GB, free: 75.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002036/1.833, allocations: 429.7 kB / 1.021 GB, free: 75.08 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 589 * Number of states: 0 () * Number of discrete variables: 45 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],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 (948): * Single equations (assignments): 940 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,69.4%) 32,(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00807/1.841, allocations: 2.911 MB / 1.024 GB, free: 72.17 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001336/1.843, allocations: 462 kB / 1.024 GB, free: 71.71 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03956/1.882, allocations: 10.9 MB / 1.035 GB, free: 60.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001148/1.882, allocations: 19.92 kB / 1.035 GB, free: 60.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/1.882, allocations: 3.938 kB / 1.035 GB, free: 60.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00414/1.886, allocations: 1.182 MB / 1.036 GB, free: 59.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001828/1.888, allocations: 64.7 kB / 1.036 GB, free: 59.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005432/1.894, allocations: 308.2 kB / 1.036 GB, free: 59.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001313/1.895, allocations: 259.3 kB / 1.037 GB, free: 58.9 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03238/1.928, allocations: 9.722 MB / 1.046 GB, free: 49.22 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02751/1.955, allocations: 12.58 MB / 1.058 GB, free: 36.59 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007618/1.963, allocations: 3.592 MB / 1.062 GB, free: 32.99 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005552/1.968, allocations: 2.677 MB / 1.064 GB, free: 30.31 MB / 490.7 MB Notification: Performance of Backend: time 8.52e-07/1.968, allocations: 0 / 1.064 GB, free: 30.31 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02136/1.99, allocations: 7.042 MB / 1.071 GB, free: 23.29 MB / 490.7 MB Notification: Performance of SimCode: time 0.3854/2.375, allocations: 16.33 MB / 1.087 GB, free: 157.3 MB / 490.7 MB Notification: Performance of Templates: time 0.2041/2.58, allocations: 78.67 MB / 1.164 GB, free: 102.7 MB / 490.7 MB