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.001244/0.001244, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.809/1.809, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.3343/0.3343, allocations: 38 MB / 307.8 MB, free: 10.11 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.002639/0.002639, allocations: 77.17 kB / 375.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1478, allocations: 56.47 MB / 431.7 MB, free: 6.656 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01606/0.1639, allocations: 14.22 MB / 445.9 MB, free: 8.363 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01194/0.1759, allocations: 4.665 MB / 450.6 MB, free: 3.684 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003675/0.1796, allocations: 95.69 kB / 450.7 MB, free: 3.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2552/0.4349, allocations: 3.768 MB / 454.5 MB, free: 35.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006993/0.442, allocations: 2.419 MB / 456.9 MB, free: 35.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002241/0.4442, allocations: 1.01 MB / 457.9 MB, free: 35.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00786/0.4521, allocations: 6.011 MB / 463.9 MB, free: 35.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004814/0.457, allocations: 4.747 MB / 468.6 MB, free: 34.85 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003226/0.4602, allocations: 2.117 MB / 470.8 MB, free: 34.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003752/0.464, allocations: 2.884 MB / 473.6 MB, free: 33.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001006/0.465, allocations: 457.9 kB / 474.1 MB, free: 33.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002875/0.4679, allocations: 1.482 MB / 475.6 MB, free: 33.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002695/0.4706, allocations: 2.678 MB / 478.3 MB, free: 32.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002958/0.4736, allocations: 3.029 MB / 481.3 MB, free: 30.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01368/0.4872, allocations: 9.344 MB / 490.6 MB, free: 26.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.467e-06/0.4873, allocations: 0 / 490.6 MB, free: 26.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.4873, allocations: 0 / 490.6 MB, free: 26.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006471/0.488, allocations: 1.125 kB / 490.6 MB, free: 26.89 MB / 382.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.0254/0.5134, allocations: 6.555 MB / 497.2 MB, free: 23.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.5135, allocations: 12.8 kB / 497.2 MB, free: 23.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01375/0.5272, allocations: 2.659 MB / 499.9 MB, free: 22.92 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01133/0.5386, allocations: 3.996 MB / 0.492 GB, free: 20.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005581/0.5392, allocations: 312.1 kB / 0.4923 GB, free: 20.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003173/0.5424, allocations: 418.6 kB / 0.4927 GB, free: 20.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03929/0.5817, allocations: 13.01 MB / 0.5054 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005448/0.5823, allocations: 59.25 kB / 0.5055 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003137/0.5855, allocations: 195.1 kB / 0.5057 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004863/0.5904, allocations: 2.508 MB / 0.5081 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02425/0.6146, allocations: 10.83 MB / 0.5187 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08935/0.704, allocations: 50.16 MB / 0.5677 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01246/0.7165, allocations: 4.545 MB / 0.5721 GB, free: 7.996 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004829/0.7214, allocations: 2.453 MB / 0.5745 GB, free: 5.535 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01643/0.7379, allocations: 6.743 MB / 0.5811 GB, free: 14.73 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.07e-05/0.738, allocations: 47.66 kB / 0.5812 GB, free: 14.68 MB / 462.1 MB Notification: Performance of pre-optimization done (n=183): time 5.931e-06/0.738, allocations: 0 / 0.5812 GB, free: 14.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=195): time 0.06145/0.7994, allocations: 19.42 MB / 0.6001 GB, free: 11.04 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000151/0.7996, allocations: 223.2 kB / 0.6003 GB, free: 10.77 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01137/0.811, allocations: 5.921 MB / 0.6061 GB, free: 4.867 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000573/0.8116, allocations: 56.67 kB / 0.6062 GB, free: 4.809 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003167/0.8148, allocations: 4.069 MB / 0.6101 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00133/0.8161, allocations: 0.7682 MB / 0.6109 GB, free: 15.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002322/0.8185, allocations: 1.536 MB / 0.6124 GB, free: 14.44 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.8186, allocations: 312.7 kB / 0.6127 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004218/0.8228, allocations: 2.63 MB / 0.6153 GB, free: 11.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007556/0.8304, allocations: 7.163 MB / 0.6223 GB, free: 2.121 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3164/1.147, allocations: 10.5 MB / 0.6325 GB, free: 135.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001547/1.147, allocations: 49.38 kB / 0.6326 GB, free: 135.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=980) (initialization): time 0.02153/1.169, allocations: 10.58 MB / 0.6429 GB, free: 131.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001786/1.169, allocations: 73.59 kB / 0.643 GB, free: 131.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003255/1.169, allocations: 160.2 kB / 0.6431 GB, free: 131.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003441/1.173, allocations: 1.239 MB / 0.6443 GB, free: 131.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006535/1.179, allocations: 1.721 MB / 0.646 GB, free: 131.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01076/1.19, allocations: 8.492 MB / 0.6543 GB, free: 126.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008231/1.198, allocations: 412.4 kB / 0.6547 GB, free: 126.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002393/1.201, allocations: 452 kB / 0.6551 GB, free: 126 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 (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.008592/1.209, allocations: 2.701 MB / 0.6578 GB, free: 124.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002312/1.212, allocations: 483.2 kB / 0.6582 GB, free: 124.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01232/1.224, allocations: 4.042 MB / 0.6622 GB, free: 123.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.033e-05/1.224, allocations: 20.91 kB / 0.6622 GB, free: 123.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.104e-05/1.224, allocations: 6.781 kB / 0.6622 GB, free: 123.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.102e-05/1.224, allocations: 7.906 kB / 0.6622 GB, free: 123.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03146/1.256, allocations: 9.565 MB / 0.6715 GB, free: 120 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.398e-05/1.256, allocations: 6.781 kB / 0.6715 GB, free: 120 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001747/1.257, allocations: 318.9 kB / 0.6718 GB, free: 120 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002891/1.26, allocations: 1.015 MB / 0.6728 GB, free: 119.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003807/1.261, allocations: 31.75 kB / 0.6729 GB, free: 119.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008149/1.269, allocations: 7.828 MB / 0.6805 GB, free: 114.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-06/1.269, allocations: 7.844 kB / 0.6805 GB, free: 114.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01174/1.281, allocations: 6.879 MB / 0.6872 GB, free: 112.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003189/1.284, allocations: 0.8413 MB / 0.6881 GB, free: 111.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00204/1.286, allocations: 34.38 kB / 0.6881 GB, free: 111.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003367/1.289, allocations: 116.5 kB / 0.6882 GB, free: 111.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005593/1.29, allocations: 112.2 kB / 0.6883 GB, free: 111.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002325/1.29, allocations: 60.23 kB / 0.6884 GB, free: 111.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.009948/1.3, allocations: 3.783 MB / 0.6921 GB, free: 109.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.12e-07/1.3, allocations: 4 kB / 0.6921 GB, free: 109.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01289/1.313, allocations: 1.287 MB / 0.6933 GB, free: 108 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 (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.001186/1.314, allocations: 178.1 kB / 0.6935 GB, free: 107.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01384/1.328, allocations: 6.948 MB / 0.7003 GB, free: 100.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/1.328, allocations: 0 / 0.7003 GB, free: 100.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00338/1.332, allocations: 1.91 MB / 0.7021 GB, free: 99 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00749/1.339, allocations: 0.6378 MB / 0.7028 GB, free: 98.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02247/1.362, allocations: 12.19 MB / 0.7147 GB, free: 86.17 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004374/1.366, allocations: 4.119 MB / 0.7187 GB, free: 82.02 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005615/1.372, allocations: 2.318 MB / 0.721 GB, free: 79.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/1.373, allocations: 323.4 kB / 0.7213 GB, free: 79.38 MB / 494.1 MB Notification: Performance of SimCode: time 2.524e-06/1.373, allocations: 0 / 0.7213 GB, free: 79.38 MB / 494.1 MB Notification: Performance of Templates: time 0.09487/1.468, allocations: 49.26 MB / 0.7694 GB, free: 30.23 MB / 494.1 MB 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)