Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001152/0.001152, allocations: 191.8 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.627/1.627, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.331/0.331, allocations: 37.98 MB / 307.4 MB, free: 10.17 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.002011/0.002011, allocations: 70.67 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.144, allocations: 56.47 MB / 431.2 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.3601/0.5042, allocations: 97.55 MB / 0.5164 GB, free: 8.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06345/0.5677, allocations: 18.55 MB / 0.5345 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03604/0.6039, allocations: 416.4 kB / 0.5349 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0121/0.6161, allocations: 4.662 MB / 0.5394 GB, free: 9.793 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01147/0.6276, allocations: 2.581 MB / 0.5419 GB, free: 8.574 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004064/0.6317, allocations: 1.076 MB / 0.543 GB, free: 8.09 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01306/0.6448, allocations: 7.254 MB / 0.5501 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0101/0.655, allocations: 6.389 MB / 0.5563 GB, free: 12.87 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006622/0.6616, allocations: 2.655 MB / 0.5589 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007382/0.669, allocations: 3.949 MB / 0.5628 GB, free: 6.242 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002758/0.6718, allocations: 0.5781 MB / 0.5633 GB, free: 5.664 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006873/0.6787, allocations: 1.623 MB / 0.5649 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006041/0.6848, allocations: 3.351 MB / 0.5682 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008362/0.6932, allocations: 3.818 MB / 0.5719 GB, free: 12.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01611/0.7094, allocations: 11.63 MB / 0.5833 GB, free: 1.172 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.7094, allocations: 0 / 0.5833 GB, free: 1.172 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.7094, allocations: 0 / 0.5833 GB, free: 1.172 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004869/0.7099, allocations: 4 kB / 0.5833 GB, free: 1.168 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: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.02799/0.7379, allocations: 8.069 MB / 0.5912 GB, free: 9.016 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.518e-05/0.738, allocations: 11.89 kB / 0.5912 GB, free: 9.004 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01491/0.7529, allocations: 2.861 MB / 0.594 GB, free: 6.129 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01234/0.7653, allocations: 4.569 MB / 0.5984 GB, free: 1.477 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004712/0.7658, allocations: 402.1 kB / 0.5988 GB, free: 1.082 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002795/0.7686, allocations: 0.5191 MB / 0.5993 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03993/0.8086, allocations: 16.91 MB / 0.6158 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003159/0.8089, allocations: 67.45 kB / 0.6159 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001965/0.8109, allocations: 247.8 kB / 0.6161 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006147/0.8171, allocations: 3.252 MB / 0.6193 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5489/1.366, allocations: 14.51 MB / 0.6335 GB, free: 142.1 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08214/1.448, allocations: 62.75 MB / 0.6948 GB, free: 101.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01894/1.467, allocations: 6.892 MB / 0.7015 GB, free: 98.72 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006481/1.474, allocations: 4.24 MB / 0.7056 GB, free: 97.01 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01864/1.492, allocations: 9.682 MB / 0.7151 GB, free: 91.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.007e-05/1.493, allocations: 60.62 kB / 0.7151 GB, free: 91.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=297): time 6.121e-06/1.493, allocations: 3.938 kB / 0.7151 GB, free: 91.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=339): time 0.08346/1.576, allocations: 34.78 MB / 0.7491 GB, free: 60.72 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/1.576, allocations: 252.2 kB / 0.7493 GB, free: 60.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008863/1.585, allocations: 6.751 MB / 0.7559 GB, free: 53.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001075/1.586, allocations: 77.7 kB / 0.756 GB, free: 53.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002425/1.589, allocations: 4.746 MB / 0.7607 GB, free: 48.83 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00166/1.59, allocations: 1.268 MB / 0.7619 GB, free: 47.55 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002535/1.593, allocations: 1.883 MB / 0.7637 GB, free: 45.65 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.23e-05/1.593, allocations: 313.1 kB / 0.764 GB, free: 45.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005002/1.598, allocations: 4.07 MB / 0.768 GB, free: 41.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007512/1.605, allocations: 9.143 MB / 0.7769 GB, free: 29.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01684/1.622, allocations: 14.16 MB / 0.7908 GB, free: 13.01 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001702/1.622, allocations: 52 kB / 0.7908 GB, free: 12.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.02778/1.65, allocations: 15.12 MB / 0.8056 GB, free: 13.81 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001305/1.65, allocations: 84.03 kB / 0.8056 GB, free: 13.73 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002314/1.651, allocations: 176 kB / 0.8058 GB, free: 13.56 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005976/1.657, allocations: 2.288 MB / 0.8081 GB, free: 11.26 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008329/1.665, allocations: 2.148 MB / 0.8101 GB, free: 9.109 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3378/2.003, allocations: 14.45 MB / 0.8243 GB, free: 143.1 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00965/2.012, allocations: 0.5465 MB / 0.8248 GB, free: 143.1 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002656/2.015, allocations: 0.5255 MB / 0.8253 GB, free: 143.1 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 804 * Number of states: 0 () * Number of discrete variables: 57 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[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 (1125): * Single equations (assignments): 1118 * 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.008349/2.024, allocations: 3.294 MB / 0.8285 GB, free: 142.2 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001706/2.025, allocations: 0.5766 MB / 0.8291 GB, free: 142.2 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01546/2.041, allocations: 8.464 MB / 0.8374 GB, free: 139.2 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.296e-05/2.041, allocations: 33.53 kB / 0.8374 GB, free: 139.2 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.57e-05/2.041, allocations: 8.875 kB / 0.8374 GB, free: 139.2 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.477e-05/2.041, allocations: 18.27 kB / 0.8374 GB, free: 139.2 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03839/2.079, allocations: 17.1 MB / 0.8541 GB, free: 133.3 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.66e-05/2.079, allocations: 3.594 kB / 0.8541 GB, free: 133.3 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00353/2.083, allocations: 0.5851 MB / 0.8547 GB, free: 133.3 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006044/2.089, allocations: 2.05 MB / 0.8567 GB, free: 133 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001138/2.09, allocations: 66.19 kB / 0.8567 GB, free: 132.9 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02058/2.111, allocations: 13.66 MB / 0.8701 GB, free: 126.1 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/2.111, allocations: 6.562 kB / 0.8701 GB, free: 126.1 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02098/2.132, allocations: 13.1 MB / 0.8829 GB, free: 121.2 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003734/2.136, allocations: 1.239 MB / 0.8841 GB, free: 120.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002016/2.138, allocations: 58.31 kB / 0.8842 GB, free: 120.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003945/2.142, allocations: 246.1 kB / 0.8844 GB, free: 120.7 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008342/2.143, allocations: 214.8 kB / 0.8846 GB, free: 120.7 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002611/2.143, allocations: 87.92 kB / 0.8847 GB, free: 120.7 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.007985/2.151, allocations: 4.348 MB / 0.8889 GB, free: 118.9 MB / 0.4982 GB Notification: Performance of sort global known variables: time 9.12e-07/2.151, allocations: 0 / 0.8889 GB, free: 118.9 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01066/2.161, allocations: 1.772 MB / 0.8907 GB, free: 117.4 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (279): * Single equations (assignments): 274 * Array equations: 3 * 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 {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001071/2.163, allocations: 210.9 kB / 0.8909 GB, free: 117.2 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.02023/2.183, allocations: 12.3 MB / 0.9029 GB, free: 105.1 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.515e-05/2.183, allocations: 0 / 0.9029 GB, free: 105.1 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.00661/2.19, allocations: 3.989 MB / 0.9068 GB, free: 101.1 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007493/2.197, allocations: 0.7693 MB / 0.9075 GB, free: 100.4 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03198/2.229, allocations: 20 MB / 0.927 GB, free: 80.4 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006079/2.235, allocations: 5.045 MB / 0.932 GB, free: 75.33 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.007601/2.243, allocations: 2.973 MB / 0.9349 GB, free: 72.35 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002012/2.245, allocations: 421.3 kB / 0.9353 GB, free: 71.94 MB / 0.4982 GB Notification: Performance of SimCode: time 1.002e-06/2.245, allocations: 0 / 0.9353 GB, free: 71.94 MB / 0.4982 GB Notification: Performance of Templates: time 0.3373/2.582, allocations: 72.98 MB / 1.007 GB, free: 153.4 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1)