Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008305/0.0008307, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0008805/0.0008805, allocations: 172.7 kB / 15.95 MB, free: 208 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.338/1.338, allocations: 205.4 MB / 222.1 MB, free: 5.496 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.2813/0.2813, allocations: 38.03 MB / 308.4 MB, free: 10.43 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.0005752/0.0005753, allocations: 23.97 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09701/0.0976, allocations: 57.52 MB / 434 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.2354/0.3331, allocations: 66.87 MB / 0.4891 GB, free: 13.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02587/0.359, allocations: 13.87 MB / 0.5026 GB, free: 4.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01059/0.3696, allocations: 314.8 kB / 0.5029 GB, free: 4.469 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008805/0.3784, allocations: 3.5 MB / 0.5064 GB, free: 3.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02965/0.4081, allocations: 10.34 MB / 0.5165 GB, free: 14.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0042/0.4123, allocations: 0.7876 MB / 0.5172 GB, free: 14.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04325/0.4556, allocations: 35.13 MB / 0.5515 GB, free: 3.953 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009373/0.465, allocations: 5.739 MB / 0.5571 GB, free: 14.17 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003172/0.4682, allocations: 1.724 MB / 0.5588 GB, free: 12.44 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003512/0.4718, allocations: 2.695 MB / 0.5614 GB, free: 9.734 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006881/0.4725, allocations: 195.9 kB / 0.5616 GB, free: 9.543 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002129/0.4746, allocations: 1.096 MB / 0.5627 GB, free: 8.445 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002219/0.4769, allocations: 2.365 MB / 0.565 GB, free: 6.074 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001276/0.4781, allocations: 1.119 MB / 0.5661 GB, free: 4.945 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006263/0.4844, allocations: 7.408 MB / 0.5733 GB, free: 13.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4844, allocations: 0 / 0.5733 GB, free: 13.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4844, allocations: 0 / 0.5733 GB, free: 13.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001352/0.4846, allocations: 0 / 0.5733 GB, free: 13.52 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.008865/0.4935, allocations: 5.451 MB / 0.5787 GB, free: 7.992 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.4935, allocations: 12.03 kB / 0.5787 GB, free: 7.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009984/0.5035, allocations: 2.718 MB / 0.5813 GB, free: 5.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006792/0.5103, allocations: 3.92 MB / 0.5852 GB, free: 1.273 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000212/0.5105, allocations: 303.8 kB / 0.5854 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008389/0.5114, allocations: 431.5 kB / 0.5859 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0192/0.5306, allocations: 12.99 MB / 0.5985 GB, free: 2.656 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001294/0.5308, allocations: 59.48 kB / 0.5986 GB, free: 2.598 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000458/0.5312, allocations: 195.8 kB / 0.5988 GB, free: 2.406 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003432/0.5347, allocations: 2.503 MB / 0.6012 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.018/0.5527, allocations: 10.81 MB / 0.6118 GB, free: 5.086 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2278/0.7806, allocations: 50.16 MB / 0.6608 GB, free: 113.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008806/0.7894, allocations: 4.533 MB / 0.6652 GB, free: 112.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002522/0.792, allocations: 2.451 MB / 0.6676 GB, free: 111.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007878/0.7999, allocations: 6.728 MB / 0.6742 GB, free: 108.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.7999, allocations: 60.31 kB / 0.6742 GB, free: 108.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=183): time 3.888e-06/0.7999, allocations: 0 / 0.6742 GB, free: 108.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=195): time 0.04369/0.8436, allocations: 19.37 MB / 0.6931 GB, free: 100.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.971e-05/0.8437, allocations: 232.4 kB / 0.6934 GB, free: 100.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008927/0.8527, allocations: 5.882 MB / 0.6991 GB, free: 98.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004293/0.8531, allocations: 51.64 kB / 0.6991 GB, free: 98.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00224/0.8554, allocations: 4.072 MB / 0.7031 GB, free: 95.35 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008266/0.8562, allocations: 0.7757 MB / 0.7039 GB, free: 94.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003119/0.8565, allocations: 145.3 kB / 0.704 GB, free: 94.69 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000306/0.8568, allocations: 0.6229 MB / 0.7046 GB, free: 94.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00358/0.8604, allocations: 2.608 MB / 0.7072 GB, free: 93.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00472/0.8652, allocations: 7.13 MB / 0.7141 GB, free: 86.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004606/0.8698, allocations: 4.203 MB / 0.7182 GB, free: 84.76 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.576e-05/0.8699, allocations: 47.28 kB / 0.7183 GB, free: 84.76 MB / 494.1 MB Notification: Performance of matching and sorting (n=980) (initialization): time 0.01576/0.8857, allocations: 10.51 MB / 0.7286 GB, free: 78.94 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.792e-05/0.8858, allocations: 72 kB / 0.7286 GB, free: 78.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001708/0.886, allocations: 160 kB / 0.7288 GB, free: 78.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002551/0.8885, allocations: 1.276 MB / 0.73 GB, free: 77.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004483/0.893, allocations: 1.719 MB / 0.7317 GB, free: 75.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007448/0.9005, allocations: 7.902 MB / 0.7394 GB, free: 67.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005364/0.9059, allocations: 415.2 kB / 0.7398 GB, free: 67.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009825/0.9069, allocations: 456 kB / 0.7402 GB, free: 66.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * Number of states: 0 () * Number of discrete variables: 45 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.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 (918): * Single equations (assignments): 911 * 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%) 13,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00441/0.9113, allocations: 2.704 MB / 0.7429 GB, free: 63.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001138/0.9125, allocations: 485.6 kB / 0.7433 GB, free: 63.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006341/0.9188, allocations: 4.014 MB / 0.7473 GB, free: 59.46 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-05/0.9189, allocations: 26.58 kB / 0.7473 GB, free: 59.44 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.171e-05/0.9189, allocations: 7.938 kB / 0.7473 GB, free: 59.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.051e-05/0.9189, allocations: 15.97 kB / 0.7473 GB, free: 59.42 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01719/0.9361, allocations: 9.551 MB / 0.7566 GB, free: 49.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.181e-05/0.9362, allocations: 3.438 kB / 0.7566 GB, free: 49.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001509/0.9377, allocations: 327.5 kB / 0.757 GB, free: 49.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002423/0.9401, allocations: 1.001 MB / 0.7579 GB, free: 48.47 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002565/0.9404, allocations: 36 kB / 0.758 GB, free: 48.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006731/0.9472, allocations: 7.24 MB / 0.765 GB, free: 40.94 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.9472, allocations: 8.062 kB / 0.765 GB, free: 40.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008761/0.9559, allocations: 6.867 MB / 0.7718 GB, free: 34.01 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001983/0.9579, allocations: 0.85 MB / 0.7726 GB, free: 33.13 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001061/0.959, allocations: 32 kB / 0.7726 GB, free: 33.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002071/0.9611, allocations: 131.8 kB / 0.7727 GB, free: 32.97 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002378/0.9614, allocations: 105 kB / 0.7728 GB, free: 32.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/0.9615, allocations: 55.98 kB / 0.7729 GB, free: 32.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005334/0.9668, allocations: 3.751 MB / 0.7766 GB, free: 29.09 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.9668, allocations: 0 / 0.7766 GB, free: 29.09 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006328/0.9732, allocations: 1.291 MB / 0.7778 GB, free: 27.81 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (154): * Single equations (assignments): 149 * 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 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004402/0.9736, allocations: 172.1 kB / 0.778 GB, free: 27.63 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0083/0.9819, allocations: 6.307 MB / 0.7841 GB, free: 21.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.982, allocations: 0 / 0.7841 GB, free: 21.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002106/0.9841, allocations: 1.895 MB / 0.786 GB, free: 19.42 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003808/0.9879, allocations: 0.6011 MB / 0.7866 GB, free: 18.82 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02113/1.009, allocations: 14.16 MB / 0.8004 GB, free: 4.605 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005868/1.015, allocations: 4.127 MB / 0.8044 GB, free: 460 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005853/1.021, allocations: 2.318 MB / 0.8067 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009851/1.022, allocations: 319.4 kB / 0.807 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of SimCode: time 9.21e-07/1.022, allocations: 0 / 0.807 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of Templates: time 0.2573/1.279, allocations: 45.8 MB / 0.8517 GB, free: 142.4 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) Environment - environmentSimulation: