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.006327/0.006327, allocations: 100.3 kB / 15.73 MB, free: 6 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.001484/0.001484, allocations: 195.4 kB / 16.67 MB, free: 5.918 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.545/1.545, allocations: 205.1 MB / 222.6 MB, free: 4.531 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.3229/0.3229, allocations: 38 MB / 307.9 MB, free: 10.18 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.00147/0.00147, allocations: 75.89 kB / 433 MB, free: 5.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3838, allocations: 56.46 MB / 489.5 MB, free: 20.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01705/0.4009, allocations: 17.06 MB / 0.4947 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01283/0.4138, allocations: 3.879 MB / 0.4984 GB, free: 5.332 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005276/0.4192, allocations: 102.6 kB / 0.4985 GB, free: 5.316 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005834/0.4251, allocations: 2.172 MB / 0.5007 GB, free: 4.352 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008492/0.4336, allocations: 2.513 MB / 0.5031 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.435, allocations: 293.5 kB / 0.5034 GB, free: 2.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01087/0.4459, allocations: 6.365 MB / 0.5096 GB, free: 15.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006937/0.4529, allocations: 3.33 MB / 0.5129 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006054/0.459, allocations: 2.126 MB / 0.5149 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006376/0.4654, allocations: 2.791 MB / 0.5177 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00248/0.4679, allocations: 391.7 kB / 0.518 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004551/0.4725, allocations: 0.7899 MB / 0.5188 GB, free: 9.605 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005471/0.478, allocations: 2.797 MB / 0.5215 GB, free: 6.801 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007326/0.4854, allocations: 3.345 MB / 0.5248 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01624/0.5017, allocations: 10.71 MB / 0.5353 GB, free: 8.684 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.5017, allocations: 3.938 kB / 0.5353 GB, free: 8.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.357e-06/0.5018, allocations: 3.938 kB / 0.5353 GB, free: 8.676 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004778/0.5022, allocations: 3.938 kB / 0.5353 GB, free: 8.672 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.01791/0.5202, allocations: 7.045 MB / 0.5422 GB, free: 1.547 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.5202, allocations: 11.89 kB / 0.5422 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0202/0.5404, allocations: 5.859 MB / 0.5479 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009824/0.5503, allocations: 3.296 MB / 0.5511 GB, free: 8.293 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003578/0.5507, allocations: 328.3 kB / 0.5514 GB, free: 7.969 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001972/0.5527, allocations: 415.6 kB / 0.5518 GB, free: 7.562 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03475/0.5874, allocations: 18.89 MB / 0.5703 GB, free: 3.922 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001131/0.5876, allocations: 31.69 kB / 0.5703 GB, free: 3.891 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001019/0.5886, allocations: 207.7 kB / 0.5705 GB, free: 3.688 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007903/0.5965, allocations: 4.758 MB / 0.5751 GB, free: 14.92 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03402/0.6306, allocations: 17.53 MB / 0.5923 GB, free: 13.37 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4184/1.049, allocations: 60.84 MB / 0.6517 GB, free: 85.94 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01608/1.065, allocations: 8.436 MB / 0.6599 GB, free: 83.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003944/1.069, allocations: 2.579 MB / 0.6624 GB, free: 82.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0252/1.094, allocations: 11.85 MB / 0.674 GB, free: 77.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.126e-05/1.095, allocations: 61.86 kB / 0.6741 GB, free: 77.03 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=321): time 8.145e-06/1.095, allocations: 0 / 0.6741 GB, free: 77.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=321): time 0.01879/1.113, allocations: 7.515 MB / 0.6814 GB, free: 75.08 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/1.113, allocations: 107 kB / 0.6815 GB, free: 74.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007798/1.121, allocations: 5.669 MB / 0.687 GB, free: 73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003958/1.122, allocations: 65.88 kB / 0.6871 GB, free: 72.94 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003155/1.125, allocations: 5.076 MB / 0.6921 GB, free: 69.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001539/1.126, allocations: 1.201 MB / 0.6932 GB, free: 68.21 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002466/1.129, allocations: 1.902 MB / 0.6951 GB, free: 67.31 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.244e-05/1.129, allocations: 301.1 kB / 0.6954 GB, free: 67.01 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004007/1.133, allocations: 3.213 MB / 0.6985 GB, free: 66.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007024/1.14, allocations: 8.652 MB / 0.707 GB, free: 57.56 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01231/1.152, allocations: 12.91 MB / 0.7196 GB, free: 46.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000323/1.153, allocations: 53 kB / 0.7196 GB, free: 46.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.0237/1.176, allocations: 11.65 MB / 0.731 GB, free: 35.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/1.177, allocations: 92.06 kB / 0.7311 GB, free: 35.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002066/1.177, allocations: 188 kB / 0.7313 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001881/1.177, allocations: 259.9 kB / 0.7315 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006482/1.184, allocations: 2.074 MB / 0.7336 GB, free: 32.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002157/1.184, allocations: 374.6 kB / 0.7339 GB, free: 32.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008778/1.193, allocations: 1.325 MB / 0.7352 GB, free: 30.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001934/1.195, allocations: 0.5506 MB / 0.7357 GB, free: 30.31 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.006711/1.201, allocations: 3.702 MB / 0.7394 GB, free: 26.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009539/1.202, allocations: 481.5 kB / 0.7398 GB, free: 26.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/1.203, allocations: 0.6528 MB / 0.7405 GB, free: 25.46 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.633e-05/1.203, allocations: 59.59 kB / 0.7405 GB, free: 25.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.201e-05/1.204, allocations: 0 / 0.7405 GB, free: 25.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/1.204, allocations: 7.969 kB / 0.7405 GB, free: 25.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02052/1.224, allocations: 12.63 MB / 0.7529 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-05/1.224, allocations: 15.94 kB / 0.7529 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001776/1.226, allocations: 427.3 kB / 0.7533 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-05/1.226, allocations: 20 kB / 0.7533 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001691/1.226, allocations: 67.38 kB / 0.7534 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-05/1.226, allocations: 35.86 kB / 0.7534 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.518e-05/1.226, allocations: 19.94 kB / 0.7534 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005253/1.231, allocations: 4.634 MB / 0.7579 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001496/1.233, allocations: 0.5644 MB / 0.7585 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006247/1.234, allocations: 59.92 kB / 0.7585 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001524/1.235, allocations: 126.9 kB / 0.7587 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002743/1.235, allocations: 176.8 kB / 0.7588 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000163/1.236, allocations: 103.2 kB / 0.7589 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00685/1.242, allocations: 3.494 MB / 0.7623 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.2e-07/1.243, allocations: 0 / 0.7623 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01337/1.256, allocations: 1.987 MB / 0.7643 GB, free: 0.6055 MB / 0.4981 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.001245/1.257, allocations: 199.7 kB / 0.7645 GB, free: 416 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01864/1.276, allocations: 7.339 MB / 0.7716 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-05/1.276, allocations: 4 kB / 0.7716 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004386/1.28, allocations: 2.003 MB / 0.7736 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005462/1.286, allocations: 0.6275 MB / 0.7742 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03648/1.322, allocations: 15.41 MB / 0.7893 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01054/1.333, allocations: 5.423 MB / 0.7946 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.01017/1.343, allocations: 3.551 MB / 0.798 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002259/1.345, allocations: 379.3 kB / 0.7984 GB, free: 13.47 MB / 0.545 GB Notification: Performance of SimCode: time 2.004e-06/1.345, allocations: 0 / 0.7984 GB, free: 13.47 MB / 0.545 GB Notification: Performance of Templates: time 0.09128/1.437, allocations: 40.39 MB / 0.8378 GB, free: 5.133 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation.makefile (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)