Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 205.4 MB / 222.1 MB, free: 5.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.309/0.309, allocations: 38.03 MB / 308.4 MB, free: 10.5 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006893/0.0006893, allocations: 12.22 kB / 376.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1254, allocations: 57.53 MB / 433.9 MB, free: 5.566 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForcesAndTorques): time 0.2975/0.4229, allocations: 90.97 MB / 0.5126 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04764/0.4706, allocations: 20.1 MB / 0.5322 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02142/0.4921, allocations: 447.8 kB / 0.5327 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01691/0.509, allocations: 4.583 MB / 0.5371 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04349/0.5526, allocations: 12.88 MB / 0.5497 GB, free: 5.352 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005861/0.5584, allocations: 0.9811 MB / 0.5507 GB, free: 4.371 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.04185/0.6003, allocations: 27.76 MB / 0.5778 GB, free: 8.594 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01354/0.6139, allocations: 8.842 MB / 0.5864 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003747/0.6177, allocations: 1.818 MB / 0.5882 GB, free: 13.88 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004027/0.6217, allocations: 2.476 MB / 0.5906 GB, free: 11.39 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00156/0.6233, allocations: 272 kB / 0.5909 GB, free: 11.12 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003315/0.6267, allocations: 1.014 MB / 0.5919 GB, free: 10.11 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003904/0.6306, allocations: 2.985 MB / 0.5948 GB, free: 7.117 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002282/0.6329, allocations: 1.524 MB / 0.5963 GB, free: 5.582 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01092/0.6438, allocations: 10.34 MB / 0.6064 GB, free: 11.22 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.6439, allocations: 0 / 0.6064 GB, free: 11.22 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6439, allocations: 0 / 0.6064 GB, free: 11.22 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003579/0.6442, allocations: 0 / 0.6064 GB, free: 11.22 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.01821/0.6625, allocations: 7.723 MB / 0.6139 GB, free: 3.41 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.6625, allocations: 16.02 kB / 0.6139 GB, free: 3.395 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04381/0.7063, allocations: 8.446 MB / 0.6222 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01166/0.718, allocations: 5.16 MB / 0.6272 GB, free: 5.688 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004169/0.7185, allocations: 455.5 kB / 0.6276 GB, free: 5.242 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001746/0.7203, allocations: 0.5855 MB / 0.6282 GB, free: 4.656 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.409/1.129, allocations: 18.59 MB / 0.6464 GB, free: 140.1 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002685/1.13, allocations: 77.77 kB / 0.6464 GB, free: 140.1 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009552/1.131, allocations: 279 kB / 0.6467 GB, free: 140 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005381/1.136, allocations: 3.538 MB / 0.6502 GB, free: 139.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03323/1.169, allocations: 15.69 MB / 0.6655 GB, free: 134.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1039/1.273, allocations: 70.08 MB / 0.7339 GB, free: 79.15 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02031/1.294, allocations: 8.571 MB / 0.7423 GB, free: 70.42 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02068/1.314, allocations: 11.73 MB / 0.7537 GB, free: 58.58 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.326e-05/1.314, allocations: 81.11 kB / 0.7538 GB, free: 58.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=347): time 5.851e-06/1.314, allocations: 4 kB / 0.7538 GB, free: 58.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=389): time 0.0882/1.403, allocations: 38.34 MB / 0.7913 GB, free: 19.81 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.361e-05/1.403, allocations: 252.9 kB / 0.7915 GB, free: 19.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009089/1.412, allocations: 7.651 MB / 0.799 GB, free: 11.88 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001058/1.413, allocations: 90.33 kB / 0.7991 GB, free: 11.79 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003119/1.416, allocations: 5.26 MB / 0.8042 GB, free: 6.535 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002271/1.418, allocations: 1.441 MB / 0.8056 GB, free: 5.105 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005794/1.419, allocations: 196 kB / 0.8058 GB, free: 4.914 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003903/1.419, allocations: 0.7277 MB / 0.8065 GB, free: 4.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005709/1.425, allocations: 4.209 MB / 0.8106 GB, free: 15.96 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01312/1.438, allocations: 9.772 MB / 0.8202 GB, free: 3.453 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2491/1.687, allocations: 6.293 MB / 0.8263 GB, free: 138.6 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001455/1.688, allocations: 58.45 kB / 0.8264 GB, free: 138.6 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1305) (initialization): time 0.02974/1.717, allocations: 15.4 MB / 0.8414 GB, free: 135.7 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.000142/1.717, allocations: 91.61 kB / 0.8415 GB, free: 135.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003196/1.718, allocations: 195.2 kB / 0.8417 GB, free: 135.7 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004474/1.722, allocations: 1.838 MB / 0.8435 GB, free: 135.4 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008839/1.731, allocations: 2.384 MB / 0.8458 GB, free: 135.1 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01677/1.748, allocations: 12.4 MB / 0.8579 GB, free: 128.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01035/1.758, allocations: 0.5737 MB / 0.8585 GB, free: 128.6 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002393/1.761, allocations: 0.5803 MB / 0.859 GB, free: 128.5 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 890 * Number of states: 0 () * Number of discrete variables: 69 (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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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.groundColor[3],world.groundColor[2],world.groundColor[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 (1223): * Single equations (assignments): 1216 * 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%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01043/1.771, allocations: 3.612 MB / 0.8626 GB, free: 126.9 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002549/1.774, allocations: 0.6477 MB / 0.8632 GB, free: 126.9 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01708/1.791, allocations: 8.443 MB / 0.8714 GB, free: 123.8 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.091e-05/1.791, allocations: 39.81 kB / 0.8715 GB, free: 123.8 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.726e-05/1.791, allocations: 10.19 kB / 0.8715 GB, free: 123.8 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001004/1.791, allocations: 22.66 kB / 0.8715 GB, free: 123.8 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04478/1.836, allocations: 18.64 MB / 0.8897 GB, free: 117.1 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-05/1.836, allocations: 3.906 kB / 0.8897 GB, free: 117.1 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003624/1.84, allocations: 0.7078 MB / 0.8904 GB, free: 117 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004013/1.844, allocations: 1.538 MB / 0.8919 GB, free: 116.3 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009155/1.845, allocations: 74.03 kB / 0.892 GB, free: 116.2 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01393/1.859, allocations: 11.6 MB / 0.9033 GB, free: 106 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.939e-06/1.859, allocations: 8 kB / 0.9033 GB, free: 106 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02079/1.88, allocations: 14.83 MB / 0.9178 GB, free: 91.52 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004777/1.884, allocations: 1.355 MB / 0.9191 GB, free: 90.13 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001523/1.886, allocations: 68 kB / 0.9192 GB, free: 90.07 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004152/1.89, allocations: 260.5 kB / 0.9194 GB, free: 89.81 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007623/1.891, allocations: 238.8 kB / 0.9197 GB, free: 89.58 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002916/1.891, allocations: 107.3 kB / 0.9198 GB, free: 89.48 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.008872/1.9, allocations: 4.956 MB / 0.9246 GB, free: 84.55 MB / 0.4982 GB Notification: Performance of sort global known variables: time 3.817e-06/1.9, allocations: 0 / 0.9246 GB, free: 84.55 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01235/1.912, allocations: 1.906 MB / 0.9265 GB, free: 82.65 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (329): * Single equations (assignments): 324 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001118/1.914, allocations: 246.7 kB / 0.9267 GB, free: 82.41 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.0167/1.93, allocations: 10.27 MB / 0.9367 GB, free: 72.16 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.907e-05/1.93, allocations: 0.75 kB / 0.9367 GB, free: 72.16 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.006556/1.937, allocations: 4.138 MB / 0.9408 GB, free: 68 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006122/1.943, allocations: 0.7784 MB / 0.9415 GB, free: 67.23 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03564/1.979, allocations: 21.04 MB / 0.9621 GB, free: 46.09 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009596/1.988, allocations: 5.647 MB / 0.9676 GB, free: 40.41 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.01/1.999, allocations: 3.338 MB / 0.9709 GB, free: 37.07 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002233/2.001, allocations: 459.3 kB / 0.9713 GB, free: 36.62 MB / 0.4982 GB Notification: Performance of SimCode: time 2.655e-06/2.001, allocations: 0 / 0.9713 GB, free: 36.62 MB / 0.4982 GB Notification: Performance of Templates: time 0.3981/2.399, allocations: 72.25 MB / 1.042 GB, free: 135.1 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1) Environment - environmentSimulation: