Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003823/0.003828, allocations: 366.2 kB / 15.96 MB, free: 6.199 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.057/4.057, allocations: 388.9 MB / 405.6 MB, free: 10.23 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.003588/0.003588, allocations: 232.5 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.5032/0.5032, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006668/0.0006671, allocations: 16 kB / 0.6265 GB, free: 96.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1138, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.03688/0.1507, allocations: 26.16 MB / 0.7056 GB, free: 15.43 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01585/0.1666, allocations: 6.242 MB / 0.7117 GB, free: 9.172 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004691/0.1714, allocations: 115.8 kB / 0.7118 GB, free: 9.059 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004075/0.1755, allocations: 1.287 MB / 0.7131 GB, free: 7.766 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01373/0.1893, allocations: 4.561 MB / 0.7176 GB, free: 3.188 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002417/0.1917, allocations: 419.3 kB / 0.718 GB, free: 2.777 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.3689/0.5607, allocations: 3.965 MB / 0.7218 GB, free: 13.89 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006059/0.5668, allocations: 2.271 MB / 0.724 GB, free: 13.66 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003122/0.57, allocations: 1.038 MB / 0.7251 GB, free: 13.66 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005125/0.5751, allocations: 1.695 MB / 0.7267 GB, free: 13.66 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001388/0.5766, allocations: 137.5 kB / 0.7268 GB, free: 13.66 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007656/0.5843, allocations: 0.8198 MB / 0.7276 GB, free: 13.66 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003593/0.5879, allocations: 1.483 MB / 0.7291 GB, free: 13.66 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001707/0.5897, allocations: 0.7607 MB / 0.7298 GB, free: 13.63 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01094/0.6007, allocations: 4.821 MB / 0.7345 GB, free: 13.31 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.428e-06/0.6008, allocations: 4 kB / 0.7345 GB, free: 13.3 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.737e-06/0.6008, allocations: 0 / 0.7345 GB, free: 13.3 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002737/0.6011, allocations: 0 / 0.7345 GB, free: 13.3 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: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.0148/0.6159, allocations: 3.608 MB / 0.7381 GB, free: 11.36 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/0.616, allocations: 8.594 kB / 0.7381 GB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03107/0.6471, allocations: 3.708 MB / 0.7417 GB, free: 9.711 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008467/0.6556, allocations: 1.917 MB / 0.7436 GB, free: 9.047 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003375/0.656, allocations: 199.1 kB / 0.7438 GB, free: 9.035 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002146/0.6582, allocations: 253.6 kB / 0.744 GB, free: 9.031 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02844/0.6866, allocations: 10.79 MB / 0.7545 GB, free: 5.781 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001443/0.6868, allocations: 29.3 kB / 0.7546 GB, free: 5.766 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001375/0.6882, allocations: 119.6 kB / 0.7547 GB, free: 5.734 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007077/0.6953, allocations: 2.588 MB / 0.7572 GB, free: 3.582 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0306/0.726, allocations: 10.07 MB / 0.767 GB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0895/0.8155, allocations: 35.17 MB / 0.8014 GB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01708/0.8327, allocations: 5.173 MB / 0.8064 GB, free: 3.348 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005838/0.8386, allocations: 2.289 MB / 0.8087 GB, free: 1.062 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002762/0.8414, allocations: 1.88 MB / 0.8105 GB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.276e-05/0.8415, allocations: 52.5 kB / 0.8106 GB, free: 14.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=229): time 7.484e-06/0.8415, allocations: 4 kB / 0.8106 GB, free: 14.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=235): time 0.06216/0.9037, allocations: 13.98 MB / 0.8242 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/0.9038, allocations: 73.41 kB / 0.8243 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006945/0.9108, allocations: 2.626 MB / 0.8269 GB, free: 14.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006833/0.9115, allocations: 59.34 kB / 0.8269 GB, free: 13.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003302/0.9148, allocations: 2.692 MB / 0.8295 GB, free: 11.31 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001818/0.9167, allocations: 0.8424 MB / 0.8304 GB, free: 10.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006675/0.9174, allocations: 104 kB / 0.8305 GB, free: 10.37 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006227/0.918, allocations: 0.5371 MB / 0.831 GB, free: 9.828 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006516/0.9246, allocations: 2.197 MB / 0.8331 GB, free: 7.625 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009775/0.9344, allocations: 5.091 MB / 0.8381 GB, free: 1.117 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008824/0.9433, allocations: 3.334 MB / 0.8414 GB, free: 13.79 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.059e-05/0.9434, allocations: 32 kB / 0.8414 GB, free: 13.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=701) (initialization): time 0.02546/0.9689, allocations: 7.887 MB / 0.8491 GB, free: 5.867 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.969, allocations: 48 kB / 0.8491 GB, free: 5.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001767/0.9692, allocations: 103.9 kB / 0.8492 GB, free: 5.719 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004383/0.9736, allocations: 0.8088 MB / 0.85 GB, free: 4.906 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00832/0.982, allocations: 1.197 MB / 0.8512 GB, free: 3.707 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009858/0.9919, allocations: 4.206 MB / 0.8553 GB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005634/0.9976, allocations: 299.8 kB / 0.8556 GB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001473/0.9991, allocations: 300.6 kB / 0.8559 GB, free: 14.78 MB / 458.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.006786/1.006, allocations: 2.047 MB / 0.8579 GB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007604/1.007, allocations: 264.6 kB / 0.8581 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01547/1.022, allocations: 4.71 MB / 0.8627 GB, free: 7.727 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.247e-05/1.022, allocations: 7.969 kB / 0.8627 GB, free: 7.719 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/1.022, allocations: 0 / 0.8627 GB, free: 7.719 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002453/1.025, allocations: 0.6382 MB / 0.8634 GB, free: 7.059 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001011/1.026, allocations: 33.64 kB / 0.8634 GB, free: 7.027 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002638/1.028, allocations: 143.4 kB / 0.8635 GB, free: 6.891 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005438/1.029, allocations: 117.8 kB / 0.8636 GB, free: 6.773 MB / 458.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01494/1.044, allocations: 4.231 MB / 0.8678 GB, free: 2.57 MB / 458.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01654/1.061, allocations: 6.245 MB / 0.8739 GB, free: 12.31 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004578/1.065, allocations: 1.726 MB / 0.8756 GB, free: 10.58 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004633/1.07, allocations: 1.607 MB / 0.8771 GB, free: 8.965 MB / 474.7 MB Notification: Performance of Backend: time 5.07e-06/1.07, allocations: 0 / 0.8771 GB, free: 8.965 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01406/1.084, allocations: 3.961 MB / 0.881 GB, free: 5.027 MB / 474.7 MB Notification: Performance of SimCode: time 0.02698/1.111, allocations: 10.26 MB / 0.891 GB, free: 10.71 MB / 490.7 MB Notification: Performance of Templates: time 0.4736/1.585, allocations: 39.24 MB / 0.9293 GB, free: 162.8 MB / 490.7 MB