Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.Parts.FixedRotation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation") translateModel(ModelicaTest.MultiBody.Parts.FixedRotation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001361/0.001361, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001307/0.001307, allocations: 191.2 kB / 16.14 MB, free: 6.711 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.669/1.669, allocations: 205.1 MB / 222 MB, free: 4.992 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.3491/0.3491, allocations: 39.94 MB / 309.3 MB, free: 9.27 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.00134/0.00134, allocations: 78.33 kB / 376.9 MB, free: 13.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1367, allocations: 56.88 MB / 433.8 MB, free: 4.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.2816/0.4184, allocations: 41.39 MB / 475.2 MB, free: 29.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01945/0.4379, allocations: 7.843 MB / 483 MB, free: 24.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01119/0.4492, allocations: 176.7 kB / 483.2 MB, free: 24.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004481/0.4537, allocations: 2.101 MB / 485.3 MB, free: 23.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005781/0.4595, allocations: 2.389 MB / 487.7 MB, free: 22.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009554/0.4605, allocations: 278.3 kB / 488 MB, free: 22.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009552/0.4701, allocations: 9.021 MB / 497 MB, free: 19.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007746/0.4778, allocations: 3.273 MB / 0.4885 GB, free: 18.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005365/0.4833, allocations: 1.881 MB / 0.4904 GB, free: 18.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008716/0.492, allocations: 2.952 MB / 0.4933 GB, free: 17.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003112/0.4952, allocations: 279.4 kB / 0.4935 GB, free: 17.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005372/0.5006, allocations: 0.7181 MB / 0.4942 GB, free: 16.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007151/0.5078, allocations: 2.712 MB / 0.4969 GB, free: 16.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009417/0.5172, allocations: 3.278 MB / 0.5001 GB, free: 13.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02173/0.539, allocations: 10.04 MB / 0.5099 GB, free: 7.762 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.5391, allocations: 0 / 0.5099 GB, free: 7.762 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.5391, allocations: 0 / 0.5099 GB, free: 7.762 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006108/0.5397, allocations: 0 / 0.5099 GB, free: 7.762 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.03556/0.5753, allocations: 7.036 MB / 0.5168 GB, free: 2.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.639e-05/0.5754, allocations: 9.188 kB / 0.5168 GB, free: 2.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03713/0.6126, allocations: 5.861 MB / 0.5225 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01288/0.6255, allocations: 3.253 MB / 0.5257 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006654/0.6262, allocations: 328.5 kB / 0.526 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004524/0.6308, allocations: 415.6 kB / 0.5264 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04454/0.6754, allocations: 18.89 MB / 0.5448 GB, free: 6.438 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001804/0.6756, allocations: 31.69 kB / 0.5448 GB, free: 6.406 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002693/0.6783, allocations: 207.6 kB / 0.545 GB, free: 6.203 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008112/0.6864, allocations: 4.754 MB / 0.5497 GB, free: 1.445 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03855/0.725, allocations: 17.53 MB / 0.5668 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1155/0.8405, allocations: 61.24 MB / 0.6266 GB, free: 1.102 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2949/1.135, allocations: 8.422 MB / 0.6348 GB, free: 138.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003727/1.139, allocations: 2.58 MB / 0.6374 GB, free: 137.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01995/1.159, allocations: 11.87 MB / 0.649 GB, free: 132 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.64e-05/1.159, allocations: 54.62 kB / 0.649 GB, free: 132 MB / 494.1 MB Notification: Performance of pre-optimization done (n=321): time 9.979e-06/1.159, allocations: 3.281 kB / 0.649 GB, free: 132 MB / 494.1 MB Notification: Performance of matching and sorting (n=321): time 0.01731/1.177, allocations: 7.515 MB / 0.6563 GB, free: 130.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.948e-05/1.177, allocations: 101.4 kB / 0.6564 GB, free: 130.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01052/1.187, allocations: 5.68 MB / 0.662 GB, free: 128.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005628/1.188, allocations: 62.48 kB / 0.6621 GB, free: 128.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004145/1.192, allocations: 5.076 MB / 0.667 GB, free: 124.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003001/1.195, allocations: 1.204 MB / 0.6682 GB, free: 123.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006731/1.202, allocations: 1.9 MB / 0.67 GB, free: 122.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.476e-05/1.202, allocations: 307 kB / 0.6703 GB, free: 122.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009156/1.211, allocations: 3.208 MB / 0.6735 GB, free: 121.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0141/1.225, allocations: 8.649 MB / 0.6819 GB, free: 113 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01384/1.239, allocations: 12.92 MB / 0.6945 GB, free: 102.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003268/1.24, allocations: 53.94 kB / 0.6946 GB, free: 102.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02453/1.264, allocations: 11.64 MB / 0.7059 GB, free: 95.65 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003381/1.265, allocations: 88 kB / 0.706 GB, free: 95.56 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005618/1.265, allocations: 188.9 kB / 0.7062 GB, free: 95.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005272/1.266, allocations: 259.9 kB / 0.7065 GB, free: 95.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007721/1.273, allocations: 2.079 MB / 0.7085 GB, free: 93.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005627/1.274, allocations: 376.7 kB / 0.7088 GB, free: 92.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01051/1.285, allocations: 1.32 MB / 0.7101 GB, free: 91.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002633/1.287, allocations: 0.552 MB / 0.7107 GB, free: 91.14 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009203/1.296, allocations: 3.703 MB / 0.7143 GB, free: 87.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001147/1.298, allocations: 485.4 kB / 0.7148 GB, free: 87.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001698/1.299, allocations: 0.6507 MB / 0.7154 GB, free: 86.88 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-05/1.299, allocations: 55.59 kB / 0.7154 GB, free: 86.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.459e-05/1.299, allocations: 0 / 0.7154 GB, free: 86.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.739e-05/1.3, allocations: 11.53 kB / 0.7155 GB, free: 86.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02577/1.325, allocations: 12.63 MB / 0.7278 GB, free: 75.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.03e-05/1.325, allocations: 20.03 kB / 0.7278 GB, free: 75.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001738/1.327, allocations: 426.2 kB / 0.7282 GB, free: 75.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-05/1.327, allocations: 27.94 kB / 0.7282 GB, free: 75.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003525/1.328, allocations: 66.39 kB / 0.7283 GB, free: 75.53 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.509e-05/1.328, allocations: 31.7 kB / 0.7283 GB, free: 75.51 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.698e-06/1.328, allocations: 23.88 kB / 0.7284 GB, free: 75.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005637/1.333, allocations: 4.63 MB / 0.7329 GB, free: 71.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00158/1.335, allocations: 0.5563 MB / 0.7334 GB, free: 70.47 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001362/1.336, allocations: 63.83 kB / 0.7335 GB, free: 70.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002455/1.339, allocations: 122.4 kB / 0.7336 GB, free: 70.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004064/1.339, allocations: 179.8 kB / 0.7338 GB, free: 70.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002404/1.339, allocations: 103.5 kB / 0.7339 GB, free: 70.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007964/1.347, allocations: 3.492 MB / 0.7373 GB, free: 67.26 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.8e-07/1.347, allocations: 0 / 0.7373 GB, free: 67.26 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01333/1.361, allocations: 1.983 MB / 0.7392 GB, free: 65.27 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001112/1.362, allocations: 209.1 kB / 0.7394 GB, free: 65.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01152/1.373, allocations: 7.27 MB / 0.7465 GB, free: 58.35 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-05/1.373, allocations: 4 kB / 0.7465 GB, free: 58.35 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002712/1.376, allocations: 2.007 MB / 0.7485 GB, free: 56.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006122/1.382, allocations: 0.5966 MB / 0.7491 GB, free: 55.77 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03355/1.416, allocations: 19.25 MB / 0.7679 GB, free: 36.29 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01242/1.428, allocations: 5.416 MB / 0.7732 GB, free: 30.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.01024/1.439, allocations: 3.547 MB / 0.7766 GB, free: 27.29 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00193/1.441, allocations: 375.4 kB / 0.777 GB, free: 26.92 MB / 494.1 MB Notification: Performance of SimCode: time 1.001e-06/1.441, allocations: 4 kB / 0.777 GB, free: 26.92 MB / 494.1 MB Notification: Performance of Templates: time 0.3526/1.793, allocations: 44.19 MB / 0.8201 GB, free: 130.2 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1)