Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008443/0.0008443, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005818/0.005818, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.472/1.472, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.3114/0.3114, allocations: 38.03 MB / 308.8 MB, free: 10.21 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.0005506/0.0005506, allocations: 16 kB / 377 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1088, allocations: 57.52 MB / 434.6 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.2788/0.3877, allocations: 122.9 MB / 0.5444 GB, free: 4.105 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05037/0.4381, allocations: 23.47 MB / 0.5674 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02568/0.4638, allocations: 0.53 MB / 0.5679 GB, free: 2.512 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003725/0.4676, allocations: 0.7758 MB / 0.5686 GB, free: 2.035 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009962/0.4776, allocations: 3.158 MB / 0.5717 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003568/0.4812, allocations: 1.25 MB / 0.5729 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01654/0.4978, allocations: 14.19 MB / 0.5868 GB, free: 15.98 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01637/0.5142, allocations: 11.54 MB / 0.5981 GB, free: 4.352 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004817/0.5191, allocations: 2.466 MB / 0.6005 GB, free: 1.875 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00689/0.526, allocations: 4.36 MB / 0.6047 GB, free: 13.5 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001852/0.5279, allocations: 315.9 kB / 0.605 GB, free: 13.19 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003784/0.5317, allocations: 1.373 MB / 0.6064 GB, free: 11.82 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005802/0.5375, allocations: 3.79 MB / 0.6101 GB, free: 8.016 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007013/0.5446, allocations: 4.182 MB / 0.6142 GB, free: 3.801 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01571/0.5603, allocations: 13.88 MB / 0.6277 GB, free: 5.867 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.5603, allocations: 0 / 0.6277 GB, free: 5.867 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.5604, allocations: 0 / 0.6277 GB, free: 5.867 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0005027/0.5609, allocations: 0 / 0.6277 GB, free: 5.867 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2951 * Number of variables: 2951 Notification: Performance of Generate backend data structure: time 0.3642/0.9251, allocations: 8.227 MB / 0.6358 GB, free: 147.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.9251, allocations: 9.672 kB / 0.6358 GB, free: 147.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01759/0.9427, allocations: 3.8 MB / 0.6395 GB, free: 146.6 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0126/0.9554, allocations: 6.562 MB / 0.6459 GB, free: 144.9 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003382/0.9557, allocations: 0.4909 MB / 0.6464 GB, free: 144.8 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00191/0.9577, allocations: 0.6597 MB / 0.647 GB, free: 144.6 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03195/0.9896, allocations: 19.95 MB / 0.6665 GB, free: 136 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003476/0.99, allocations: 92.38 kB / 0.6666 GB, free: 135.9 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008851/0.9909, allocations: 308.5 kB / 0.6669 GB, free: 135.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006477/0.9974, allocations: 3.6 MB / 0.6704 GB, free: 135.1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03624/1.034, allocations: 16.79 MB / 0.6868 GB, free: 128.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07455/1.108, allocations: 73.19 MB / 0.7583 GB, free: 53.78 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01803/1.126, allocations: 8.514 MB / 0.7666 GB, free: 45.11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004895/1.131, allocations: 4.541 MB / 0.771 GB, free: 40.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005664/1.132, allocations: 0.6712 MB / 0.7717 GB, free: 39.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.182e-05/1.132, allocations: 68.81 kB / 0.7717 GB, free: 39.71 MB / 494.1 MB Notification: Performance of pre-optimization done (n=311): time 5.14e-06/1.132, allocations: 0 / 0.7717 GB, free: 39.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=335): time 0.08221/1.214, allocations: 35.72 MB / 0.8066 GB, free: 3.758 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.852e-05/1.214, allocations: 303.6 kB / 0.8069 GB, free: 3.402 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01062/1.225, allocations: 7.818 MB / 0.8145 GB, free: 11.62 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0008263/1.226, allocations: 82.55 kB / 0.8146 GB, free: 11.54 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.00397/1.23, allocations: 5.733 MB / 0.8202 GB, free: 5.809 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001662/1.231, allocations: 1.272 MB / 0.8215 GB, free: 4.547 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001151/1.233, allocations: 0.884 MB / 0.8223 GB, free: 3.656 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 8.949e-05/1.233, allocations: 309.1 kB / 0.8226 GB, free: 3.352 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1953/1.428, allocations: 4.118 MB / 0.8266 GB, free: 143.9 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009529/1.438, allocations: 9.845 MB / 0.8363 GB, free: 136.6 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01521/1.453, allocations: 14.9 MB / 0.8508 GB, free: 125.7 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002688/1.453, allocations: 56.56 kB / 0.8509 GB, free: 125.7 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.03011/1.483, allocations: 15.83 MB / 0.8663 GB, free: 120.2 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003756/1.484, allocations: 93.62 kB / 0.8664 GB, free: 120.2 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004732/1.484, allocations: 203.7 kB / 0.8666 GB, free: 120.2 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006284/1.49, allocations: 2.328 MB / 0.8689 GB, free: 119.8 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008442/1.499, allocations: 2.352 MB / 0.8712 GB, free: 119.6 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02123/1.52, allocations: 15.62 MB / 0.8864 GB, free: 110.5 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009045/1.529, allocations: 0.5836 MB / 0.887 GB, free: 110.3 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002394/1.532, allocations: 0.5776 MB / 0.8876 GB, free: 110.2 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 907 * Number of states: 0 () * Number of discrete variables: 66 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],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],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 (1250): * Single equations (assignments): 1243 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,14,100.0%), (1,14,100.0%), (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.008378/1.54, allocations: 3.889 MB / 0.8913 GB, free: 108.5 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001741/1.542, allocations: 0.6684 MB / 0.892 GB, free: 108.5 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01467/1.557, allocations: 7.991 MB / 0.8998 GB, free: 105.7 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.376e-05/1.557, allocations: 34.88 kB / 0.8998 GB, free: 105.7 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.674e-05/1.557, allocations: 11.78 kB / 0.8999 GB, free: 105.7 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.1e-05/1.557, allocations: 19.83 kB / 0.8999 GB, free: 105.7 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03179/1.588, allocations: 17.38 MB / 0.9168 GB, free: 95.31 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-05/1.589, allocations: 4 kB / 0.9168 GB, free: 95.3 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002813/1.591, allocations: 0.564 MB / 0.9174 GB, free: 94.86 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005042/1.596, allocations: 1.994 MB / 0.9193 GB, free: 92.97 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004859/1.597, allocations: 60.61 kB / 0.9194 GB, free: 92.91 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01346/1.61, allocations: 14.46 MB / 0.9335 GB, free: 78.06 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/1.61, allocations: 0 / 0.9335 GB, free: 78.06 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01822/1.629, allocations: 12.41 MB / 0.9456 GB, free: 65.81 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003272/1.632, allocations: 1.286 MB / 0.9469 GB, free: 64.5 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001915/1.634, allocations: 58.5 kB / 0.947 GB, free: 64.45 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00416/1.638, allocations: 239.7 kB / 0.9472 GB, free: 64.21 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008343/1.639, allocations: 198.3 kB / 0.9474 GB, free: 64.02 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004586/1.639, allocations: 83.98 kB / 0.9475 GB, free: 63.93 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.008299/1.648, allocations: 4.996 MB / 0.9523 GB, free: 58.98 MB / 0.4982 GB Notification: Performance of sort global known variables: time 3.21e-07/1.648, allocations: 0 / 0.9523 GB, free: 58.98 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01003/1.658, allocations: 2.017 MB / 0.9543 GB, free: 56.96 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,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 (276): * Single equations (assignments): 269 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,11,100.0%), (1,11,100.0%), (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.0007934/1.659, allocations: 209.6 kB / 0.9545 GB, free: 56.75 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01376/1.672, allocations: 10.09 MB / 0.9644 GB, free: 46.66 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/1.672, allocations: 4 kB / 0.9644 GB, free: 46.66 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.004855/1.677, allocations: 3.652 MB / 0.9679 GB, free: 42.96 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008278/1.686, allocations: 0.9237 MB / 0.9688 GB, free: 42.05 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03585/1.722, allocations: 23.15 MB / 0.9914 GB, free: 18.84 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01026/1.732, allocations: 5.948 MB / 0.9972 GB, free: 12.84 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.009063/1.741, allocations: 3.081 MB / 1 GB, free: 9.758 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002521/1.743, allocations: 459.4 kB / 1.001 GB, free: 9.309 MB / 0.4982 GB Notification: Performance of SimCode: time 1.333e-06/1.743, allocations: 0 / 1.001 GB, free: 9.309 MB / 0.4982 GB Notification: Performance of Templates: time 0.3312/2.075, allocations: 77.08 MB / 1.076 GB, free: 124.6 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) Environment - environmentSimulation: