Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque3.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.Torque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004141/0.004141, allocations: 367.8 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 3.885/3.885, allocations: 388.9 MB / 405.6 MB, free: 10.33 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.004754/0.004754, allocations: 234 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.5675/0.5675, allocations: 80.01 MB / 0.5627 GB, free: 19.86 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004666/0.0004668, allocations: 16 kB / 0.6265 GB, free: 96.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09551/0.096, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque3): time 0.5121/0.6081, allocations: 152.4 MB / 0.8289 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.09106/0.6992, allocations: 29.32 MB / 0.8576 GB, free: 3.566 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03307/0.7324, allocations: 0.6976 MB / 0.8583 GB, free: 2.867 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0319/0.7643, allocations: 7.524 MB / 0.8656 GB, free: 11.3 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.09811/0.8625, allocations: 25.07 MB / 0.8901 GB, free: 2.133 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01249/0.8751, allocations: 1.572 MB / 0.8916 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.519/1.394, allocations: 57.74 MB / 0.948 GB, free: 20.49 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02945/1.424, allocations: 14.72 MB / 0.9624 GB, free: 17.87 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008362/1.432, allocations: 3.449 MB / 0.9657 GB, free: 16.84 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01173/1.444, allocations: 5.732 MB / 0.9713 GB, free: 12.83 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003333/1.447, allocations: 432 kB / 0.9718 GB, free: 12.41 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006462/1.454, allocations: 1.209 MB / 0.9729 GB, free: 11.38 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00843/1.462, allocations: 5.034 MB / 0.9779 GB, free: 7.742 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005073/1.467, allocations: 2.332 MB / 0.9801 GB, free: 6.953 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02401/1.491, allocations: 15.83 MB / 0.9956 GB, free: 9.234 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/1.491, allocations: 1.625 kB / 0.9956 GB, free: 9.234 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.545e-06/1.492, allocations: 3.281 kB / 0.9956 GB, free: 9.234 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0007278/1.492, allocations: 0 / 0.9956 GB, free: 9.234 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4184 * Number of variables: 4184 Notification: Performance of Generate backend data structure: time 0.04712/1.539, allocations: 12.07 MB / 1.007 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/1.539, allocations: 8.031 kB / 1.007 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04352/1.583, allocations: 4.985 MB / 1.012 GB, free: 9.441 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02666/1.61, allocations: 7.859 MB / 1.02 GB, free: 3.887 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009236/1.611, allocations: 0.7081 MB / 1.021 GB, free: 3.492 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004952/1.616, allocations: 0.9513 MB / 1.022 GB, free: 2.867 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08703/1.703, allocations: 28.59 MB / 1.049 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006826/1.703, allocations: 109 kB / 1.05 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004537/1.708, allocations: 447.3 kB / 1.05 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01207/1.72, allocations: 4.733 MB / 1.055 GB, free: 9.078 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08431/1.805, allocations: 24.34 MB / 1.078 GB, free: 8.086 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8965/2.701, allocations: 103.8 MB / 1.18 GB, free: 199.7 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06612/2.767, allocations: 14.46 MB / 1.194 GB, free: 199 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02448/2.792, allocations: 8.56 MB / 1.202 GB, free: 195.9 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004783/2.797, allocations: 2.354 MB / 1.205 GB, free: 193.8 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00013/2.797, allocations: 94.47 kB / 1.205 GB, free: 193.7 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=559): time 1.615e-05/2.797, allocations: 3.719 kB / 1.205 GB, free: 193.7 MB / 0.5887 GB Notification: Performance of matching and sorting (n=643): time 0.3673/3.164, allocations: 69.22 MB / 1.272 GB, free: 135.2 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/3.164, allocations: 329.3 kB / 1.273 GB, free: 134.8 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02814/3.192, allocations: 10.19 MB / 1.283 GB, free: 124.7 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.002482/3.195, allocations: 126.5 kB / 1.283 GB, free: 124.5 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.008796/3.204, allocations: 7.601 MB / 1.29 GB, free: 117 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.004498/3.208, allocations: 2.358 MB / 1.292 GB, free: 114.6 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003244/3.212, allocations: 296 kB / 1.293 GB, free: 114.3 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.001166/3.213, allocations: 0.9342 MB / 1.294 GB, free: 113.4 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01869/3.232, allocations: 7.095 MB / 1.301 GB, free: 106.3 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02382/3.255, allocations: 14.72 MB / 1.315 GB, free: 88.19 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02344/3.279, allocations: 10.01 MB / 1.325 GB, free: 78.25 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002457/3.279, allocations: 76 kB / 1.325 GB, free: 78.18 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1929) (initialization): time 0.0749/3.354, allocations: 25.8 MB / 1.35 GB, free: 52.32 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001737/3.354, allocations: 120 kB / 1.35 GB, free: 52.2 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003546/3.355, allocations: 260.9 kB / 1.35 GB, free: 51.95 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01993/3.375, allocations: 4.485 MB / 1.355 GB, free: 47.45 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02469/3.399, allocations: 3.529 MB / 1.358 GB, free: 43.91 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05509/3.455, allocations: 26.8 MB / 1.384 GB, free: 16.6 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01937/3.474, allocations: 0.8973 MB / 1.385 GB, free: 15.7 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003843/3.478, allocations: 0.8241 MB / 1.386 GB, free: 14.88 MB / 0.5887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1193 * Number of states: 0 () * Number of discrete variables: 105 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1809): * Single equations (assignments): 1802 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01606/3.494, allocations: 5.33 MB / 1.391 GB, free: 9.52 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003913/3.498, allocations: 0.9295 MB / 1.392 GB, free: 8.578 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4305/3.929, allocations: 16.5 MB / 1.408 GB, free: 235.1 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002667/3.929, allocations: 31.62 kB / 1.408 GB, free: 235.1 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.27e-05/3.929, allocations: 2.188 kB / 1.408 GB, free: 235.1 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009018/3.938, allocations: 2.128 MB / 1.41 GB, free: 235 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005355/3.943, allocations: 108.6 kB / 1.41 GB, free: 235 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01231/3.956, allocations: 0.5092 MB / 1.411 GB, free: 235 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003226/3.959, allocations: 434.1 kB / 1.411 GB, free: 235 MB / 0.5887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06271/4.022, allocations: 16.31 MB / 1.427 GB, free: 231.5 MB / 0.5887 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.05552/4.077, allocations: 20.91 MB / 1.448 GB, free: 223.6 MB / 0.5887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01376/4.091, allocations: 5.936 MB / 1.453 GB, free: 221.3 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.01683/4.108, allocations: 6.473 MB / 1.46 GB, free: 218.5 MB / 0.5887 GB Notification: Performance of Backend: time 1.403e-06/4.108, allocations: 3.25 kB / 1.46 GB, free: 218.5 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 0.04037/4.148, allocations: 12.48 MB / 1.472 GB, free: 206.7 MB / 0.5887 GB Notification: Performance of SimCode: time 0.07238/4.221, allocations: 30.19 MB / 1.501 GB, free: 176.9 MB / 0.5887 GB Notification: Performance of Templates: time 0.9358/5.157, allocations: 141.3 MB / 1.639 GB, free: 235.5 MB / 0.5887 GB