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.001494/0.001494, allocations: 114.8 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.002194/0.002195, 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.429/1.429, 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.2176/0.2176, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002553/0.002553, allocations: 75.88 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3361, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForcesAndTorques): time 0.01949/0.3556, allocations: 16.19 MB / 0.5475 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01271/0.3684, allocations: 5.127 MB / 0.5525 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003284/0.3717, allocations: 107.8 kB / 0.5526 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01062/0.3824, allocations: 5.748 MB / 0.5582 GB, free: 6.469 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007463/0.3899, allocations: 2.646 MB / 0.5608 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003154/0.393, allocations: 1.201 MB / 0.562 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01067/0.4037, allocations: 7.194 MB / 0.569 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01106/0.4148, allocations: 7.252 MB / 0.5761 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005465/0.4203, allocations: 2.644 MB / 0.5787 GB, free: 1.406 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006325/0.4267, allocations: 3.548 MB / 0.5821 GB, free: 13.85 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002384/0.4291, allocations: 0.5859 MB / 0.5827 GB, free: 13.26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004814/0.434, allocations: 1.467 MB / 0.5841 GB, free: 11.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00532/0.4393, allocations: 3.312 MB / 0.5874 GB, free: 8.473 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007072/0.4464, allocations: 3.686 MB / 0.591 GB, free: 4.766 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01481/0.4613, allocations: 11.47 MB / 0.6022 GB, free: 9.25 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.4613, allocations: 0 / 0.6022 GB, free: 9.25 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.4613, allocations: 0 / 0.6022 GB, free: 9.25 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004009/0.4617, allocations: 4 kB / 0.6022 GB, free: 9.246 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.02292/0.4846, allocations: 7.955 MB / 0.6099 GB, free: 1.207 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.4847, allocations: 12.02 kB / 0.6099 GB, free: 1.195 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01384/0.4986, allocations: 2.768 MB / 0.6126 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01206/0.5107, allocations: 4.504 MB / 0.617 GB, free: 9.828 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003794/0.5111, allocations: 402.8 kB / 0.6174 GB, free: 9.434 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001964/0.513, allocations: 0.527 MB / 0.6179 GB, free: 8.906 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03097/0.544, allocations: 16.09 MB / 0.6337 GB, free: 7.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002242/0.5443, allocations: 67.38 kB / 0.6337 GB, free: 7.754 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008717/0.5452, allocations: 251.8 kB / 0.634 GB, free: 7.508 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005307/0.5505, allocations: 2.923 MB / 0.6368 GB, free: 4.574 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02888/0.5794, allocations: 13.56 MB / 0.6501 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08284/0.6623, allocations: 62.93 MB / 0.7115 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4998/1.162, allocations: 7.246 MB / 0.7186 GB, free: 161.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005819/1.168, allocations: 4.394 MB / 0.7229 GB, free: 160.3 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0158/1.184, allocations: 10.27 MB / 0.7329 GB, free: 155.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.361e-05/1.184, allocations: 64.56 kB / 0.733 GB, free: 155.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=277): time 6.151e-06/1.184, allocations: 0 / 0.733 GB, free: 155.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=319): time 0.08052/1.264, allocations: 35.03 MB / 0.7672 GB, free: 129.2 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.041e-05/1.265, allocations: 243.9 kB / 0.7674 GB, free: 129 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008322/1.273, allocations: 6.994 MB / 0.7742 GB, free: 122 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0008531/1.274, allocations: 73.7 kB / 0.7743 GB, free: 121.9 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002322/1.276, allocations: 4.657 MB / 0.7789 GB, free: 117.2 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001226/1.277, allocations: 1.202 MB / 0.78 GB, free: 116.1 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002065/1.279, allocations: 1.872 MB / 0.7819 GB, free: 114.2 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.641e-05/1.279, allocations: 305.1 kB / 0.7821 GB, free: 113.9 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004196/1.284, allocations: 3.828 MB / 0.7859 GB, free: 110 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005738/1.289, allocations: 9.022 MB / 0.7947 GB, free: 98.5 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.012/1.301, allocations: 13.81 MB / 0.8082 GB, free: 82.15 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001532/1.302, allocations: 52 kB / 0.8082 GB, free: 82.1 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1199) (initialization): time 0.02279/1.324, allocations: 14.69 MB / 0.8226 GB, free: 67.4 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 8.026e-05/1.325, allocations: 87.98 kB / 0.8227 GB, free: 67.31 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001327/1.325, allocations: 180.7 kB / 0.8228 GB, free: 67.14 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004958/1.33, allocations: 2.296 MB / 0.8251 GB, free: 64.84 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006188/1.336, allocations: 2.121 MB / 0.8271 GB, free: 62.71 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01444/1.35, allocations: 14.45 MB / 0.8413 GB, free: 48 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006934/1.357, allocations: 0.5264 MB / 0.8418 GB, free: 47.47 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001086/1.358, allocations: 0.5312 MB / 0.8423 GB, free: 46.94 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.004371/1.363, allocations: 3.209 MB / 0.8454 GB, free: 43.71 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009127/1.364, allocations: 0.59 MB / 0.846 GB, free: 43.11 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/1.376, allocations: 7.683 MB / 0.8535 GB, free: 35.4 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.894e-05/1.376, allocations: 11.95 kB / 0.8535 GB, free: 35.39 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.906e-06/1.376, allocations: 3.984 kB / 0.8535 GB, free: 35.39 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001637/1.377, allocations: 0.6534 MB / 0.8542 GB, free: 34.71 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001238/1.379, allocations: 55.94 kB / 0.8542 GB, free: 34.65 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002667/1.381, allocations: 219.7 kB / 0.8544 GB, free: 34.44 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004913/1.382, allocations: 214 kB / 0.8546 GB, free: 34.23 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01281/1.395, allocations: 8.078 MB / 0.8625 GB, free: 26.2 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01053/1.405, allocations: 10.22 MB / 0.8725 GB, free: 15.91 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00288/1.408, allocations: 2.778 MB / 0.8752 GB, free: 13.12 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005741/1.414, allocations: 4.462 MB / 0.8796 GB, free: 8.68 MB / 0.5607 GB Notification: Performance of Backend: time 2.01e-07/1.414, allocations: 0 / 0.8796 GB, free: 8.68 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01203/1.426, allocations: 7.081 MB / 0.8865 GB, free: 1.637 MB / 0.5607 GB Notification: Performance of SimCode: time 0.02504/1.451, allocations: 14.84 MB / 0.901 GB, free: 2.77 MB / 0.5763 GB Notification: Performance of Templates: time 0.3888/1.84, allocations: 80.23 MB / 0.9793 GB, free: 199.7 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)