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.007198/0.007198, allocations: 101.7 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.001397/0.001397, allocations: 198.9 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.723/1.723, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.346/0.346, allocations: 38 MB / 307.9 MB, free: 10.12 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.001579/0.001579, allocations: 71.89 kB / 433 MB, free: 5.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3578, allocations: 56.47 MB / 489.5 MB, free: 19.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01777/0.3756, allocations: 17.04 MB / 0.4947 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01226/0.388, allocations: 3.883 MB / 0.4984 GB, free: 5.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004899/0.3929, allocations: 102.8 kB / 0.4985 GB, free: 5.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005402/0.3984, allocations: 2.168 MB / 0.5007 GB, free: 4.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008065/0.4065, allocations: 2.592 MB / 0.5032 GB, free: 2.832 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.4076, allocations: 302.5 kB / 0.5035 GB, free: 2.637 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009863/0.4175, allocations: 6.361 MB / 0.5097 GB, free: 15.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005123/0.4226, allocations: 3.338 MB / 0.513 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004455/0.4271, allocations: 2.118 MB / 0.515 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005047/0.4322, allocations: 2.796 MB / 0.5178 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002163/0.4344, allocations: 394.4 kB / 0.5181 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003617/0.438, allocations: 0.7933 MB / 0.5189 GB, free: 9.527 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004935/0.443, allocations: 2.793 MB / 0.5216 GB, free: 6.727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007941/0.4509, allocations: 3.349 MB / 0.5249 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01536/0.4663, allocations: 10.71 MB / 0.5354 GB, free: 8.609 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.038e-05/0.4663, allocations: 0 / 0.5354 GB, free: 8.609 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4664, allocations: 11.81 kB / 0.5354 GB, free: 8.598 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005344/0.4669, allocations: 0 / 0.5354 GB, free: 8.598 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.01765/0.4846, allocations: 7.037 MB / 0.5422 GB, free: 1.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.4846, allocations: 11.89 kB / 0.5423 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01857/0.5032, allocations: 5.859 MB / 0.548 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007908/0.5112, allocations: 3.3 MB / 0.5512 GB, free: 8.223 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003771/0.5116, allocations: 320.3 kB / 0.5515 GB, free: 7.906 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002706/0.5143, allocations: 423.6 kB / 0.5519 GB, free: 7.492 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03791/0.5522, allocations: 18.88 MB / 0.5703 GB, free: 3.855 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001668/0.5524, allocations: 35.69 kB / 0.5704 GB, free: 3.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002496/0.5549, allocations: 199.7 kB / 0.5706 GB, free: 3.625 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008042/0.563, allocations: 4.754 MB / 0.5752 GB, free: 14.87 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03765/0.6007, allocations: 17.54 MB / 0.5923 GB, free: 13.3 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4523/1.053, allocations: 60.84 MB / 0.6518 GB, free: 85.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01825/1.071, allocations: 8.425 MB / 0.66 GB, free: 83.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006177/1.078, allocations: 2.583 MB / 0.6625 GB, free: 82.7 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03026/1.108, allocations: 11.86 MB / 0.6741 GB, free: 76.97 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.424e-05/1.108, allocations: 66.23 kB / 0.6742 GB, free: 76.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=321): time 1.051e-05/1.108, allocations: 0 / 0.6742 GB, free: 76.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=321): time 0.0189/1.127, allocations: 7.511 MB / 0.6815 GB, free: 74.97 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/1.127, allocations: 101.4 kB / 0.6816 GB, free: 74.88 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01002/1.137, allocations: 5.675 MB / 0.6871 GB, free: 72.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005281/1.138, allocations: 66.84 kB / 0.6872 GB, free: 72.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003831/1.141, allocations: 5.073 MB / 0.6921 GB, free: 68.96 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001847/1.143, allocations: 1.198 MB / 0.6933 GB, free: 68.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005247/1.149, allocations: 1.908 MB / 0.6952 GB, free: 67.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.292e-05/1.149, allocations: 301.1 kB / 0.6955 GB, free: 66.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005122/1.154, allocations: 3.209 MB / 0.6986 GB, free: 65.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00763/1.161, allocations: 8.653 MB / 0.7071 GB, free: 57.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01158/1.173, allocations: 12.92 MB / 0.7197 GB, free: 46.24 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002193/1.173, allocations: 54.66 kB / 0.7197 GB, free: 46.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01893/1.192, allocations: 11.65 MB / 0.7311 GB, free: 35.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002553/1.192, allocations: 89.09 kB / 0.7312 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002863/1.193, allocations: 195.9 kB / 0.7314 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000263/1.193, allocations: 252 kB / 0.7316 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006422/1.2, allocations: 2.07 MB / 0.7336 GB, free: 32.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000301/1.2, allocations: 374.5 kB / 0.734 GB, free: 32.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006708/1.207, allocations: 1.329 MB / 0.7353 GB, free: 30.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001453/1.208, allocations: 0.5542 MB / 0.7358 GB, free: 30.32 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.006397/1.214, allocations: 3.702 MB / 0.7394 GB, free: 26.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001019/1.215, allocations: 481.5 kB / 0.7399 GB, free: 26.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001601/1.217, allocations: 0.6489 MB / 0.7405 GB, free: 25.47 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.908e-05/1.217, allocations: 55.98 kB / 0.7406 GB, free: 25.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.938e-05/1.217, allocations: 0 / 0.7406 GB, free: 25.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.054e-05/1.217, allocations: 15.95 kB / 0.7406 GB, free: 25.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02269/1.24, allocations: 12.63 MB / 0.7529 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.754e-05/1.24, allocations: 16 kB / 0.7529 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001614/1.242, allocations: 419.3 kB / 0.7533 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.771e-05/1.242, allocations: 27.94 kB / 0.7534 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002845/1.242, allocations: 67.5 kB / 0.7534 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.341e-05/1.242, allocations: 28.5 kB / 0.7535 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.02e-05/1.242, allocations: 23.94 kB / 0.7535 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005033/1.247, allocations: 4.633 MB / 0.758 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001423/1.249, allocations: 0.5643 MB / 0.7586 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001153/1.25, allocations: 59.98 kB / 0.7586 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00202/1.252, allocations: 127 kB / 0.7587 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002926/1.252, allocations: 180.6 kB / 0.7589 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000179/1.252, allocations: 95.2 kB / 0.759 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00552/1.258, allocations: 3.494 MB / 0.7624 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.258, allocations: 4 kB / 0.7624 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.009161/1.267, allocations: 1.986 MB / 0.7644 GB, free: 0.6211 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.0005673/1.267, allocations: 200.2 kB / 0.7646 GB, free: 432 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01181/1.279, allocations: 7.344 MB / 0.7717 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.45e-05/1.279, allocations: 0.5 kB / 0.7717 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002908/1.282, allocations: 2.006 MB / 0.7737 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004068/1.286, allocations: 0.6292 MB / 0.7743 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03018/1.317, allocations: 15.42 MB / 0.7894 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01004/1.327, allocations: 5.415 MB / 0.7946 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.009924/1.337, allocations: 3.543 MB / 0.7981 GB, free: 13.85 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002511/1.339, allocations: 379.4 kB / 0.7985 GB, free: 13.48 MB / 0.545 GB Notification: Performance of SimCode: time 2.184e-06/1.339, allocations: 3.938 kB / 0.7985 GB, free: 13.47 MB / 0.545 GB Notification: Performance of Templates: time 0.09746/1.437, allocations: 41.35 MB / 0.8389 GB, free: 4.184 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)