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.008268/0.008268, allocations: 100.9 kB / 15.73 MB, free: 6.035 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.001371/0.001371, allocations: 189.4 kB / 16.67 MB, free: 5.969 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.732/1.732, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.3788/0.3788, allocations: 39.95 MB / 309.8 MB, free: 9.223 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.001716/0.001716, allocations: 67.91 kB / 435.8 MB, free: 2.457 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3666, allocations: 56.87 MB / 492.7 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01642/0.3831, allocations: 17.06 MB / 0.4978 GB, free: 7.355 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0107/0.3938, allocations: 3.889 MB / 0.5016 GB, free: 4.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004234/0.3981, allocations: 97.78 kB / 0.5017 GB, free: 4.719 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004279/0.4025, allocations: 2.173 MB / 0.5038 GB, free: 3.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008068/0.4105, allocations: 2.508 MB / 0.5062 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.4117, allocations: 302.3 kB / 0.5065 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01163/0.4233, allocations: 6.365 MB / 0.5128 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005446/0.4288, allocations: 3.326 MB / 0.516 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004774/0.4336, allocations: 2.122 MB / 0.5181 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00452/0.4382, allocations: 2.791 MB / 0.5208 GB, free: 7.621 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001121/0.4393, allocations: 388 kB / 0.5212 GB, free: 7.242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002141/0.4415, allocations: 0.7998 MB / 0.5219 GB, free: 6.441 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002895/0.4444, allocations: 2.797 MB / 0.5247 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005481/0.4499, allocations: 3.349 MB / 0.528 GB, free: 272 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01569/0.4656, allocations: 10.71 MB / 0.5384 GB, free: 5.512 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.4657, allocations: 0 / 0.5384 GB, free: 5.512 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.4657, allocations: 0 / 0.5384 GB, free: 5.512 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000437/0.4661, allocations: 0 / 0.5384 GB, free: 5.512 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: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.0191/0.4853, allocations: 7.041 MB / 0.5453 GB, free: 14.39 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.4853, allocations: 15.89 kB / 0.5453 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01981/0.5051, allocations: 5.863 MB / 0.551 GB, free: 8.492 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008459/0.5136, allocations: 3.296 MB / 0.5542 GB, free: 5.129 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003195/0.514, allocations: 320.3 kB / 0.5546 GB, free: 4.812 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001579/0.5156, allocations: 419.6 kB / 0.555 GB, free: 4.402 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03045/0.5461, allocations: 18.88 MB / 0.5734 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.693e-05/0.5462, allocations: 39.62 kB / 0.5734 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006515/0.5469, allocations: 203.7 kB / 0.5736 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007515/0.5544, allocations: 4.75 MB / 0.5783 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03301/0.5874, allocations: 17.53 MB / 0.5954 GB, free: 10.22 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.454/1.041, allocations: 60.84 MB / 0.6548 GB, free: 85.13 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01572/1.057, allocations: 8.43 MB / 0.663 GB, free: 82.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004261/1.062, allocations: 2.581 MB / 0.6656 GB, free: 81.64 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02394/1.086, allocations: 11.86 MB / 0.6771 GB, free: 75.87 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.994e-05/1.086, allocations: 59.69 kB / 0.6772 GB, free: 75.81 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=321): time 1.092e-05/1.086, allocations: 0 / 0.6772 GB, free: 75.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=321): time 0.01732/1.103, allocations: 7.514 MB / 0.6845 GB, free: 73.87 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/1.103, allocations: 105.8 kB / 0.6846 GB, free: 73.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008105/1.111, allocations: 5.673 MB / 0.6902 GB, free: 71.78 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005397/1.112, allocations: 66.92 kB / 0.6902 GB, free: 71.72 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003149/1.115, allocations: 5.07 MB / 0.6952 GB, free: 67.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001672/1.117, allocations: 1.197 MB / 0.6964 GB, free: 66.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002558/1.119, allocations: 1.909 MB / 0.6982 GB, free: 65.83 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.993e-05/1.119, allocations: 309.1 kB / 0.6985 GB, free: 65.53 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004238/1.124, allocations: 3.209 MB / 0.7016 GB, free: 64.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00673/1.13, allocations: 8.657 MB / 0.7101 GB, free: 55.15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01265/1.143, allocations: 12.92 MB / 0.7227 GB, free: 42.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001807/1.143, allocations: 52.5 kB / 0.7228 GB, free: 42.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02009/1.163, allocations: 11.65 MB / 0.7341 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/1.163, allocations: 84 kB / 0.7342 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001726/1.164, allocations: 192 kB / 0.7344 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001782/1.164, allocations: 256 kB / 0.7346 GB, free: 30.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005702/1.17, allocations: 2.078 MB / 0.7367 GB, free: 28.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002455/1.17, allocations: 374.5 kB / 0.737 GB, free: 27.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007102/1.177, allocations: 1.329 MB / 0.7383 GB, free: 26.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001345/1.178, allocations: 0.5504 MB / 0.7389 GB, free: 25.84 MB / 0.4981 GB 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.006889/1.185, allocations: 3.701 MB / 0.7425 GB, free: 22.13 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009018/1.186, allocations: 481.5 kB / 0.7429 GB, free: 21.65 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/1.187, allocations: 0.645 MB / 0.7436 GB, free: 21 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.397e-05/1.187, allocations: 63.42 kB / 0.7436 GB, free: 20.94 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-05/1.187, allocations: 0 / 0.7436 GB, free: 20.94 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.796e-05/1.187, allocations: 19.64 kB / 0.7436 GB, free: 20.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02059/1.208, allocations: 12.63 MB / 0.756 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-05/1.208, allocations: 12 kB / 0.756 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001636/1.21, allocations: 423.3 kB / 0.7564 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.123e-05/1.21, allocations: 20 kB / 0.7564 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001607/1.21, allocations: 63.59 kB / 0.7565 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-05/1.21, allocations: 35.86 kB / 0.7565 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/1.21, allocations: 15.94 kB / 0.7565 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004656/1.215, allocations: 4.641 MB / 0.7611 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/1.216, allocations: 0.5644 MB / 0.7616 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004818/1.216, allocations: 51.98 kB / 0.7617 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/1.218, allocations: 127.8 kB / 0.7618 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002843/1.218, allocations: 180.7 kB / 0.762 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001621/1.218, allocations: 103.6 kB / 0.7621 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005249/1.224, allocations: 3.494 MB / 0.7655 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.31e-07/1.224, allocations: 4 kB / 0.7655 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.009197/1.233, allocations: 1.978 MB / 0.7674 GB, free: 12.15 MB / 0.5137 GB 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.0006528/1.233, allocations: 218.3 kB / 0.7676 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01123/1.245, allocations: 7.33 MB / 0.7748 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.509e-05/1.245, allocations: 5.875 kB / 0.7748 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002569/1.247, allocations: 2.008 MB / 0.7767 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003214/1.251, allocations: 0.6174 MB / 0.7773 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02781/1.278, allocations: 15.42 MB / 0.7924 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008219/1.287, allocations: 5.419 MB / 0.7977 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.008035/1.295, allocations: 3.543 MB / 0.8011 GB, free: 9.383 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/1.296, allocations: 375.4 kB / 0.8015 GB, free: 9.016 MB / 0.545 GB Notification: Performance of SimCode: time 1.032e-06/1.296, allocations: 4 kB / 0.8015 GB, free: 9.012 MB / 0.545 GB Notification: Performance of Templates: time 0.09078/1.387, allocations: 40.4 MB / 0.841 GB, free: 0.6562 MB / 0.5762 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)