Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.0009596/0.0009597, allocations: 90.75 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.001157/0.001156, 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.784/1.784, allocations: 205.4 MB / 222.1 MB, free: 5.465 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4646/0.4646, allocations: 40.01 MB / 310.4 MB, free: 9.723 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.2. 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.0005785/0.0005785, allocations: 20 kB / 378.8 MB, free: 12.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1554, allocations: 57.96 MB / 436.8 MB, free: 2.258 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.372/0.5275, allocations: 66.87 MB / 0.4919 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03794/0.5655, allocations: 13.86 MB / 0.5054 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02034/0.5859, allocations: 319.1 kB / 0.5057 GB, free: 2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01498/0.6009, allocations: 3.493 MB / 0.5091 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04223/0.6431, allocations: 10.35 MB / 0.5192 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006359/0.6495, allocations: 0.7871 MB / 0.52 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.05036/0.6999, allocations: 35.13 MB / 0.5543 GB, free: 15.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009676/0.7096, allocations: 5.745 MB / 0.5599 GB, free: 9.832 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004519/0.7142, allocations: 1.716 MB / 0.5616 GB, free: 8.109 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005043/0.7192, allocations: 2.707 MB / 0.5642 GB, free: 5.395 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001117/0.7204, allocations: 192 kB / 0.5644 GB, free: 5.207 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003105/0.7235, allocations: 1.085 MB / 0.5655 GB, free: 4.121 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002882/0.7264, allocations: 2.365 MB / 0.5678 GB, free: 1.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00175/0.7282, allocations: 1.119 MB / 0.5689 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01171/0.7399, allocations: 7.415 MB / 0.5761 GB, free: 9.188 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.258e-06/0.7399, allocations: 0 / 0.5761 GB, free: 9.188 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.74, allocations: 3.938 kB / 0.5761 GB, free: 9.184 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004456/0.7404, allocations: 0 / 0.5761 GB, free: 9.184 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.01453/0.755, allocations: 5.443 MB / 0.5814 GB, free: 3.664 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/0.755, allocations: 12.03 kB / 0.5814 GB, free: 3.652 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01256/0.7676, allocations: 2.718 MB / 0.5841 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009477/0.7771, allocations: 3.928 MB / 0.5879 GB, free: 12.94 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003374/0.7775, allocations: 303.8 kB / 0.5882 GB, free: 12.64 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00185/0.7793, allocations: 415.6 kB / 0.5886 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02731/0.8067, allocations: 13 MB / 0.6013 GB, free: 14.33 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002295/0.807, allocations: 63.42 kB / 0.6014 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007501/0.8077, allocations: 195.8 kB / 0.6016 GB, free: 14.07 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004155/0.8119, allocations: 2.503 MB / 0.604 GB, free: 11.57 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02446/0.8364, allocations: 10.8 MB / 0.6146 GB, free: 0.75 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4062/1.243, allocations: 50.15 MB / 0.6635 GB, free: 110.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01022/1.253, allocations: 4.548 MB / 0.668 GB, free: 110 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003258/1.256, allocations: 2.448 MB / 0.6704 GB, free: 108.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01138/1.268, allocations: 6.736 MB / 0.6769 GB, free: 105.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/1.268, allocations: 58.34 kB / 0.677 GB, free: 105.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=183): time 4.488e-06/1.268, allocations: 3.969 kB / 0.677 GB, free: 105.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=195): time 0.052/1.32, allocations: 19.36 MB / 0.6959 GB, free: 97.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/1.32, allocations: 230.3 kB / 0.6961 GB, free: 97.65 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01183/1.332, allocations: 5.884 MB / 0.7019 GB, free: 95.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006604/1.332, allocations: 53.05 kB / 0.7019 GB, free: 95.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003929/1.336, allocations: 4.074 MB / 0.7059 GB, free: 92.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001869/1.338, allocations: 0.7716 MB / 0.7067 GB, free: 91.85 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003803/1.339, allocations: 147.5 kB / 0.7068 GB, free: 91.73 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004043/1.339, allocations: 0.6219 MB / 0.7074 GB, free: 91.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003809/1.343, allocations: 2.604 MB / 0.7099 GB, free: 90.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005803/1.349, allocations: 7.13 MB / 0.7169 GB, free: 83.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005444/1.354, allocations: 4.209 MB / 0.721 GB, free: 81.72 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.304e-05/1.354, allocations: 44.38 kB / 0.7211 GB, free: 81.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=980) (initialization): time 0.01981/1.374, allocations: 10.51 MB / 0.7313 GB, free: 75.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/1.374, allocations: 72 kB / 0.7314 GB, free: 75.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001738/1.374, allocations: 160.9 kB / 0.7315 GB, free: 74.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002706/1.377, allocations: 1.274 MB / 0.7328 GB, free: 73.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005538/1.383, allocations: 1.719 MB / 0.7345 GB, free: 71.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007955/1.391, allocations: 7.913 MB / 0.7422 GB, free: 63.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007482/1.398, allocations: 415.5 kB / 0.7426 GB, free: 63.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001635/1.4, allocations: 455.2 kB / 0.743 GB, free: 62.94 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.006849/1.407, allocations: 2.696 MB / 0.7457 GB, free: 60.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001677/1.408, allocations: 490.5 kB / 0.7461 GB, free: 59.74 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007689/1.416, allocations: 4.022 MB / 0.7501 GB, free: 55.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.105e-05/1.416, allocations: 23.95 kB / 0.7501 GB, free: 55.68 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.496e-05/1.416, allocations: 8 kB / 0.7501 GB, free: 55.67 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.378e-05/1.416, allocations: 7.969 kB / 0.7501 GB, free: 55.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01846/1.435, allocations: 9.553 MB / 0.7594 GB, free: 46.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.178e-05/1.435, allocations: 8.031 kB / 0.7594 GB, free: 46.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00152/1.436, allocations: 325.6 kB / 0.7597 GB, free: 45.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002385/1.439, allocations: 1.002 MB / 0.7607 GB, free: 44.71 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001983/1.439, allocations: 35.98 kB / 0.7608 GB, free: 44.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007044/1.446, allocations: 7.232 MB / 0.7678 GB, free: 37.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/1.446, allocations: 7.625 kB / 0.7678 GB, free: 37.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009656/1.456, allocations: 6.864 MB / 0.7745 GB, free: 30.26 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003245/1.459, allocations: 0.8577 MB / 0.7754 GB, free: 29.38 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002144/1.461, allocations: 28 kB / 0.7754 GB, free: 29.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003073/1.464, allocations: 115.9 kB / 0.7755 GB, free: 29.24 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004086/1.465, allocations: 128.9 kB / 0.7756 GB, free: 29.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002217/1.465, allocations: 52 kB / 0.7757 GB, free: 29.06 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.008037/1.473, allocations: 3.747 MB / 0.7793 GB, free: 25.34 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.01e-07/1.473, allocations: 0 / 0.7793 GB, free: 25.34 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01064/1.484, allocations: 1.297 MB / 0.7806 GB, free: 24.05 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.0009559/1.485, allocations: 170.3 kB / 0.7808 GB, free: 23.88 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01149/1.496, allocations: 6.297 MB / 0.7869 GB, free: 17.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.495e-05/1.496, allocations: 4.25 kB / 0.7869 GB, free: 17.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003397/1.5, allocations: 1.892 MB / 0.7888 GB, free: 15.66 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007473/1.507, allocations: 0.5967 MB / 0.7893 GB, free: 15.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02463/1.532, allocations: 14.16 MB / 0.8032 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005484/1.537, allocations: 4.131 MB / 0.8072 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006279/1.544, allocations: 2.315 MB / 0.8095 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/1.545, allocations: 323.3 kB / 0.8098 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of SimCode: time 8.92e-07/1.545, allocations: 0 / 0.8098 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of Templates: time 0.3307/1.875, allocations: 45.81 MB / 0.8545 GB, free: 138.1 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) Environment - environmentSimulation: