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.005309/0.005309, allocations: 99.78 kB / 15.73 MB, free: 6.059 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.00102/0.00102, allocations: 191.7 kB / 16.67 MB, free: 5.969 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.572/1.572, allocations: 205.1 MB / 222.5 MB, free: 4.379 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.3482/0.3482, allocations: 37.99 MB / 307.9 MB, free: 10.26 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.001569/0.001569, allocations: 67.91 kB / 433 MB, free: 5.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.327, allocations: 56.47 MB / 489.5 MB, free: 19.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01447/0.3415, allocations: 14.23 MB / 0.4919 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01252/0.3541, allocations: 4.657 MB / 0.4965 GB, free: 6.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00432/0.3585, allocations: 91.59 kB / 0.4966 GB, free: 6.645 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007321/0.3658, allocations: 3.774 MB / 0.5002 GB, free: 4.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0077/0.3736, allocations: 2.413 MB / 0.5026 GB, free: 3.371 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002429/0.376, allocations: 1.008 MB / 0.5036 GB, free: 2.695 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009356/0.3854, allocations: 6.027 MB / 0.5095 GB, free: 15.42 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00641/0.3918, allocations: 4.74 MB / 0.5141 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005096/0.397, allocations: 2.121 MB / 0.5162 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005357/0.4023, allocations: 2.887 MB / 0.519 GB, free: 9.445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0013/0.4037, allocations: 456 kB / 0.5194 GB, free: 9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003258/0.4069, allocations: 1.479 MB / 0.5209 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002455/0.4094, allocations: 2.685 MB / 0.5235 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003197/0.4126, allocations: 3.025 MB / 0.5264 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01128/0.4239, allocations: 9.688 MB / 0.5359 GB, free: 8.059 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.4239, allocations: 0 / 0.5359 GB, free: 8.059 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4239, allocations: 0 / 0.5359 GB, free: 8.059 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002841/0.4242, allocations: 0 / 0.5359 GB, free: 8.059 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.0146/0.4388, allocations: 6.716 MB / 0.5425 GB, free: 1.254 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.525e-05/0.439, allocations: 15.89 kB / 0.5425 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0127/0.4517, allocations: 2.7 MB / 0.5451 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008815/0.4605, allocations: 4.088 MB / 0.5491 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002361/0.4608, allocations: 304.2 kB / 0.5494 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001094/0.4619, allocations: 415.7 kB / 0.5498 GB, free: 9.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02222/0.4841, allocations: 13.01 MB / 0.5625 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001456/0.4843, allocations: 67.53 kB / 0.5626 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004804/0.4848, allocations: 191.8 kB / 0.5628 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003876/0.4887, allocations: 2.515 MB / 0.5652 GB, free: 8.996 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02047/0.5091, allocations: 10.82 MB / 0.5758 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0667/0.5759, allocations: 50.03 MB / 0.6246 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01097/0.5869, allocations: 4.556 MB / 0.6291 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003129/0.59, allocations: 2.449 MB / 0.6315 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2793/0.8693, allocations: 6.744 MB / 0.6381 GB, free: 123.6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.8694, allocations: 54.48 kB / 0.6381 GB, free: 123.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=183): time 5.23e-06/0.8694, allocations: 0 / 0.6381 GB, free: 123.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=195): time 0.05097/0.9204, allocations: 19.8 MB / 0.6574 GB, free: 116.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.098e-05/0.9206, allocations: 229.5 kB / 0.6577 GB, free: 116 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009286/0.9298, allocations: 5.924 MB / 0.6634 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005054/0.9304, allocations: 55.55 kB / 0.6635 GB, free: 114 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002709/0.9331, allocations: 4.22 MB / 0.6676 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001059/0.9342, allocations: 0.8095 MB / 0.6684 GB, free: 110.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001933/0.9361, allocations: 1.543 MB / 0.6699 GB, free: 109.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.654e-05/0.9362, allocations: 301.1 kB / 0.6702 GB, free: 109.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003812/0.94, allocations: 2.64 MB / 0.6728 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005832/0.9458, allocations: 7.155 MB / 0.6798 GB, free: 101.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009321/0.9552, allocations: 10.52 MB / 0.69 GB, free: 92.74 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001651/0.9554, allocations: 49.47 kB / 0.6901 GB, free: 92.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=980) (initialization): time 0.01809/0.9735, allocations: 10.61 MB / 0.7004 GB, free: 84.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.554e-05/0.9736, allocations: 72 kB / 0.7005 GB, free: 83.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001315/0.9737, allocations: 162.4 kB / 0.7007 GB, free: 83.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00297/0.9767, allocations: 1.237 MB / 0.7019 GB, free: 82.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005008/0.9817, allocations: 1.723 MB / 0.7036 GB, free: 80.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007866/0.9896, allocations: 8.489 MB / 0.7118 GB, free: 72.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006323/0.996, allocations: 419.7 kB / 0.7122 GB, free: 71.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001018/0.997, allocations: 451.3 kB / 0.7127 GB, free: 71.24 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.003686/1.001, allocations: 2.691 MB / 0.7153 GB, free: 68.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00108/1.002, allocations: 0.5045 MB / 0.7158 GB, free: 68.03 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006193/1.008, allocations: 4.025 MB / 0.7197 GB, free: 63.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.418e-05/1.008, allocations: 27.92 kB / 0.7198 GB, free: 63.95 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/1.008, allocations: 8 kB / 0.7198 GB, free: 63.95 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.9e-05/1.008, allocations: 7.969 kB / 0.7198 GB, free: 63.94 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01538/1.024, allocations: 9.541 MB / 0.7291 GB, free: 54.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/1.024, allocations: 4.281 kB / 0.7291 GB, free: 54.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001488/1.025, allocations: 327.5 kB / 0.7294 GB, free: 54.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002373/1.027, allocations: 1.004 MB / 0.7304 GB, free: 53 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001653/1.028, allocations: 36 kB / 0.7304 GB, free: 52.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006925/1.035, allocations: 7.834 MB / 0.7381 GB, free: 44.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/1.035, allocations: 7.938 kB / 0.7381 GB, free: 44.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009107/1.044, allocations: 6.904 MB / 0.7448 GB, free: 37.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003064/1.047, allocations: 0.8646 MB / 0.7457 GB, free: 37 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006359/1.047, allocations: 36 kB / 0.7457 GB, free: 36.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001694/1.049, allocations: 119.8 kB / 0.7458 GB, free: 36.85 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002962/1.049, allocations: 112.9 kB / 0.7459 GB, free: 36.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001312/1.05, allocations: 52 kB / 0.746 GB, free: 36.69 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004696/1.054, allocations: 3.79 MB / 0.7497 GB, free: 32.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.054, allocations: 0 / 0.7497 GB, free: 32.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006682/1.061, allocations: 1.293 MB / 0.7509 GB, free: 31.63 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.000459/1.061, allocations: 170.6 kB / 0.7511 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00804/1.07, allocations: 6.345 MB / 0.7573 GB, free: 25.12 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/1.07, allocations: 0 / 0.7573 GB, free: 25.12 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002069/1.072, allocations: 1.899 MB / 0.7591 GB, free: 23.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003614/1.075, allocations: 0.6202 MB / 0.7598 GB, free: 22.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0166/1.092, allocations: 12.24 MB / 0.7717 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003757/1.096, allocations: 4.131 MB / 0.7757 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004992/1.101, allocations: 2.311 MB / 0.778 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009522/1.102, allocations: 323.4 kB / 0.7783 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of SimCode: time 7.21e-07/1.102, allocations: 0 / 0.7783 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of Templates: time 0.08559/1.187, allocations: 44.75 MB / 0.822 GB, free: 6.824 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)