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.007992/0.007992, allocations: 103.4 kB / 15.74 MB, free: 5.957 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.001996/0.001996, allocations: 192.6 kB / 16.68 MB, free: 5.887 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.491/1.491, allocations: 205.1 MB / 222.5 MB, free: 4.457 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.3534/0.3534, allocations: 38 MB / 307.9 MB, free: 10.18 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.00181/0.00181, allocations: 72.42 kB / 433 MB, free: 5.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3971, allocations: 56.47 MB / 489.5 MB, free: 19.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.0214/0.4186, allocations: 20.84 MB / 0.4984 GB, free: 5.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01869/0.4373, allocations: 6.07 MB / 0.5043 GB, free: 1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007792/0.4452, allocations: 140.2 kB / 0.5044 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01466/0.4599, allocations: 6.402 MB / 0.5107 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01276/0.4727, allocations: 3.335 MB / 0.514 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005261/0.478, allocations: 1.594 MB / 0.5155 GB, free: 9.398 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01951/0.4975, allocations: 9.833 MB / 0.5251 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01104/0.5086, allocations: 8.34 MB / 0.5333 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008132/0.5168, allocations: 3.439 MB / 0.5366 GB, free: 7.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008736/0.5256, allocations: 4.759 MB / 0.5413 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003577/0.5292, allocations: 0.7734 MB / 0.542 GB, free: 1.773 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006293/0.5355, allocations: 1.772 MB / 0.5437 GB, free: 16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007232/0.5428, allocations: 4.321 MB / 0.548 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01196/0.5548, allocations: 4.825 MB / 0.5527 GB, free: 6.816 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02495/0.5798, allocations: 14.99 MB / 0.5673 GB, free: 7.773 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.5799, allocations: 0 / 0.5673 GB, free: 7.773 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5799, allocations: 0 / 0.5673 GB, free: 7.773 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006466/0.5805, allocations: 0 / 0.5673 GB, free: 7.773 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: 2951 * Number of variables: 2951 Notification: Performance of Generate backend data structure: time 0.03166/0.6122, allocations: 10.07 MB / 0.5772 GB, free: 13.6 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.6123, allocations: 11.89 kB / 0.5772 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02041/0.6327, allocations: 3.737 MB / 0.5808 GB, free: 9.836 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01704/0.6498, allocations: 6.675 MB / 0.5873 GB, free: 3.082 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005719/0.6504, allocations: 0.4932 MB / 0.5878 GB, free: 2.586 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002982/0.6534, allocations: 0.6558 MB / 0.5885 GB, free: 1.93 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04253/0.6959, allocations: 19.91 MB / 0.6079 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003199/0.6963, allocations: 87.16 kB / 0.608 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001163/0.6974, allocations: 311.7 kB / 0.6083 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006105/0.7036, allocations: 3.61 MB / 0.6118 GB, free: 8.844 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03817/0.7417, allocations: 16.74 MB / 0.6282 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3761/1.118, allocations: 72.73 MB / 0.6992 GB, free: 70.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02077/1.139, allocations: 8.501 MB / 0.7075 GB, free: 65.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005488/1.144, allocations: 4.539 MB / 0.7119 GB, free: 63.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006148/1.145, allocations: 0.6605 MB / 0.7126 GB, free: 62.87 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.907e-05/1.145, allocations: 70.56 kB / 0.7126 GB, free: 62.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=311): time 5.861e-06/1.145, allocations: 0 / 0.7126 GB, free: 62.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=335): time 0.08763/1.233, allocations: 35.75 MB / 0.7476 GB, free: 32.28 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.481e-05/1.233, allocations: 291.7 kB / 0.7478 GB, free: 31.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009191/1.242, allocations: 7.822 MB / 0.7555 GB, free: 24.14 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009908/1.243, allocations: 73.7 kB / 0.7555 GB, free: 24.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002705/1.246, allocations: 5.739 MB / 0.7611 GB, free: 18.33 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001553/1.247, allocations: 1.282 MB / 0.7624 GB, free: 17.06 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002361/1.25, allocations: 2.077 MB / 0.7644 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.8e-05/1.25, allocations: 305.1 kB / 0.7647 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004852/1.255, allocations: 4.123 MB / 0.7687 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008083/1.263, allocations: 9.834 MB / 0.7783 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02133/1.284, allocations: 14.9 MB / 0.7929 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002121/1.284, allocations: 67.94 kB / 0.793 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.03298/1.317, allocations: 15.82 MB / 0.8084 GB, free: 12.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001426/1.317, allocations: 93.88 kB / 0.8085 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002227/1.318, allocations: 200.9 kB / 0.8087 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006155/1.324, allocations: 2.327 MB / 0.811 GB, free: 9.672 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008142/1.332, allocations: 2.351 MB / 0.8133 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02151/1.353, allocations: 16.75 MB / 0.8296 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01208/1.366, allocations: 0.5813 MB / 0.8302 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002849/1.369, allocations: 0.582 MB / 0.8308 GB, free: 4.848 MB / 0.5606 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.009728/1.378, allocations: 3.884 MB / 0.8346 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001997/1.38, allocations: 0.6595 MB / 0.8352 GB, free: 292 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01591/1.396, allocations: 7.99 MB / 0.843 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.314e-05/1.396, allocations: 35.83 kB / 0.843 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.163e-05/1.396, allocations: 16 kB / 0.8431 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.249e-05/1.396, allocations: 15.94 kB / 0.8431 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0338/1.43, allocations: 17.33 MB / 0.86 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/1.43, allocations: 0 / 0.86 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002856/1.433, allocations: 0.5617 MB / 0.8605 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005505/1.439, allocations: 1.994 MB / 0.8625 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003114/1.439, allocations: 59.98 kB / 0.8625 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3005/1.739, allocations: 15.6 MB / 0.8778 GB, free: 194.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.739, allocations: 2.094 kB / 0.8778 GB, free: 194.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02204/1.762, allocations: 12.4 MB / 0.8899 GB, free: 189.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004649/1.766, allocations: 1.275 MB / 0.8911 GB, free: 189.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002137/1.768, allocations: 54.41 kB / 0.8912 GB, free: 189.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004449/1.773, allocations: 230.4 kB / 0.8914 GB, free: 189.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007748/1.774, allocations: 197.2 kB / 0.8916 GB, free: 189.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002833/1.774, allocations: 90.48 kB / 0.8917 GB, free: 189.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.01102/1.785, allocations: 4.995 MB / 0.8966 GB, free: 187.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.31e-07/1.785, allocations: 0 / 0.8966 GB, free: 187.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01469/1.8, allocations: 2.013 MB / 0.8985 GB, free: 187.4 MB / 0.5919 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.000972/1.801, allocations: 209.8 kB / 0.8987 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01554/1.816, allocations: 10.13 MB / 0.9086 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/1.816, allocations: 0.625 kB / 0.9086 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004799/1.821, allocations: 3.655 MB / 0.9122 GB, free: 181.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00628/1.827, allocations: 0.9639 MB / 0.9131 GB, free: 181.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0304/1.858, allocations: 18.83 MB / 0.9315 GB, free: 167.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008621/1.867, allocations: 5.952 MB / 0.9373 GB, free: 161.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006832/1.873, allocations: 3.07 MB / 0.9403 GB, free: 158.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001787/1.875, allocations: 463.4 kB / 0.9408 GB, free: 158.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.012e-06/1.875, allocations: 0 / 0.9408 GB, free: 158.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.117/1.992, allocations: 75.49 MB / 1.014 GB, free: 82.95 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (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)