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.001095/0.001095, 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.001311/0.001311, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.497/1.497, allocations: 205.1 MB / 222 MB, free: 4.996 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.3621/0.3621, allocations: 37.98 MB / 307.3 MB, free: 9.922 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.001344/0.001344, allocations: 64.53 kB / 374.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1331, allocations: 56.48 MB / 431 MB, free: 7.055 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.2734/0.4065, allocations: 41.37 MB / 472.4 MB, free: 31.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02206/0.4287, allocations: 7.835 MB / 480.2 MB, free: 27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01118/0.4399, allocations: 180.9 kB / 480.4 MB, free: 26.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005583/0.4455, allocations: 2.109 MB / 482.5 MB, free: 26.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006644/0.4522, allocations: 2.387 MB / 484.9 MB, free: 25.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.4533, allocations: 288 kB / 485.2 MB, free: 24.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009952/0.4633, allocations: 9.028 MB / 494.2 MB, free: 22.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005299/0.4686, allocations: 3.266 MB / 497.5 MB, free: 21.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004775/0.4734, allocations: 1.881 MB / 499.4 MB, free: 20.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006982/0.4804, allocations: 2.952 MB / 0.4905 GB, free: 19.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002109/0.4826, allocations: 280.4 kB / 0.4908 GB, free: 19.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003862/0.4865, allocations: 0.7218 MB / 0.4915 GB, free: 19.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004892/0.4914, allocations: 2.712 MB / 0.4942 GB, free: 18.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009751/0.5012, allocations: 3.276 MB / 0.4974 GB, free: 15.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01949/0.5207, allocations: 10.04 MB / 0.5072 GB, free: 10.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.313e-05/0.5208, allocations: 1.531 kB / 0.5072 GB, free: 10.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.5208, allocations: 0 / 0.5072 GB, free: 10.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006789/0.5215, allocations: 0 / 0.5072 GB, free: 10.74 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.02079/0.5423, allocations: 7.035 MB / 0.514 GB, free: 5.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.5423, allocations: 9.625 kB / 0.514 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01809/0.5604, allocations: 5.859 MB / 0.5198 GB, free: 2.234 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009372/0.5698, allocations: 3.257 MB / 0.5229 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003612/0.5702, allocations: 320.5 kB / 0.5233 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003011/0.5733, allocations: 427.6 kB / 0.5237 GB, free: 14.17 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04152/0.6148, allocations: 18.88 MB / 0.5421 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001381/0.615, allocations: 39.62 kB / 0.5421 GB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001945/0.6169, allocations: 211.7 kB / 0.5423 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008471/0.6254, allocations: 4.742 MB / 0.547 GB, free: 5.559 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04237/0.6678, allocations: 17.53 MB / 0.5641 GB, free: 4.004 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1214/0.7893, allocations: 61.23 MB / 0.6239 GB, free: 5.227 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2903/1.08, allocations: 8.428 MB / 0.6321 GB, free: 139.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004361/1.084, allocations: 2.578 MB / 0.6346 GB, free: 139.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01937/1.104, allocations: 11.88 MB / 0.6462 GB, free: 134.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/1.104, allocations: 62.88 kB / 0.6463 GB, free: 134.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=321): time 7.314e-06/1.104, allocations: 0 / 0.6463 GB, free: 134.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=321): time 0.01605/1.12, allocations: 7.519 MB / 0.6536 GB, free: 132.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/1.12, allocations: 105 kB / 0.6537 GB, free: 132.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009652/1.129, allocations: 5.678 MB / 0.6593 GB, free: 130.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000481/1.13, allocations: 63.59 kB / 0.6593 GB, free: 130.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00308/1.133, allocations: 5.074 MB / 0.6643 GB, free: 126.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001704/1.135, allocations: 1.196 MB / 0.6655 GB, free: 125.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003441/1.138, allocations: 1.903 MB / 0.6673 GB, free: 124.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.409e-05/1.138, allocations: 301.1 kB / 0.6676 GB, free: 124.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005649/1.144, allocations: 3.209 MB / 0.6707 GB, free: 123.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009582/1.154, allocations: 8.659 MB / 0.6792 GB, free: 115.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01349/1.167, allocations: 12.92 MB / 0.6918 GB, free: 104.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002494/1.167, allocations: 53.5 kB / 0.6919 GB, free: 104.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02563/1.193, allocations: 11.64 MB / 0.7032 GB, free: 100.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002927/1.193, allocations: 84.47 kB / 0.7033 GB, free: 100.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000422/1.194, allocations: 191.8 kB / 0.7035 GB, free: 100.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003613/1.194, allocations: 258.1 kB / 0.7037 GB, free: 100.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01109/1.205, allocations: 2.073 MB / 0.7058 GB, free: 98.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004163/1.206, allocations: 376.9 kB / 0.7061 GB, free: 98.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01271/1.218, allocations: 1.322 MB / 0.7074 GB, free: 97.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002894/1.221, allocations: 0.558 MB / 0.708 GB, free: 96.54 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.0131/1.235, allocations: 3.699 MB / 0.7116 GB, free: 93.37 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001584/1.236, allocations: 481.5 kB / 0.712 GB, free: 92.89 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002865/1.239, allocations: 0.6504 MB / 0.7127 GB, free: 92.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001792/1.239, allocations: 57.38 kB / 0.7127 GB, free: 92.25 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.422e-05/1.239, allocations: 3.875 kB / 0.7127 GB, free: 92.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.109e-05/1.239, allocations: 15.02 kB / 0.7127 GB, free: 92.24 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04168/1.281, allocations: 12.63 MB / 0.7251 GB, free: 81.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.706e-05/1.281, allocations: 16 kB / 0.7251 GB, free: 81.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001915/1.283, allocations: 421 kB / 0.7255 GB, free: 81.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.261e-05/1.283, allocations: 27.94 kB / 0.7255 GB, free: 81 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006223/1.284, allocations: 64.48 kB / 0.7256 GB, free: 80.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.249e-05/1.284, allocations: 27.64 kB / 0.7256 GB, free: 80.92 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.591e-05/1.284, allocations: 24.41 kB / 0.7256 GB, free: 80.89 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008005/1.292, allocations: 4.64 MB / 0.7302 GB, free: 76.45 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001723/1.294, allocations: 0.5519 MB / 0.7307 GB, free: 75.88 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001834/1.296, allocations: 67.69 kB / 0.7308 GB, free: 75.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002762/1.298, allocations: 127.1 kB / 0.7309 GB, free: 75.74 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004029/1.299, allocations: 180.4 kB / 0.731 GB, free: 75.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002671/1.299, allocations: 95.83 kB / 0.7311 GB, free: 75.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007778/1.307, allocations: 3.495 MB / 0.7346 GB, free: 72.67 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.21e-07/1.307, allocations: 0 / 0.7346 GB, free: 72.67 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0109/1.318, allocations: 1.991 MB / 0.7365 GB, free: 70.68 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.0008401/1.319, allocations: 207.2 kB / 0.7367 GB, free: 70.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01054/1.329, allocations: 7.269 MB / 0.7438 GB, free: 64.06 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/1.329, allocations: 4 kB / 0.7438 GB, free: 64.05 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002519/1.332, allocations: 2.01 MB / 0.7458 GB, free: 62.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004922/1.337, allocations: 0.5934 MB / 0.7463 GB, free: 61.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03514/1.372, allocations: 19.25 MB / 0.7651 GB, free: 42.53 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01231/1.384, allocations: 5.423 MB / 0.7704 GB, free: 37.07 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.009877/1.394, allocations: 3.543 MB / 0.7739 GB, free: 33.52 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00167/1.396, allocations: 383.4 kB / 0.7743 GB, free: 33.14 MB / 494.1 MB Notification: Performance of SimCode: time 9.41e-07/1.396, allocations: 0 / 0.7743 GB, free: 33.14 MB / 494.1 MB Notification: Performance of Templates: time 0.3866/1.783, allocations: 44.18 MB / 0.8174 GB, free: 130.6 MB / 0.4981 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)