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.006998/0.006998, allocations: 105.9 kB / 15.73 MB, free: 6 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.001529/0.00153, allocations: 189 kB / 16.67 MB, free: 5.926 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.578/1.578, allocations: 205.1 MB / 222.6 MB, free: 4.48 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.3315/0.3315, allocations: 37.99 MB / 307.9 MB, free: 10.07 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.001694/0.001694, allocations: 75.89 kB / 433 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.347, allocations: 56.45 MB / 489.5 MB, free: 19.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01571/0.3628, allocations: 14.23 MB / 0.4919 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.012/0.3748, allocations: 4.666 MB / 0.4965 GB, free: 6.762 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004203/0.379, allocations: 91.16 kB / 0.4966 GB, free: 6.746 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007811/0.3869, allocations: 3.774 MB / 0.5002 GB, free: 4.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008456/0.3954, allocations: 2.49 MB / 0.5027 GB, free: 3.336 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003069/0.3985, allocations: 1.004 MB / 0.5037 GB, free: 2.664 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0109/0.4095, allocations: 6.02 MB / 0.5095 GB, free: 15.4 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008649/0.4182, allocations: 4.731 MB / 0.5142 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00596/0.4242, allocations: 2.126 MB / 0.5162 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006647/0.4308, allocations: 2.887 MB / 0.5191 GB, free: 9.371 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00312/0.434, allocations: 460 kB / 0.5195 GB, free: 8.922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006321/0.4404, allocations: 1.482 MB / 0.5209 GB, free: 7.438 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005541/0.4459, allocations: 2.704 MB / 0.5236 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007639/0.4536, allocations: 3.025 MB / 0.5265 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01501/0.4686, allocations: 9.651 MB / 0.536 GB, free: 8 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.4687, allocations: 0 / 0.536 GB, free: 8 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4687, allocations: 0 / 0.536 GB, free: 8 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004026/0.4691, allocations: 0 / 0.536 GB, free: 8 MB / 414.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.01868/0.4878, allocations: 6.546 MB / 0.5424 GB, free: 1.375 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.4879, allocations: 19.83 kB / 0.5424 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01262/0.5005, allocations: 2.664 MB / 0.545 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01101/0.5115, allocations: 4.063 MB / 0.5489 GB, free: 10.56 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003837/0.512, allocations: 308.2 kB / 0.5492 GB, free: 10.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002293/0.5143, allocations: 415.6 kB / 0.5496 GB, free: 9.848 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02668/0.541, allocations: 13 MB / 0.5623 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002403/0.5412, allocations: 67.36 kB / 0.5624 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001258/0.5425, allocations: 195.8 kB / 0.5626 GB, free: 11.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003771/0.5463, allocations: 2.507 MB / 0.565 GB, free: 9.176 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02245/0.5687, allocations: 10.84 MB / 0.5756 GB, free: 14.32 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06801/0.6368, allocations: 49.92 MB / 0.6244 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01134/0.6482, allocations: 4.56 MB / 0.6288 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003718/0.6519, allocations: 2.456 MB / 0.6312 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2901/0.942, allocations: 6.727 MB / 0.6378 GB, free: 124 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.9421, allocations: 52.3 kB / 0.6378 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=183): time 5.521e-06/0.9421, allocations: 1.25 kB / 0.6378 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=195): time 0.05713/0.9992, allocations: 19.42 MB / 0.6568 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.9994, allocations: 224.7 kB / 0.657 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01194/1.011, allocations: 5.918 MB / 0.6628 GB, free: 114.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005736/1.012, allocations: 52.58 kB / 0.6628 GB, free: 114.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002598/1.015, allocations: 4.069 MB / 0.6668 GB, free: 111.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001099/1.016, allocations: 0.77 MB / 0.6676 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002107/1.018, allocations: 1.534 MB / 0.6691 GB, free: 110 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.2e-05/1.018, allocations: 302 kB / 0.6694 GB, free: 109.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003796/1.022, allocations: 2.634 MB / 0.6719 GB, free: 108.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005274/1.027, allocations: 7.167 MB / 0.6789 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008906/1.036, allocations: 10.51 MB / 0.6892 GB, free: 92.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001496/1.036, allocations: 43.44 kB / 0.6892 GB, free: 92.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=980) (initialization): time 0.02183/1.058, allocations: 10.56 MB / 0.6995 GB, free: 84.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000285/1.058, allocations: 76.25 kB / 0.6996 GB, free: 84.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003986/1.059, allocations: 160 kB / 0.6998 GB, free: 84.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003388/1.062, allocations: 1.235 MB / 0.701 GB, free: 82.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005943/1.068, allocations: 1.727 MB / 0.7027 GB, free: 81.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008919/1.077, allocations: 8.489 MB / 0.711 GB, free: 72.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007377/1.084, allocations: 415.4 kB / 0.7113 GB, free: 71.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001578/1.086, allocations: 459.9 kB / 0.7118 GB, free: 71.53 MB / 0.4981 GB 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 (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 {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005985/1.092, allocations: 2.687 MB / 0.7144 GB, free: 68.83 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001631/1.094, allocations: 489.7 kB / 0.7149 GB, free: 68.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007782/1.101, allocations: 4.033 MB / 0.7188 GB, free: 64.29 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.196e-05/1.101, allocations: 24 kB / 0.7188 GB, free: 64.26 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.233e-05/1.102, allocations: 4.656 kB / 0.7188 GB, free: 64.26 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.777e-05/1.102, allocations: 11.95 kB / 0.7189 GB, free: 64.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02026/1.122, allocations: 9.539 MB / 0.7282 GB, free: 54.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.228e-05/1.122, allocations: 4 kB / 0.7282 GB, free: 54.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001598/1.124, allocations: 319.8 kB / 0.7285 GB, free: 54.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002541/1.126, allocations: 1.012 MB / 0.7295 GB, free: 53.31 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000268/1.126, allocations: 39.98 kB / 0.7295 GB, free: 53.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007592/1.134, allocations: 7.817 MB / 0.7371 GB, free: 45.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.134, allocations: 4 kB / 0.7371 GB, free: 45.17 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009547/1.144, allocations: 6.895 MB / 0.7439 GB, free: 38.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00249/1.146, allocations: 0.8306 MB / 0.7447 GB, free: 37.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001467/1.148, allocations: 32 kB / 0.7447 GB, free: 37.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002567/1.15, allocations: 123.6 kB / 0.7448 GB, free: 37.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003341/1.15, allocations: 109 kB / 0.7449 GB, free: 37.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/1.151, allocations: 59.92 kB / 0.745 GB, free: 37.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006763/1.157, allocations: 3.782 MB / 0.7487 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3e-07/1.157, allocations: 0 / 0.7487 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008283/1.166, allocations: 1.298 MB / 0.75 GB, free: 32 MB / 0.4981 GB 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 (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 {(1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008283/1.167, allocations: 173.3 kB / 0.7501 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009812/1.176, allocations: 6.326 MB / 0.7563 GB, free: 25.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/1.176, allocations: 4.125 kB / 0.7563 GB, free: 25.51 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002667/1.179, allocations: 1.906 MB / 0.7582 GB, free: 23.58 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007104/1.186, allocations: 0.6296 MB / 0.7588 GB, free: 22.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02634/1.213, allocations: 12.05 MB / 0.7705 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006293/1.219, allocations: 4.123 MB / 0.7746 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004835/1.224, allocations: 2.319 MB / 0.7768 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000867/1.225, allocations: 319.4 kB / 0.7771 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of SimCode: time 8.31e-07/1.225, allocations: 0 / 0.7771 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of Templates: time 0.09026/1.315, allocations: 44.75 MB / 0.8208 GB, free: 7.418 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (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)