Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.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.Forces.Worldtorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005716/0.005724, allocations: 363.1 kB / 15.95 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.297/4.297, allocations: 388.9 MB / 405.6 MB, free: 9.578 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.004825/0.004824, allocations: 234.6 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.5528/0.5528, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000495/0.0004954, allocations: 15.98 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1094, allocations: 54.85 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5441/0.6536, allocations: 99.77 MB / 0.7775 GB, free: 1.773 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/0.654, allocations: 79.53 kB / 0.7776 GB, free: 1.734 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9531/1.607, allocations: 141.7 MB / 0.9159 GB, free: 86.9 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.616e-06/1.607, allocations: 0 / 0.9159 GB, free: 86.9 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005984/1.608, allocations: 139.2 kB / 0.9161 GB, free: 86.89 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2470 * Number of variables: 2470 Notification: Performance of Generate backend data structure: time 0.03394/1.642, allocations: 7.314 MB / 0.9232 GB, free: 83.92 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/1.642, allocations: 12.52 kB / 0.9232 GB, free: 83.92 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05617/1.698, allocations: 7.062 MB / 0.9301 GB, free: 83.43 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0252/1.723, allocations: 7.544 MB / 0.9375 GB, free: 82.52 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007213/1.724, allocations: 0.5259 MB / 0.938 GB, free: 82.5 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00424/1.728, allocations: 0.7041 MB / 0.9387 GB, free: 82.49 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06069/1.789, allocations: 16.58 MB / 0.9549 GB, free: 78.45 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006755/1.79, allocations: 102.2 kB / 0.955 GB, free: 78.44 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003963/1.794, allocations: 344.5 kB / 0.9553 GB, free: 78.44 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003656/1.797, allocations: 1.528 MB / 0.9568 GB, free: 78.41 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04238/1.84, allocations: 13.2 MB / 0.9697 GB, free: 75.59 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1157/1.956, allocations: 72.46 MB / 1.04 GB, free: 16.44 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02402/1.98, allocations: 5.931 MB / 1.046 GB, free: 11.44 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00702/1.987, allocations: 3.128 MB / 1.049 GB, free: 8.652 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003178/1.987, allocations: 46.75 kB / 1.049 GB, free: 8.625 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.29e-05/1.987, allocations: 68.06 kB / 1.049 GB, free: 8.551 MB / 474.7 MB Notification: Performance of pre-optimization done (n=249): time 8.105e-06/1.987, allocations: 0 / 1.049 GB, free: 8.551 MB / 474.7 MB Notification: Performance of matching and sorting (n=267): time 0.1109/2.098, allocations: 23.2 MB / 1.072 GB, free: 2.902 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002231/2.098, allocations: 261.2 kB / 1.072 GB, free: 2.586 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3902/2.489, allocations: 6.94 MB / 1.079 GB, free: 95.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007558/2.49, allocations: 66.05 kB / 1.079 GB, free: 95.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006396/2.496, allocations: 5.052 MB / 1.084 GB, free: 94.39 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002013/2.498, allocations: 1.025 MB / 1.085 GB, free: 93.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001624/2.5, allocations: 174.4 kB / 1.085 GB, free: 93.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001043/2.501, allocations: 0.6715 MB / 1.086 GB, free: 93.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01004/2.511, allocations: 2.971 MB / 1.089 GB, free: 93.58 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0136/2.525, allocations: 8.251 MB / 1.097 GB, free: 86.79 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01334/2.538, allocations: 4.823 MB / 1.102 GB, free: 86.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002986/2.538, allocations: 53.41 kB / 1.102 GB, free: 86.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.03222/2.571, allocations: 11.55 MB / 1.113 GB, free: 85.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001511/2.571, allocations: 90 kB / 1.113 GB, free: 85.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002654/2.571, allocations: 189.1 kB / 1.113 GB, free: 85.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003254/2.574, allocations: 0.8433 MB / 1.114 GB, free: 85.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0128/2.587, allocations: 1.987 MB / 1.116 GB, free: 85.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01331/2.6, allocations: 8.514 MB / 1.124 GB, free: 81.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01062/2.611, allocations: 474.5 kB / 1.125 GB, free: 81.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002143/2.613, allocations: 0.5152 MB / 1.125 GB, free: 81.43 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 849 * Number of states: 0 () * Number of discrete variables: 54 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (1056): * Single equations (assignments): 1050 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009265/2.623, allocations: 3.311 MB / 1.128 GB, free: 80.01 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001664/2.624, allocations: 0.5899 MB / 1.129 GB, free: 79.69 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01343/2.638, allocations: 4.553 MB / 1.133 GB, free: 77.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.386e-05/2.638, allocations: 33.72 kB / 1.134 GB, free: 77.94 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-05/2.638, allocations: 7.125 kB / 1.134 GB, free: 77.94 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.664e-05/2.638, allocations: 13.06 kB / 1.134 GB, free: 77.94 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0334/2.671, allocations: 11.7 MB / 1.145 GB, free: 73.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.619e-05/2.671, allocations: 6.438 kB / 1.145 GB, free: 73.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004481/2.676, allocations: 445.3 kB / 1.145 GB, free: 73.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002741/2.679, allocations: 0.5252 MB / 1.146 GB, free: 73.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005822/2.679, allocations: 49.41 kB / 1.146 GB, free: 73.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01114/2.691, allocations: 7.591 MB / 1.153 GB, free: 67.87 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/2.691, allocations: 0 / 1.153 GB, free: 67.87 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02/2.711, allocations: 7.876 MB / 1.161 GB, free: 64.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004151/2.715, allocations: 1.014 MB / 1.162 GB, free: 63.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0023/2.717, allocations: 43.16 kB / 1.162 GB, free: 63.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005574/2.723, allocations: 149.1 kB / 1.162 GB, free: 63.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001036/2.724, allocations: 160.9 kB / 1.162 GB, free: 63.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003349/2.724, allocations: 70.88 kB / 1.162 GB, free: 63.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01253/2.737, allocations: 4.421 MB / 1.167 GB, free: 62.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.132e-06/2.737, allocations: 0.6562 kB / 1.167 GB, free: 62.34 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01218/2.749, allocations: 1.565 MB / 1.168 GB, free: 62.16 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 213 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001101/2.75, allocations: 191.1 kB / 1.168 GB, free: 62.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01986/2.77, allocations: 7.477 MB / 1.176 GB, free: 59.27 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/2.77, allocations: 9.344 kB / 1.176 GB, free: 59.26 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006163/2.776, allocations: 2.551 MB / 1.178 GB, free: 57.57 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009901/2.786, allocations: 0.8046 MB / 1.179 GB, free: 56.89 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0431/2.829, allocations: 17.72 MB / 1.196 GB, free: 40.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01331/2.843, allocations: 5.201 MB / 1.201 GB, free: 36.86 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01411/2.857, allocations: 2.809 MB / 1.204 GB, free: 35.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002786/2.86, allocations: 392.5 kB / 1.205 GB, free: 34.69 MB / 490.7 MB Notification: Performance of SimCode: time 1.944e-06/2.86, allocations: 0 / 1.205 GB, free: 34.69 MB / 490.7 MB Notification: Performance of Templates: time 0.5505/3.41, allocations: 55.77 MB / 1.259 GB, free: 97.38 MB / 0.4949 GB