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.001144/0.001144, allocations: 99.47 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.001256/0.001256, allocations: 177.3 kB / 15.94 MB, free: 220 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.39/1.39, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.2729/0.2729, allocations: 39.99 MB / 310.4 MB, free: 9.926 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.0005336/0.0005338, allocations: 16 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1058, allocations: 57.95 MB / 436.8 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.2248/0.3307, allocations: 63.13 MB / 499.9 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02542/0.3561, allocations: 14.52 MB / 0.5024 GB, free: 3.852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01126/0.3674, allocations: 314 kB / 0.5027 GB, free: 3.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01174/0.3792, allocations: 3.16 MB / 0.5057 GB, free: 2.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02542/0.4047, allocations: 9.092 MB / 0.5146 GB, free: 14.44 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003457/0.4081, allocations: 0.7789 MB / 0.5154 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.03749/0.4456, allocations: 26.52 MB / 0.5413 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008588/0.4543, allocations: 5.7 MB / 0.5468 GB, free: 6.969 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002642/0.457, allocations: 1.401 MB / 0.5482 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002814/0.4598, allocations: 1.873 MB / 0.55 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000657/0.4605, allocations: 192 kB / 0.5502 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002064/0.4625, allocations: 1.057 MB / 0.5513 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001864/0.4644, allocations: 2.201 MB / 0.5534 GB, free: 236 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001048/0.4655, allocations: 1.123 MB / 0.5545 GB, free: 15.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006609/0.4721, allocations: 7.548 MB / 0.5619 GB, free: 7.531 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.4721, allocations: 0 / 0.5619 GB, free: 7.531 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4721, allocations: 0 / 0.5619 GB, free: 7.531 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001902/0.4723, allocations: 0 / 0.5619 GB, free: 7.531 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.01213/0.4845, allocations: 5.755 MB / 0.5675 GB, free: 1.695 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.4845, allocations: 16.03 kB / 0.5675 GB, free: 1.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04303/0.5276, allocations: 8.094 MB / 0.5754 GB, free: 9.566 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009485/0.5371, allocations: 4.292 MB / 0.5796 GB, free: 5.191 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002462/0.5374, allocations: 311.8 kB / 0.5799 GB, free: 4.883 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001162/0.5385, allocations: 403.7 kB / 0.5803 GB, free: 4.488 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02514/0.5637, allocations: 12.98 MB / 0.593 GB, free: 6.609 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002475/0.564, allocations: 71.44 kB / 0.593 GB, free: 6.539 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007959/0.5648, allocations: 191.8 kB / 0.5932 GB, free: 6.352 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004228/0.569, allocations: 2.507 MB / 0.5957 GB, free: 3.844 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02093/0.59, allocations: 10.67 MB / 0.6061 GB, free: 9.152 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2397/0.8298, allocations: 49.83 MB / 0.6547 GB, free: 109.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009877/0.8397, allocations: 4.451 MB / 0.6591 GB, free: 108.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01074/0.8505, allocations: 6.576 MB / 0.6655 GB, free: 106.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.8505, allocations: 57.22 kB / 0.6656 GB, free: 106.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=183): time 4.298e-06/0.8506, allocations: 0 / 0.6656 GB, free: 106.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=195): time 0.04247/0.893, allocations: 17.93 MB / 0.6831 GB, free: 98.95 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.342e-05/0.8932, allocations: 228.1 kB / 0.6833 GB, free: 98.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009631/0.9028, allocations: 6.151 MB / 0.6893 GB, free: 96.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000409/0.9032, allocations: 52.55 kB / 0.6893 GB, free: 96.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00267/0.9059, allocations: 4.115 MB / 0.6934 GB, free: 93.35 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009492/0.9069, allocations: 0.7715 MB / 0.6941 GB, free: 92.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003597/0.9073, allocations: 141.3 kB / 0.6943 GB, free: 92.69 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003512/0.9076, allocations: 0.6062 MB / 0.6948 GB, free: 92.26 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003581/0.9112, allocations: 2.389 MB / 0.6972 GB, free: 91.49 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004948/0.9162, allocations: 6.87 MB / 0.7039 GB, free: 84.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005017/0.9212, allocations: 3.968 MB / 0.7078 GB, free: 83.15 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.702e-05/0.9213, allocations: 51.44 kB / 0.7078 GB, free: 83.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=942) (initialization): time 0.01512/0.9365, allocations: 9.526 MB / 0.7171 GB, free: 79.46 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.175e-05/0.9366, allocations: 72.75 kB / 0.7172 GB, free: 79.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001505/0.9367, allocations: 161.5 kB / 0.7173 GB, free: 79.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/0.9383, allocations: 0.7502 MB / 0.7181 GB, free: 79.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004908/0.9432, allocations: 1.669 MB / 0.7197 GB, free: 79.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005876/0.9491, allocations: 6.596 MB / 0.7261 GB, free: 74.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006279/0.9554, allocations: 384.5 kB / 0.7265 GB, free: 73.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008045/0.9562, allocations: 449.5 kB / 0.7269 GB, free: 73.39 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.003883/0.9601, allocations: 2.685 MB / 0.7296 GB, free: 70.94 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009426/0.9611, allocations: 497.6 kB / 0.73 GB, free: 70.45 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004623/0.9657, allocations: 3.297 MB / 0.7333 GB, free: 67.12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.334e-05/0.9658, allocations: 20 kB / 0.7333 GB, free: 67.11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-05/0.9658, allocations: 4 kB / 0.7333 GB, free: 67.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.179e-05/0.9658, allocations: 11.97 kB / 0.7333 GB, free: 67.09 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01412/0.98, allocations: 8.852 MB / 0.7419 GB, free: 58.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/0.98, allocations: 4 kB / 0.7419 GB, free: 58.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00147/0.9815, allocations: 323.5 kB / 0.7422 GB, free: 57.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001215/0.9827, allocations: 0.4993 MB / 0.7427 GB, free: 57.36 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001522/0.9829, allocations: 32 kB / 0.7428 GB, free: 57.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005054/0.9879, allocations: 5.9 MB / 0.7485 GB, free: 51.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.988, allocations: 4.875 kB / 0.7485 GB, free: 51.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00714/0.9951, allocations: 6.461 MB / 0.7548 GB, free: 44.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002689/0.9978, allocations: 0.8343 MB / 0.7557 GB, free: 43.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009617/0.9988, allocations: 39.94 kB / 0.7557 GB, free: 43.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002011/1.001, allocations: 99.88 kB / 0.7558 GB, free: 43.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002486/1.001, allocations: 113 kB / 0.7559 GB, free: 43.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/1.001, allocations: 55.98 kB / 0.756 GB, free: 43.36 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004882/1.006, allocations: 3.964 MB / 0.7598 GB, free: 39.42 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.1e-07/1.006, allocations: 0 / 0.7598 GB, free: 39.42 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006678/1.013, allocations: 1.261 MB / 0.7611 GB, free: 38.17 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.0006214/1.013, allocations: 191.5 kB / 0.7612 GB, free: 37.98 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008138/1.022, allocations: 5.881 MB / 0.767 GB, free: 32.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.852e-06/1.022, allocations: 0 / 0.767 GB, free: 32.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001969/1.024, allocations: 1.78 MB / 0.7687 GB, free: 30.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002942/1.027, allocations: 0.6021 MB / 0.7693 GB, free: 29.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0169/1.044, allocations: 13.84 MB / 0.7828 GB, free: 15.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003861/1.047, allocations: 4.24 MB / 0.787 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005019/1.052, allocations: 2.333 MB / 0.7892 GB, free: 9.203 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008475/1.053, allocations: 323.3 kB / 0.7895 GB, free: 8.887 MB / 494.1 MB Notification: Performance of SimCode: time 7.92e-07/1.053, allocations: 0 / 0.7895 GB, free: 8.887 MB / 494.1 MB Notification: Performance of Templates: time 0.2462/1.3, allocations: 44.71 MB / 0.8332 GB, free: 158.9 MB / 0.5137 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: