Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.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.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003906/0.003911, allocations: 351.3 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.514/3.514, allocations: 341.5 MB / 358.2 MB, free: 12.64 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.003545/0.003545, allocations: 229.1 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.5065/0.5065, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004498/0.00045, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08811/0.08859, allocations: 48.71 MB / 0.6067 GB, free: 4.648 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.3322/0.4209, allocations: 64.02 MB / 0.6693 GB, free: 48.2 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03615/0.4571, allocations: 13.34 MB / 0.6823 GB, free: 35.36 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01739/0.4745, allocations: 295.3 kB / 0.6826 GB, free: 35.07 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01363/0.4882, allocations: 3.133 MB / 0.6856 GB, free: 31.93 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04291/0.5312, allocations: 10.79 MB / 0.6962 GB, free: 21.1 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007434/0.5387, allocations: 0.8108 MB / 0.697 GB, free: 20.29 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.05629/0.595, allocations: 28.64 MB / 0.7249 GB, free: 7.613 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01246/0.6075, allocations: 5.735 MB / 0.7305 GB, free: 1.965 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00403/0.6116, allocations: 1.677 MB / 0.7322 GB, free: 288 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006144/0.6178, allocations: 2.683 MB / 0.7348 GB, free: 13.59 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001769/0.6197, allocations: 192 kB / 0.735 GB, free: 13.4 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004269/0.624, allocations: 1.151 MB / 0.7361 GB, free: 12.25 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00429/0.6283, allocations: 2.353 MB / 0.7384 GB, free: 9.887 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002186/0.6305, allocations: 1.111 MB / 0.7395 GB, free: 8.766 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01211/0.6427, allocations: 7.423 MB / 0.7467 GB, free: 1.328 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.806e-06/0.6428, allocations: 4 kB / 0.7467 GB, free: 1.324 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.776e-06/0.6428, allocations: 0 / 0.7467 GB, free: 1.324 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002622/0.643, allocations: 0 / 0.7467 GB, free: 1.324 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: 1954 * Number of variables: 1954 Notification: Performance of Generate backend data structure: time 0.01921/0.6623, allocations: 5.653 MB / 0.7523 GB, free: 11.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.6623, allocations: 8.031 kB / 0.7523 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02564/0.688, allocations: 3.194 MB / 0.7554 GB, free: 8.387 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01714/0.7052, allocations: 3.93 MB / 0.7592 GB, free: 4.402 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005951/0.7058, allocations: 307.8 kB / 0.7595 GB, free: 4.102 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002685/0.7086, allocations: 411.7 kB / 0.7599 GB, free: 3.699 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3335/1.042, allocations: 13.16 MB / 0.7728 GB, free: 120.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003067/1.042, allocations: 57.52 kB / 0.7728 GB, free: 120.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001769/1.044, allocations: 201.7 kB / 0.773 GB, free: 120.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00644/1.051, allocations: 2.385 MB / 0.7753 GB, free: 119.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03573/1.086, allocations: 10.92 MB / 0.786 GB, free: 116.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08478/1.171, allocations: 50.05 MB / 0.8349 GB, free: 71.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01829/1.19, allocations: 4.549 MB / 0.8393 GB, free: 67.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0051/1.195, allocations: 2.456 MB / 0.8417 GB, free: 64.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01691/1.212, allocations: 6.737 MB / 0.8483 GB, free: 57.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/1.212, allocations: 55.59 kB / 0.8483 GB, free: 57.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=183): time 8.396e-06/1.212, allocations: 0 / 0.8483 GB, free: 57.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=195): time 0.08239/1.294, allocations: 19.41 MB / 0.8673 GB, free: 38.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.836e-05/1.294, allocations: 223.2 kB / 0.8675 GB, free: 38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01182/1.306, allocations: 5.857 MB / 0.8732 GB, free: 32.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005333/1.307, allocations: 53.7 kB / 0.8733 GB, free: 32.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003498/1.31, allocations: 4.047 MB / 0.8772 GB, free: 28.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00126/1.312, allocations: 0.7682 MB / 0.878 GB, free: 27.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008652/1.313, allocations: 153.7 kB / 0.8781 GB, free: 27.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004729/1.313, allocations: 0.6202 MB / 0.8787 GB, free: 26.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006521/1.32, allocations: 2.603 MB / 0.8813 GB, free: 23.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009304/1.329, allocations: 7.113 MB / 0.8882 GB, free: 14.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009236/1.338, allocations: 4.193 MB / 0.8923 GB, free: 10.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001188/1.338, allocations: 44 kB / 0.8924 GB, free: 10.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02746/1.366, allocations: 10.48 MB / 0.9026 GB, free: 15.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001354/1.366, allocations: 76 kB / 0.9027 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002472/1.366, allocations: 159.4 kB / 0.9028 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005917/1.372, allocations: 1.27 MB / 0.9041 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01107/1.383, allocations: 1.727 MB / 0.9058 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01679/1.4, allocations: 7.908 MB / 0.9135 GB, free: 4.465 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008229/1.408, allocations: 407.3 kB / 0.9139 GB, free: 4.066 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001593/1.41, allocations: 465.2 kB / 0.9143 GB, free: 3.613 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 723 * Number of states: 0 () * Number of discrete variables: 42 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (915): * Single equations (assignments): 908 * Array equations: 5 * 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 {(2,100.0%) 13,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007353/1.417, allocations: 2.687 MB / 0.9169 GB, free: 0.918 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001391/1.419, allocations: 481.7 kB / 0.9174 GB, free: 452 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01381/1.433, allocations: 4.035 MB / 0.9213 GB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-05/1.433, allocations: 7.969 kB / 0.9213 GB, free: 12.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/1.433, allocations: 4 kB / 0.9213 GB, free: 12.39 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003135/1.436, allocations: 0.8383 MB / 0.9222 GB, free: 11.53 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001566/1.438, allocations: 32 kB / 0.9222 GB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00382/1.441, allocations: 115.8 kB / 0.9223 GB, free: 11.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006084/1.442, allocations: 126 kB / 0.9224 GB, free: 11.26 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01567/1.458, allocations: 4.527 MB / 0.9268 GB, free: 6.754 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01454/1.472, allocations: 5.898 MB / 0.9326 GB, free: 0.832 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.2842/1.757, allocations: 1.479 MB / 0.934 GB, free: 135.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01193/1.769, allocations: 3.714 MB / 0.9377 GB, free: 135.4 MB / 442.7 MB Notification: Performance of Backend: time 1.513e-06/1.769, allocations: 0 / 0.9377 GB, free: 135.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02384/1.792, allocations: 5.2 MB / 0.9428 GB, free: 134.7 MB / 442.7 MB Notification: Performance of SimCode: time 0.04339/1.836, allocations: 14.15 MB / 0.9566 GB, free: 127.6 MB / 442.7 MB Notification: Performance of Templates: time 0.1654/2.001, allocations: 56.78 MB / 1.012 GB, free: 88.52 MB / 442.7 MB