Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_ModelicaTest.MultiBody.Forces.Torque3") 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_trunk_ModelicaTest.MultiBody.Forces.Torque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001764/0.001764, allocations: 114.8 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002517/0.002517, allocations: 208 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.636/2.636, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4176/0.4176, allocations: 46.11 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003109/0.003109, allocations: 71.88 kB / 482 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5867/0.5899, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque3): time 0.04801/0.6379, allocations: 24.19 MB / 0.5553 GB, free: 9.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02665/0.6646, allocations: 6.814 MB / 0.562 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008918/0.6736, allocations: 175.5 kB / 0.5621 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03111/0.7048, allocations: 9.587 MB / 0.5715 GB, free: 8.801 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01766/0.7226, allocations: 3.711 MB / 0.5751 GB, free: 5.074 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009012/0.7317, allocations: 1.919 MB / 0.577 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02836/0.7601, allocations: 11.84 MB / 0.5886 GB, free: 7.289 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02527/0.7854, allocations: 11.25 MB / 0.5996 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01126/0.7967, allocations: 4.253 MB / 0.6037 GB, free: 7.668 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01507/0.8118, allocations: 5.753 MB / 0.6093 GB, free: 1.898 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005728/0.8176, allocations: 0.9688 MB / 0.6103 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009919/0.8276, allocations: 1.819 MB / 0.612 GB, free: 15.11 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01196/0.8396, allocations: 5.269 MB / 0.6172 GB, free: 9.828 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0182/0.8579, allocations: 5.816 MB / 0.6229 GB, free: 3.98 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04474/0.9027, allocations: 17.67 MB / 0.6401 GB, free: 2.238 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.656e-05/0.9028, allocations: 4 kB / 0.6401 GB, free: 2.234 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.9028, allocations: 4 kB / 0.6401 GB, free: 2.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0008361/0.9036, allocations: 0 / 0.6401 GB, free: 2.23 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3565 * Number of variables: 3565 Notification: Performance of Generate backend data structure: time 0.06074/0.9644, allocations: 12.69 MB / 0.6525 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 8.166e-05/0.9645, allocations: 8.031 kB / 0.6525 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03975/1.004, allocations: 3.956 MB / 0.6564 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02957/1.034, allocations: 7.333 MB / 0.6636 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001138/1.035, allocations: 0.6379 MB / 0.6642 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005518/1.041, allocations: 0.8629 MB / 0.665 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1202/1.161, allocations: 24.13 MB / 0.6886 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008699/1.162, allocations: 103.2 kB / 0.6887 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0049/1.167, allocations: 395.7 kB / 0.6891 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0157/1.183, allocations: 4.213 MB / 0.6932 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.082/1.265, allocations: 20.58 MB / 0.7133 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.202/2.466, allocations: 92.62 MB / 0.8037 GB, free: 80.74 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04938/2.516, allocations: 11.96 MB / 0.8154 GB, free: 68.62 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01501/2.531, allocations: 7.619 MB / 0.8229 GB, free: 61 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004633/2.536, allocations: 2.338 MB / 0.8251 GB, free: 58.31 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001909/2.536, allocations: 84.53 kB / 0.8252 GB, free: 58.22 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=443): time 2.017e-05/2.536, allocations: 0 / 0.8252 GB, free: 58.22 MB / 0.5607 GB Notification: Performance of matching and sorting (n=527): time 0.2875/2.823, allocations: 61.65 MB / 0.8854 GB, free: 12.84 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004159/2.824, allocations: 313.1 kB / 0.8857 GB, free: 12.46 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03905/2.863, allocations: 9.64 MB / 0.8951 GB, free: 3.016 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.002507/2.866, allocations: 105.7 kB / 0.8952 GB, free: 2.906 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0123/2.878, allocations: 6.992 MB / 0.9021 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.005738/2.884, allocations: 2.042 MB / 0.9041 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01794/2.902, allocations: 2.702 MB / 0.9067 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002053/2.902, allocations: 301.1 kB / 0.907 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03082/2.933, allocations: 6.182 MB / 0.913 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03299/2.966, allocations: 13.1 MB / 0.9258 GB, free: 0.6406 MB / 0.6076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04751/3.014, allocations: 20.64 MB / 0.946 GB, free: 8.605 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004634/3.014, allocations: 68 kB / 0.946 GB, free: 8.539 MB / 0.6388 GB Notification: Performance of matching and sorting (n=1706) (initialization): time 0.08553/3.1, allocations: 23.25 MB / 0.9687 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003329/3.1, allocations: 108 kB / 0.9688 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005835/3.101, allocations: 236 kB / 0.9691 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6568/3.757, allocations: 4.421 MB / 0.9734 GB, free: 220.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02153/3.779, allocations: 3.053 MB / 0.9764 GB, free: 220.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05543/3.835, allocations: 28.66 MB / 1.004 GB, free: 207.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02292/3.858, allocations: 0.786 MB / 1.005 GB, free: 207.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004966/3.863, allocations: 0.7435 MB / 1.006 GB, free: 207.5 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1090 * Number of states: 0 () * Number of discrete variables: 120 (torque4.torqueArrow.twoHeadedArrow,torque4.torqueArrow.headAtOrigin,torque4.forceArrow.twoHeadedArrow,torque4.forceArrow.headAtOrigin,torque3.torqueArrow.twoHeadedArrow,torque3.torqueArrow.headAtOrigin,torque3.forceArrow.twoHeadedArrow,torque3.forceArrow.headAtOrigin,torque2.torqueArrow.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque1.torqueArrow.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,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.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 (1586): * Single equations (assignments): 1579 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,23,100.0%), (2,23,100.0%), (2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01985/3.883, allocations: 4.691 MB / 1.01 GB, free: 205.6 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006102/3.889, allocations: 0.8952 MB / 1.011 GB, free: 205.6 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.055/3.944, allocations: 14.27 MB / 1.025 GB, free: 197.4 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002322/3.944, allocations: 27.91 kB / 1.025 GB, free: 197.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.166e-05/3.944, allocations: 0 / 1.025 GB, free: 197.4 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00495/3.949, allocations: 0.9611 MB / 1.026 GB, free: 196.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005788/3.955, allocations: 91.31 kB / 1.026 GB, free: 196.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01252/3.967, allocations: 419.4 kB / 1.027 GB, free: 196.4 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003315/3.971, allocations: 375.4 kB / 1.027 GB, free: 196 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04877/4.02, allocations: 14.38 MB / 1.041 GB, free: 181.9 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0449/4.065, allocations: 17.72 MB / 1.058 GB, free: 164.4 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01143/4.077, allocations: 4.982 MB / 1.063 GB, free: 159.4 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.02029/4.097, allocations: 6.126 MB / 1.069 GB, free: 153.3 MB / 0.6544 GB Notification: Performance of Backend: time 5.661e-06/4.097, allocations: 0 / 1.069 GB, free: 153.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0437/4.141, allocations: 11.13 MB / 1.08 GB, free: 142.3 MB / 0.6544 GB Notification: Performance of SimCode: time 0.07156/4.212, allocations: 23.13 MB / 1.103 GB, free: 119.1 MB / 0.6544 GB Notification: Performance of Templates: time 1.125/5.337, allocations: 129.7 MB / 1.229 GB, free: 218.3 MB / 0.6544 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.pipe 2>&1)