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.001059/0.001059, allocations: 98.92 kB / 15.05 MB, free: 1.105 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.001198/0.001198, allocations: 177.3 kB / 15.94 MB, free: 228 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.744/1.744, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.3738/0.3738, allocations: 38.04 MB / 308.4 MB, free: 10.45 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.0005748/0.000575, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1521, allocations: 57.52 MB / 433.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.331/0.4832, allocations: 63.13 MB / 497.1 MB, free: 16.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03391/0.5172, allocations: 14.51 MB / 0.4996 GB, free: 6.469 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01702/0.5343, allocations: 314.2 kB / 0.4999 GB, free: 6.422 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01374/0.548, allocations: 3.161 MB / 0.503 GB, free: 5.387 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03707/0.5851, allocations: 9.094 MB / 0.5118 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006694/0.5919, allocations: 0.7745 MB / 0.5126 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04488/0.6368, allocations: 26.94 MB / 0.5389 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009088/0.6459, allocations: 5.705 MB / 0.5445 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003537/0.6495, allocations: 1.401 MB / 0.5459 GB, free: 9.352 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003183/0.6527, allocations: 1.869 MB / 0.5477 GB, free: 7.477 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007879/0.6535, allocations: 192 kB / 0.5479 GB, free: 7.289 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0027/0.6562, allocations: 1.057 MB / 0.5489 GB, free: 6.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002379/0.6586, allocations: 2.198 MB / 0.551 GB, free: 4.027 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001562/0.6602, allocations: 1.131 MB / 0.5521 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009489/0.6697, allocations: 7.544 MB / 0.5595 GB, free: 11.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.6697, allocations: 0 / 0.5595 GB, free: 11.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.988e-06/0.6698, allocations: 0 / 0.5595 GB, free: 11.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004019/0.6702, allocations: 0 / 0.5595 GB, free: 11.32 MB / 430.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.01528/0.6855, allocations: 5.759 MB / 0.5651 GB, free: 5.484 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.6855, allocations: 8.031 kB / 0.5651 GB, free: 5.477 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04309/0.7286, allocations: 8.098 MB / 0.5731 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01188/0.7405, allocations: 4.292 MB / 0.5772 GB, free: 8.984 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005067/0.7411, allocations: 311.8 kB / 0.5775 GB, free: 8.676 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002542/0.7437, allocations: 411.7 kB / 0.5779 GB, free: 8.273 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03113/0.7748, allocations: 12.96 MB / 0.5906 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003747/0.7753, allocations: 71.31 kB / 0.5907 GB, free: 10.34 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002004/0.7773, allocations: 195.8 kB / 0.5908 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004597/0.7819, allocations: 2.507 MB / 0.5933 GB, free: 7.641 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02333/0.8053, allocations: 10.68 MB / 0.6037 GB, free: 12.95 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3709/1.176, allocations: 49.84 MB / 0.6524 GB, free: 111.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01003/1.186, allocations: 4.438 MB / 0.6567 GB, free: 111.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0113/1.198, allocations: 6.578 MB / 0.6632 GB, free: 109.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/1.198, allocations: 54.91 kB / 0.6632 GB, free: 109.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=183): time 4.309e-06/1.198, allocations: 0 / 0.6632 GB, free: 109.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=195): time 0.04802/1.246, allocations: 17.92 MB / 0.6807 GB, free: 101.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/1.246, allocations: 238.1 kB / 0.6809 GB, free: 101.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01121/1.257, allocations: 6.147 MB / 0.6869 GB, free: 99.12 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006677/1.258, allocations: 57.45 kB / 0.687 GB, free: 99.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004827/1.263, allocations: 4.114 MB / 0.691 GB, free: 95.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00181/1.265, allocations: 0.7711 MB / 0.6918 GB, free: 95.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003825/1.265, allocations: 140.3 kB / 0.6919 GB, free: 95.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0005509/1.265, allocations: 0.6106 MB / 0.6925 GB, free: 94.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004522/1.27, allocations: 2.393 MB / 0.6948 GB, free: 94.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006623/1.277, allocations: 6.859 MB / 0.7015 GB, free: 87.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005942/1.283, allocations: 3.972 MB / 0.7054 GB, free: 85.78 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.358e-05/1.283, allocations: 42.88 kB / 0.7055 GB, free: 85.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=942) (initialization): time 0.01462/1.297, allocations: 9.519 MB / 0.7147 GB, free: 82.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.674e-05/1.297, allocations: 81.06 kB / 0.7148 GB, free: 82.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001917/1.298, allocations: 157.6 kB / 0.715 GB, free: 82.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001608/1.299, allocations: 0.7532 MB / 0.7157 GB, free: 81.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004822/1.304, allocations: 1.663 MB / 0.7173 GB, free: 81.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006267/1.31, allocations: 6.586 MB / 0.7238 GB, free: 77.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00705/1.317, allocations: 395.5 kB / 0.7241 GB, free: 77.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001141/1.319, allocations: 443.5 kB / 0.7246 GB, free: 76.69 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 (880): * Single equations (assignments): 873 * 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 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004853/1.323, allocations: 2.702 MB / 0.7272 GB, free: 74.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001174/1.325, allocations: 493.5 kB / 0.7277 GB, free: 73.83 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004699/1.329, allocations: 3.282 MB / 0.7309 GB, free: 70.89 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.067e-05/1.329, allocations: 20 kB / 0.7309 GB, free: 70.87 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/1.329, allocations: 4 kB / 0.7309 GB, free: 70.87 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.661e-05/1.329, allocations: 15.97 kB / 0.7309 GB, free: 70.85 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01546/1.345, allocations: 8.854 MB / 0.7396 GB, free: 61.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/1.345, allocations: 0 / 0.7396 GB, free: 61.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/1.346, allocations: 327.5 kB / 0.7399 GB, free: 61.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001186/1.348, allocations: 0.4973 MB / 0.7404 GB, free: 61.11 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/1.348, allocations: 38.91 kB / 0.7404 GB, free: 61.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004906/1.353, allocations: 5.904 MB / 0.7462 GB, free: 54.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.353, allocations: 4 kB / 0.7462 GB, free: 54.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007136/1.36, allocations: 6.467 MB / 0.7525 GB, free: 48.26 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0027/1.363, allocations: 0.8344 MB / 0.7533 GB, free: 47.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007651/1.363, allocations: 35.95 kB / 0.7533 GB, free: 47.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001621/1.365, allocations: 101.5 kB / 0.7534 GB, free: 47.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002448/1.365, allocations: 113 kB / 0.7535 GB, free: 47.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/1.365, allocations: 52 kB / 0.7536 GB, free: 47.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005156/1.371, allocations: 3.968 MB / 0.7575 GB, free: 43.17 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.3e-07/1.371, allocations: 0 / 0.7575 GB, free: 43.17 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006717/1.377, allocations: 1.262 MB / 0.7587 GB, free: 41.92 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.0004547/1.378, allocations: 192.4 kB / 0.7589 GB, free: 41.72 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007425/1.385, allocations: 5.884 MB / 0.7646 GB, free: 35.85 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.385, allocations: 0 / 0.7646 GB, free: 35.85 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001793/1.387, allocations: 1.777 MB / 0.7664 GB, free: 34.05 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00252/1.39, allocations: 0.6049 MB / 0.767 GB, free: 33.45 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01737/1.407, allocations: 13.83 MB / 0.7805 GB, free: 19.56 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003848/1.411, allocations: 4.244 MB / 0.7846 GB, free: 15.28 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005117/1.416, allocations: 2.33 MB / 0.7869 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008554/1.417, allocations: 323.4 kB / 0.7872 GB, free: 12.63 MB / 494.1 MB Notification: Performance of SimCode: time 1.132e-06/1.417, allocations: 0 / 0.7872 GB, free: 12.63 MB / 494.1 MB Notification: Performance of Templates: time 0.08353/1.5, allocations: 44.72 MB / 0.8309 GB, free: 8 kB / 0.5137 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: