Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.008154/0.008159, allocations: 100.9 kB / 15.73 MB, free: 6.031 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.001259/0.001259, allocations: 187.6 kB / 16.67 MB, free: 5.965 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.604/1.604, allocations: 205.1 MB / 222.6 MB, free: 4.406 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4204/0.4204, allocations: 39.95 MB / 309.8 MB, free: 9.664 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.2. 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.001828/0.001828, allocations: 64.47 kB / 435.8 MB, free: 2.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4247/0.4266, allocations: 56.87 MB / 492.7 MB, free: 19.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01619/0.4428, allocations: 14.24 MB / 0.495 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01363/0.4565, allocations: 4.663 MB / 0.4996 GB, free: 6.309 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004886/0.4614, allocations: 91.78 kB / 0.4997 GB, free: 6.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007401/0.4689, allocations: 3.768 MB / 0.5034 GB, free: 3.762 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008882/0.4778, allocations: 2.425 MB / 0.5057 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002972/0.4808, allocations: 0.9969 MB / 0.5067 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01232/0.4931, allocations: 6.031 MB / 0.5126 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008125/0.5013, allocations: 4.726 MB / 0.5172 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00573/0.5071, allocations: 2.122 MB / 0.5193 GB, free: 9.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005796/0.5129, allocations: 2.889 MB / 0.5221 GB, free: 6.262 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002421/0.5154, allocations: 460 kB / 0.5225 GB, free: 5.812 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004986/0.5204, allocations: 1.482 MB / 0.524 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004661/0.5251, allocations: 2.704 MB / 0.5266 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007649/0.5328, allocations: 3.025 MB / 0.5296 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01512/0.5479, allocations: 9.651 MB / 0.539 GB, free: 4.891 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.548, allocations: 0 / 0.539 GB, free: 4.891 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.548, allocations: 0 / 0.539 GB, free: 4.891 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003634/0.5484, allocations: 4 kB / 0.539 GB, free: 4.887 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.01787/0.5662, allocations: 6.554 MB / 0.5454 GB, free: 14.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.5663, allocations: 11.89 kB / 0.5454 GB, free: 14.24 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01234/0.5787, allocations: 2.66 MB / 0.548 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01106/0.5898, allocations: 4.074 MB / 0.552 GB, free: 7.438 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002977/0.5901, allocations: 308.2 kB / 0.5523 GB, free: 7.133 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001744/0.5919, allocations: 419.5 kB / 0.5527 GB, free: 6.723 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02391/0.6158, allocations: 13 MB / 0.5654 GB, free: 8.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001786/0.616, allocations: 59.45 kB / 0.5655 GB, free: 8.762 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004971/0.6165, allocations: 199.8 kB / 0.5656 GB, free: 8.566 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003953/0.6205, allocations: 2.499 MB / 0.5681 GB, free: 6.062 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02189/0.6424, allocations: 10.83 MB / 0.5787 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07037/0.7128, allocations: 49.93 MB / 0.6274 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01106/0.7239, allocations: 4.538 MB / 0.6319 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003861/0.7278, allocations: 2.452 MB / 0.6342 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4151/1.143, allocations: 6.729 MB / 0.6408 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.386e-05/1.143, allocations: 53.22 kB / 0.6409 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=183): time 5.37e-06/1.143, allocations: 1.625 kB / 0.6409 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=195): time 0.05791/1.201, allocations: 19.41 MB / 0.6598 GB, free: 115.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/1.201, allocations: 236.8 kB / 0.6601 GB, free: 115 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01029/1.211, allocations: 5.913 MB / 0.6658 GB, free: 112.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005803/1.212, allocations: 52.48 kB / 0.6659 GB, free: 112.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002739/1.215, allocations: 4.077 MB / 0.6699 GB, free: 109.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001259/1.216, allocations: 0.7702 MB / 0.6706 GB, free: 109.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002049/1.218, allocations: 1.537 MB / 0.6721 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.196e-05/1.218, allocations: 312.4 kB / 0.6724 GB, free: 108 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003753/1.222, allocations: 2.632 MB / 0.675 GB, free: 106.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007267/1.229, allocations: 7.156 MB / 0.682 GB, free: 99.22 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01209/1.241, allocations: 10.51 MB / 0.6922 GB, free: 89.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001956/1.242, allocations: 44 kB / 0.6923 GB, free: 89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=980) (initialization): time 0.02034/1.262, allocations: 10.58 MB / 0.7026 GB, free: 78.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001929/1.262, allocations: 72 kB / 0.7027 GB, free: 78.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003018/1.262, allocations: 165.2 kB / 0.7028 GB, free: 78.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003139/1.266, allocations: 1.233 MB / 0.704 GB, free: 76.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005702/1.271, allocations: 1.723 MB / 0.7057 GB, free: 75.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008907/1.28, allocations: 8.491 MB / 0.714 GB, free: 66.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009051/1.289, allocations: 407.5 kB / 0.7144 GB, free: 66.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001475/1.291, allocations: 459.8 kB / 0.7148 GB, free: 65.6 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.005477/1.296, allocations: 2.7 MB / 0.7175 GB, free: 62.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001539/1.298, allocations: 481.7 kB / 0.7179 GB, free: 62.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007503/1.305, allocations: 4.037 MB / 0.7219 GB, free: 58.35 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.773e-05/1.305, allocations: 20 kB / 0.7219 GB, free: 58.33 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.852e-05/1.305, allocations: 8 kB / 0.7219 GB, free: 58.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.72e-05/1.306, allocations: 7.969 kB / 0.7219 GB, free: 58.31 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02395/1.329, allocations: 9.54 MB / 0.7312 GB, free: 48.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.742e-05/1.33, allocations: 4 kB / 0.7312 GB, free: 48.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001703/1.331, allocations: 327.4 kB / 0.7315 GB, free: 48.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002592/1.334, allocations: 1.007 MB / 0.7325 GB, free: 47.37 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003208/1.334, allocations: 36 kB / 0.7326 GB, free: 47.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007762/1.342, allocations: 7.813 MB / 0.7402 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.342, allocations: 12 kB / 0.7402 GB, free: 39.24 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01036/1.352, allocations: 6.886 MB / 0.7469 GB, free: 32.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003204/1.356, allocations: 0.8423 MB / 0.7477 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001724/1.357, allocations: 28 kB / 0.7478 GB, free: 31.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003332/1.361, allocations: 123.8 kB / 0.7479 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004033/1.361, allocations: 117 kB / 0.748 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001661/1.361, allocations: 56.11 kB / 0.7481 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.008182/1.37, allocations: 3.782 MB / 0.7518 GB, free: 27.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.6e-07/1.37, allocations: 0 / 0.7518 GB, free: 27.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.009276/1.379, allocations: 1.295 MB / 0.753 GB, free: 26.07 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.0008671/1.38, allocations: 173.5 kB / 0.7532 GB, free: 25.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01065/1.39, allocations: 6.334 MB / 0.7594 GB, free: 19.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.409e-05/1.39, allocations: 4.188 kB / 0.7594 GB, free: 19.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002812/1.393, allocations: 1.909 MB / 0.7612 GB, free: 17.63 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007449/1.401, allocations: 0.6194 MB / 0.7618 GB, free: 17.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02504/1.426, allocations: 12.05 MB / 0.7736 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004959/1.431, allocations: 4.131 MB / 0.7776 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005287/1.436, allocations: 2.315 MB / 0.7799 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000926/1.437, allocations: 319.3 kB / 0.7802 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of SimCode: time 6.31e-07/1.437, allocations: 0 / 0.7802 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of Templates: time 0.09663/1.534, allocations: 44.67 MB / 0.8238 GB, free: 1.582 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1)