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.001145/0.001145, allocations: 111.6 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001321/0.001321, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2134/0.2134, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 79.88 kB / 482 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3561, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque3): time 0.03989/0.396, allocations: 24.2 MB / 0.5553 GB, free: 9.418 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02199/0.418, allocations: 6.816 MB / 0.562 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005663/0.4237, allocations: 171.6 kB / 0.5621 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01804/0.4418, allocations: 9.591 MB / 0.5715 GB, free: 8.789 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01159/0.4535, allocations: 3.573 MB / 0.575 GB, free: 5.203 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005034/0.4585, allocations: 1.927 MB / 0.5769 GB, free: 3.273 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01674/0.4753, allocations: 11.83 MB / 0.5884 GB, free: 7.414 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01549/0.4908, allocations: 11.26 MB / 0.5994 GB, free: 12.05 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008118/0.499, allocations: 4.245 MB / 0.6036 GB, free: 7.793 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009781/0.5088, allocations: 5.749 MB / 0.6092 GB, free: 2.027 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004494/0.5133, allocations: 0.9688 MB / 0.6101 GB, free: 1.059 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006563/0.5199, allocations: 1.827 MB / 0.6119 GB, free: 15.23 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007426/0.5274, allocations: 5.269 MB / 0.6171 GB, free: 9.949 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01136/0.5388, allocations: 5.816 MB / 0.6227 GB, free: 4.102 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02346/0.5623, allocations: 17.61 MB / 0.6399 GB, free: 2.438 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.5623, allocations: 0 / 0.6399 GB, free: 2.438 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.5623, allocations: 4 kB / 0.6399 GB, free: 2.434 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0007008/0.563, allocations: 0 / 0.6399 GB, free: 2.434 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.03371/0.5968, allocations: 12.37 MB / 0.652 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.5968, allocations: 8.031 kB / 0.652 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01954/0.6164, allocations: 3.89 MB / 0.6558 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01705/0.6335, allocations: 7.303 MB / 0.663 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005774/0.6341, allocations: 0.6379 MB / 0.6636 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003041/0.6371, allocations: 0.8589 MB / 0.6644 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05145/0.6886, allocations: 24.13 MB / 0.688 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005097/0.6891, allocations: 107 kB / 0.6881 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00268/0.6918, allocations: 399.7 kB / 0.6885 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007551/0.6994, allocations: 4.213 MB / 0.6926 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04355/0.743, allocations: 20.57 MB / 0.7127 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5862/1.329, allocations: 92.44 MB / 0.8029 GB, free: 81.73 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02725/1.357, allocations: 11.97 MB / 0.8146 GB, free: 69.6 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00725/1.364, allocations: 7.618 MB / 0.8221 GB, free: 61.98 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001987/1.366, allocations: 2.325 MB / 0.8243 GB, free: 59.3 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.034e-05/1.366, allocations: 92.47 kB / 0.8244 GB, free: 59.2 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=443): time 8.877e-06/1.366, allocations: 0 / 0.8244 GB, free: 59.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=527): time 0.1522/1.518, allocations: 60.98 MB / 0.884 GB, free: 13.95 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002436/1.518, allocations: 317 kB / 0.8843 GB, free: 13.57 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02044/1.539, allocations: 9.614 MB / 0.8937 GB, free: 4 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001326/1.54, allocations: 111.3 kB / 0.8938 GB, free: 3.887 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.007014/1.547, allocations: 6.75 MB / 0.9004 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.003163/1.55, allocations: 1.947 MB / 0.9023 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006811/1.557, allocations: 2.684 MB / 0.9049 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001911/1.558, allocations: 305.1 kB / 0.9052 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01014/1.568, allocations: 6.178 MB / 0.9112 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01542/1.583, allocations: 13.1 MB / 0.924 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0261/1.609, allocations: 20.64 MB / 0.9442 GB, free: 9.383 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001854/1.609, allocations: 71.94 kB / 0.9442 GB, free: 9.312 MB / 0.6388 GB Notification: Performance of matching and sorting (n=1706) (initialization): time 0.04456/1.654, allocations: 23.19 MB / 0.9669 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001465/1.654, allocations: 110.3 kB / 0.967 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000258/1.654, allocations: 240 kB / 0.9672 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2794/1.934, allocations: 4.417 MB / 0.9715 GB, free: 221 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01081/1.945, allocations: 3.051 MB / 0.9745 GB, free: 221 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0301/1.975, allocations: 28.63 MB / 1.002 GB, free: 208.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01089/1.986, allocations: 0.794 MB / 1.003 GB, free: 208 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00244/1.988, allocations: 0.7417 MB / 1.004 GB, free: 207.9 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.00867/1.997, allocations: 4.697 MB / 1.009 GB, free: 205.9 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00238/1.999, allocations: 0.8492 MB / 1.009 GB, free: 205.9 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02383/2.023, allocations: 14.28 MB / 1.023 GB, free: 198 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.962e-05/2.023, allocations: 23.91 kB / 1.023 GB, free: 198 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/2.023, allocations: 0 / 1.023 GB, free: 198 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001947/2.025, allocations: 0.9123 MB / 1.024 GB, free: 197.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001482/2.027, allocations: 88 kB / 1.024 GB, free: 197.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003884/2.031, allocations: 419.3 kB / 1.025 GB, free: 197.1 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008766/2.032, allocations: 374.2 kB / 1.025 GB, free: 196.7 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02167/2.053, allocations: 14.38 MB / 1.039 GB, free: 182.5 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01924/2.072, allocations: 17.67 MB / 1.056 GB, free: 165 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005473/2.078, allocations: 4.986 MB / 1.061 GB, free: 160 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00916/2.087, allocations: 6.126 MB / 1.067 GB, free: 153.9 MB / 0.6544 GB Notification: Performance of Backend: time 7.61e-07/2.087, allocations: 0 / 1.067 GB, free: 153.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01848/2.106, allocations: 11.11 MB / 1.078 GB, free: 142.9 MB / 0.6544 GB Notification: Performance of SimCode: time 0.03345/2.139, allocations: 22.76 MB / 1.1 GB, free: 120.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.4497/2.589, allocations: 131.3 MB / 1.229 GB, free: 218.6 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)