Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.ForcesAndTorques,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",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,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",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001053/0.001053, allocations: 114.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001156/0.001156, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.209/0.209, allocations: 46.1 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 75.88 kB / 482 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3248, allocations: 62.44 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForcesAndTorques): time 0.01647/0.3413, allocations: 16.19 MB / 0.5475 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00995/0.3512, allocations: 5.121 MB / 0.5525 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002521/0.3538, allocations: 111.7 kB / 0.5526 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009518/0.3633, allocations: 5.736 MB / 0.5582 GB, free: 6.461 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006697/0.3701, allocations: 2.582 MB / 0.5607 GB, free: 3.871 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002995/0.3731, allocations: 1.201 MB / 0.5619 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009893/0.383, allocations: 7.187 MB / 0.5689 GB, free: 11.46 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008326/0.3913, allocations: 7.256 MB / 0.576 GB, free: 4.117 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003727/0.3951, allocations: 2.648 MB / 0.5786 GB, free: 1.461 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004738/0.3998, allocations: 3.548 MB / 0.582 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001645/0.4015, allocations: 0.5859 MB / 0.5826 GB, free: 13.31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003361/0.4049, allocations: 1.471 MB / 0.584 GB, free: 11.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003478/0.4084, allocations: 3.301 MB / 0.5873 GB, free: 8.535 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004945/0.4133, allocations: 3.69 MB / 0.5909 GB, free: 4.824 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01198/0.4253, allocations: 11.47 MB / 0.6021 GB, free: 9.309 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.4253, allocations: 3.984 kB / 0.6021 GB, free: 9.305 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4254, allocations: 0 / 0.6021 GB, free: 9.305 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002825/0.4256, allocations: 0 / 0.6021 GB, free: 9.305 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2371 * Number of variables: 2371 Notification: Performance of Generate backend data structure: time 0.01642/0.4421, allocations: 7.955 MB / 0.6099 GB, free: 1.266 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.4421, allocations: 12.03 kB / 0.6099 GB, free: 1.254 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01131/0.4535, allocations: 2.776 MB / 0.6126 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008911/0.4624, allocations: 4.496 MB / 0.617 GB, free: 9.887 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003064/0.4627, allocations: 406.7 kB / 0.6174 GB, free: 9.488 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001366/0.4641, allocations: 0.5348 MB / 0.6179 GB, free: 8.953 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02714/0.4912, allocations: 16.08 MB / 0.6336 GB, free: 7.875 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003515/0.4916, allocations: 71.31 kB / 0.6336 GB, free: 7.805 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001679/0.4933, allocations: 251.8 kB / 0.6339 GB, free: 7.559 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008094/0.5014, allocations: 2.919 MB / 0.6367 GB, free: 4.629 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04241/0.5439, allocations: 13.55 MB / 0.65 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07855/0.6225, allocations: 62.93 MB / 0.7114 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4575/1.08, allocations: 7.26 MB / 0.7185 GB, free: 161.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005221/1.085, allocations: 4.396 MB / 0.7228 GB, free: 160.2 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01287/1.098, allocations: 10.26 MB / 0.7328 GB, free: 155.6 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/1.098, allocations: 70.56 kB / 0.7329 GB, free: 155.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=277): time 5.18e-06/1.098, allocations: 0 / 0.7329 GB, free: 155.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=319): time 0.1043/1.203, allocations: 35.02 MB / 0.7671 GB, free: 129.3 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/1.203, allocations: 239.9 kB / 0.7673 GB, free: 129 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01099/1.214, allocations: 6.998 MB / 0.7742 GB, free: 122 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0006686/1.214, allocations: 73.7 kB / 0.7742 GB, free: 121.9 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002655/1.217, allocations: 4.658 MB / 0.7788 GB, free: 117.3 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001759/1.219, allocations: 1.204 MB / 0.7799 GB, free: 116.1 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004472/1.223, allocations: 1.872 MB / 0.7818 GB, free: 114.2 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.37e-05/1.223, allocations: 309 kB / 0.7821 GB, free: 113.9 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007168/1.231, allocations: 3.832 MB / 0.7858 GB, free: 110.1 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009708/1.24, allocations: 9.015 MB / 0.7946 GB, free: 98.55 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01272/1.253, allocations: 13.81 MB / 0.8081 GB, free: 82.2 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001544/1.253, allocations: 52 kB / 0.8082 GB, free: 82.15 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1199) (initialization): time 0.02252/1.276, allocations: 14.69 MB / 0.8225 GB, free: 67.45 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001427/1.276, allocations: 84 kB / 0.8226 GB, free: 67.37 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000187/1.276, allocations: 187.3 kB / 0.8228 GB, free: 67.19 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004975/1.281, allocations: 2.296 MB / 0.825 GB, free: 64.88 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00627/1.287, allocations: 2.125 MB / 0.8271 GB, free: 62.75 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01438/1.302, allocations: 14.44 MB / 0.8412 GB, free: 48.05 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006971/1.309, allocations: 0.5226 MB / 0.8417 GB, free: 47.52 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002031/1.311, allocations: 0.5339 MB / 0.8422 GB, free: 46.99 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 824 * Number of states: 0 () * Number of discrete variables: 77 (forceAndTorque2.torqueArrow.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.forceArrow.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,forceAndTorque1.torqueArrow.twoHeadedArrow,forceAndTorque1.torqueArrow.headAtOrigin,forceAndTorque1.forceArrow.twoHeadedArrow,forceAndTorque1.forceArrow.headAtOrigin,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 (1117): * Single equations (assignments): 1110 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.005377/1.316, allocations: 3.218 MB / 0.8453 GB, free: 43.75 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001289/1.318, allocations: 0.5862 MB / 0.8459 GB, free: 43.16 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/1.33, allocations: 7.691 MB / 0.8534 GB, free: 35.45 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.251e-05/1.331, allocations: 15.94 kB / 0.8534 GB, free: 35.43 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.395e-06/1.331, allocations: 0 / 0.8534 GB, free: 35.43 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001474/1.332, allocations: 0.6573 MB / 0.8541 GB, free: 34.75 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001373/1.333, allocations: 48 kB / 0.8541 GB, free: 34.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00293/1.336, allocations: 219.6 kB / 0.8543 GB, free: 34.49 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006073/1.337, allocations: 210 kB / 0.8545 GB, free: 34.28 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01304/1.35, allocations: 8.073 MB / 0.8624 GB, free: 26.25 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01083/1.361, allocations: 10.22 MB / 0.8724 GB, free: 15.96 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002777/1.364, allocations: 2.786 MB / 0.8751 GB, free: 13.18 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.006482/1.37, allocations: 4.458 MB / 0.8795 GB, free: 8.734 MB / 0.5607 GB Notification: Performance of Backend: time 3e-07/1.37, allocations: 0 / 0.8795 GB, free: 8.734 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01229/1.382, allocations: 7.078 MB / 0.8864 GB, free: 1.691 MB / 0.5607 GB Notification: Performance of SimCode: time 0.02334/1.406, allocations: 14.84 MB / 0.9009 GB, free: 2.824 MB / 0.5763 GB Notification: Performance of Templates: time 0.368/1.774, allocations: 80.93 MB / 0.9799 GB, free: 199.2 MB / 0.6232 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1)