Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation.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.Parts.FixedRotation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation") translateModel(ModelicaTest.MultiBody.Parts.FixedRotation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001036/0.001036, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.3395/0.3395, allocations: 38.03 MB / 308.4 MB, free: 10.4 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.0006186/0.0006188, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1392, allocations: 57.52 MB / 433.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.2712/0.4104, allocations: 35.38 MB / 469.3 MB, free: 32.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02113/0.4316, allocations: 7.81 MB / 477.1 MB, free: 30.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0083/0.44, allocations: 178 kB / 477.3 MB, free: 30.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006743/0.4468, allocations: 1.887 MB / 479.2 MB, free: 29.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02021/0.467, allocations: 5.295 MB / 484.5 MB, free: 27.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002571/0.4696, allocations: 248.4 kB / 484.7 MB, free: 27.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02461/0.4942, allocations: 15.27 MB / 500 MB, free: 23.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008467/0.5028, allocations: 3.862 MB / 0.492 GB, free: 21.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004691/0.5075, allocations: 1.561 MB / 0.4936 GB, free: 21.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004978/0.5125, allocations: 1.93 MB / 0.4954 GB, free: 20.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002286/0.5148, allocations: 230.5 kB / 0.4957 GB, free: 20.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003279/0.5181, allocations: 0.5619 MB / 0.4962 GB, free: 20.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005666/0.5238, allocations: 2.383 MB / 0.4985 GB, free: 19.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005536/0.5294, allocations: 1.33 MB / 0.4998 GB, free: 18.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01459/0.544, allocations: 8.129 MB / 0.5078 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.5441, allocations: 4 kB / 0.5078 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.679e-06/0.5441, allocations: 2 kB / 0.5078 GB, free: 13.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000697/0.5448, allocations: 0 / 0.5078 GB, free: 13.78 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: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.02058/0.5654, allocations: 5.95 MB / 0.5136 GB, free: 9.586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.5654, allocations: 11.16 kB / 0.5136 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02209/0.5875, allocations: 7.134 MB / 0.5206 GB, free: 3.227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01044/0.598, allocations: 3.21 MB / 0.5237 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005835/0.5987, allocations: 327.8 kB / 0.524 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003645/0.6024, allocations: 419.7 kB / 0.5244 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04767/0.65, allocations: 18.97 MB / 0.5429 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001979/0.6503, allocations: 39.62 kB / 0.543 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002978/0.6533, allocations: 207.6 kB / 0.5432 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008931/0.6622, allocations: 4.746 MB / 0.5478 GB, free: 6.496 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04042/0.7027, allocations: 17.59 MB / 0.565 GB, free: 4.871 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1315/0.8342, allocations: 61.37 MB / 0.6249 GB, free: 5.961 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2614/1.096, allocations: 8.423 MB / 0.6332 GB, free: 132.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02256/1.118, allocations: 11.93 MB / 0.6448 GB, free: 129.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/1.118, allocations: 60.33 kB / 0.6449 GB, free: 129.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=321): time 7.243e-06/1.118, allocations: 3.125 kB / 0.6449 GB, free: 129.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=321): time 0.01693/1.135, allocations: 8.547 MB / 0.6532 GB, free: 126.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.11e-05/1.135, allocations: 105.2 kB / 0.6533 GB, free: 126.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00813/1.144, allocations: 5.634 MB / 0.6588 GB, free: 124.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004474/1.144, allocations: 62.64 kB / 0.6589 GB, free: 124.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002919/1.147, allocations: 5.078 MB / 0.6638 GB, free: 120.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001754/1.149, allocations: 1.194 MB / 0.665 GB, free: 119.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004356/1.149, allocations: 183.1 kB / 0.6652 GB, free: 119.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0006013/1.15, allocations: 0.7234 MB / 0.6659 GB, free: 119.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005795/1.156, allocations: 3.179 MB / 0.669 GB, free: 118.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01005/1.166, allocations: 8.584 MB / 0.6774 GB, free: 110.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009893/1.176, allocations: 5.277 MB / 0.6825 GB, free: 108.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002155/1.176, allocations: 54.44 kB / 0.6826 GB, free: 108.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02439/1.2, allocations: 11.58 MB / 0.6939 GB, free: 103.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000321/1.201, allocations: 88.69 kB / 0.694 GB, free: 103.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000395/1.201, allocations: 195.9 kB / 0.6941 GB, free: 103.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003685/1.201, allocations: 277.2 kB / 0.6944 GB, free: 103.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006835/1.208, allocations: 2.067 MB / 0.6964 GB, free: 103.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003735/1.209, allocations: 378.6 kB / 0.6968 GB, free: 103.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007985/1.217, allocations: 1.324 MB / 0.6981 GB, free: 102.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002037/1.219, allocations: 0.5535 MB / 0.6986 GB, free: 102.6 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 868 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1140): * Single equations (assignments): 1122 * Array equations: 18 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009768/1.229, allocations: 3.702 MB / 0.7022 GB, free: 101 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001489/1.23, allocations: 487.3 kB / 0.7027 GB, free: 100.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002378/1.232, allocations: 0.6441 MB / 0.7033 GB, free: 100.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001275/1.233, allocations: 59.91 kB / 0.7034 GB, free: 100.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.362e-05/1.233, allocations: 0 / 0.7034 GB, free: 100.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.197e-05/1.233, allocations: 14.91 kB / 0.7034 GB, free: 100.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03432/1.267, allocations: 12.61 MB / 0.7157 GB, free: 92.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-05/1.267, allocations: 16 kB / 0.7157 GB, free: 92.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001901/1.269, allocations: 418.9 kB / 0.7161 GB, free: 92.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-05/1.269, allocations: 24 kB / 0.7162 GB, free: 92.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003491/1.269, allocations: 66.42 kB / 0.7162 GB, free: 92.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.343e-05/1.269, allocations: 31.55 kB / 0.7163 GB, free: 92.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.205e-05/1.269, allocations: 23.88 kB / 0.7163 GB, free: 92.05 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006027/1.276, allocations: 6.582 MB / 0.7227 GB, free: 85.39 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001986/1.278, allocations: 0.5902 MB / 0.7233 GB, free: 84.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001401/1.279, allocations: 62.64 kB / 0.7233 GB, free: 84.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002464/1.281, allocations: 121.8 kB / 0.7235 GB, free: 84.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003508/1.282, allocations: 176.4 kB / 0.7236 GB, free: 84.53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002235/1.282, allocations: 104.5 kB / 0.7237 GB, free: 84.44 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006956/1.289, allocations: 3.461 MB / 0.7271 GB, free: 81.63 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.91e-07/1.289, allocations: 0 / 0.7271 GB, free: 81.63 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01055/1.3, allocations: 1.987 MB / 0.729 GB, free: 79.64 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 0 () * 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 (225): * Single equations (assignments): 213 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009506/1.301, allocations: 201.7 kB / 0.7292 GB, free: 79.45 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01257/1.313, allocations: 7.244 MB / 0.7363 GB, free: 73.05 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.571e-05/1.313, allocations: 4 kB / 0.7363 GB, free: 73.05 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00275/1.316, allocations: 1.999 MB / 0.7383 GB, free: 71.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004104/1.32, allocations: 0.5595 MB / 0.7388 GB, free: 70.78 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03388/1.354, allocations: 18.45 MB / 0.7568 GB, free: 53.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01047/1.364, allocations: 5.579 MB / 0.7623 GB, free: 47.78 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.009666/1.374, allocations: 3.547 MB / 0.7657 GB, free: 44.23 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001893/1.376, allocations: 371.4 kB / 0.7661 GB, free: 43.86 MB / 494.1 MB Notification: Performance of SimCode: time 1.002e-06/1.376, allocations: 4 kB / 0.7661 GB, free: 43.86 MB / 494.1 MB Notification: Performance of Templates: time 0.08392/1.46, allocations: 42.84 MB / 0.8079 GB, free: 1.18 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) Environment - environmentSimulation: