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.00192/0.001919, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002434/0.002433, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.627/1.627, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.3606/0.3606, allocations: 39.94 MB / 309.7 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.001653/0.001653, allocations: 71.91 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1301, allocations: 56.88 MB / 434.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01788/0.1481, allocations: 17.05 MB / 451.5 MB, free: 2.555 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.271/0.4191, allocations: 3.861 MB / 455.4 MB, free: 36.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003466/0.4227, allocations: 102.6 kB / 455.5 MB, free: 36.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004809/0.4275, allocations: 2.176 MB / 457.7 MB, free: 36.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008834/0.4364, allocations: 2.516 MB / 460.2 MB, free: 36.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.4377, allocations: 295.2 kB / 460.5 MB, free: 36.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008685/0.4464, allocations: 6.348 MB / 466.8 MB, free: 35.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004423/0.4509, allocations: 3.35 MB / 470.2 MB, free: 34.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003998/0.4549, allocations: 2.133 MB / 472.3 MB, free: 33.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004369/0.4593, allocations: 2.786 MB / 475.1 MB, free: 32.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001404/0.4608, allocations: 397.7 kB / 475.5 MB, free: 32.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002476/0.4633, allocations: 0.7854 MB / 476.3 MB, free: 32.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002507/0.4658, allocations: 2.785 MB / 479.1 MB, free: 31.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003985/0.4698, allocations: 3.352 MB / 482.4 MB, free: 28.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01503/0.4848, allocations: 10.14 MB / 492.6 MB, free: 25.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.4849, allocations: 0 / 492.6 MB, free: 25.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.4849, allocations: 0 / 492.6 MB, free: 25.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005066/0.4854, allocations: 1.469 kB / 492.6 MB, free: 25.43 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.02567/0.5111, allocations: 7.043 MB / 499.6 MB, free: 21.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/0.5111, allocations: 12.92 kB / 499.6 MB, free: 21.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02238/0.5335, allocations: 5.861 MB / 0.4936 GB, free: 18.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01088/0.5445, allocations: 3.251 MB / 0.4968 GB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004571/0.545, allocations: 323.4 kB / 0.4971 GB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002762/0.5478, allocations: 414.3 kB / 0.4975 GB, free: 16.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03828/0.5861, allocations: 18.9 MB / 0.516 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001882/0.5863, allocations: 31.69 kB / 0.516 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002749/0.5891, allocations: 202.6 kB / 0.5162 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009166/0.5983, allocations: 4.748 MB / 0.5208 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04008/0.6384, allocations: 17.53 MB / 0.5379 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1203/0.7587, allocations: 61.25 MB / 0.5978 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01863/0.7774, allocations: 8.42 MB / 0.606 GB, free: 3.242 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005377/0.7828, allocations: 2.59 MB / 0.6085 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0301/0.813, allocations: 11.88 MB / 0.6201 GB, free: 4.305 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.825e-05/0.8132, allocations: 56.56 kB / 0.6202 GB, free: 4.242 MB / 494.1 MB Notification: Performance of pre-optimization done (n=321): time 1.12e-05/0.8132, allocations: 0 / 0.6202 GB, free: 4.242 MB / 494.1 MB Notification: Performance of matching and sorting (n=321): time 0.3022/1.115, allocations: 7.516 MB / 0.6275 GB, free: 146 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/1.116, allocations: 101.5 kB / 0.6276 GB, free: 145.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009256/1.125, allocations: 5.671 MB / 0.6331 GB, free: 144.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005976/1.125, allocations: 65.86 kB / 0.6332 GB, free: 144.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002825/1.128, allocations: 5.077 MB / 0.6382 GB, free: 140.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001959/1.13, allocations: 1.192 MB / 0.6393 GB, free: 140 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00331/1.134, allocations: 1.912 MB / 0.6412 GB, free: 139.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.695e-05/1.134, allocations: 308.9 kB / 0.6415 GB, free: 138.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004957/1.139, allocations: 3.207 MB / 0.6446 GB, free: 137.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008823/1.147, allocations: 8.652 MB / 0.6531 GB, free: 129.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01503/1.163, allocations: 12.91 MB / 0.6657 GB, free: 119.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002796/1.163, allocations: 54.62 kB / 0.6657 GB, free: 119.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.0317/1.195, allocations: 11.65 MB / 0.6771 GB, free: 114.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003568/1.195, allocations: 87.28 kB / 0.6772 GB, free: 114.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006024/1.196, allocations: 187 kB / 0.6774 GB, free: 114.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000473/1.196, allocations: 258.5 kB / 0.6776 GB, free: 114.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007607/1.204, allocations: 2.069 MB / 0.6796 GB, free: 114.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005351/1.204, allocations: 379.8 kB / 0.68 GB, free: 114.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01035/1.215, allocations: 1.325 MB / 0.6813 GB, free: 113.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00246/1.217, allocations: 0.5584 MB / 0.6818 GB, free: 113.7 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.009643/1.227, allocations: 3.698 MB / 0.6854 GB, free: 112.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001108/1.228, allocations: 487 kB / 0.6859 GB, free: 111.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002094/1.23, allocations: 0.646 MB / 0.6865 GB, free: 111.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001081/1.23, allocations: 53.97 kB / 0.6866 GB, free: 111.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.301e-05/1.23, allocations: 7.375 kB / 0.6866 GB, free: 111.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.303e-05/1.23, allocations: 13.88 kB / 0.6866 GB, free: 111.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03459/1.265, allocations: 12.63 MB / 0.6989 GB, free: 102.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.716e-05/1.265, allocations: 16 kB / 0.699 GB, free: 102.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002543/1.268, allocations: 423.4 kB / 0.6994 GB, free: 101.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-05/1.268, allocations: 24.75 kB / 0.6994 GB, free: 101.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003737/1.268, allocations: 63.59 kB / 0.6994 GB, free: 101.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.473e-05/1.268, allocations: 37.78 kB / 0.6995 GB, free: 101.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.279e-05/1.268, allocations: 23.88 kB / 0.6995 GB, free: 101.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006972/1.275, allocations: 4.634 MB / 0.704 GB, free: 97.15 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00253/1.278, allocations: 0.561 MB / 0.7046 GB, free: 96.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00183/1.28, allocations: 55.7 kB / 0.7046 GB, free: 96.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003474/1.283, allocations: 124.9 kB / 0.7047 GB, free: 96.45 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000598/1.284, allocations: 178.4 kB / 0.7049 GB, free: 96.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002595/1.284, allocations: 100.3 kB / 0.705 GB, free: 96.23 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.009227/1.293, allocations: 3.499 MB / 0.7084 GB, free: 93.38 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.012e-06/1.293, allocations: 0 / 0.7084 GB, free: 93.38 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01386/1.307, allocations: 1.983 MB / 0.7104 GB, free: 91.39 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.0009182/1.308, allocations: 199.9 kB / 0.7106 GB, free: 91.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01889/1.327, allocations: 12.64 MB / 0.7229 GB, free: 79.44 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.756e-05/1.327, allocations: 8.125 kB / 0.7229 GB, free: 79.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003066/1.33, allocations: 2.005 MB / 0.7249 GB, free: 77.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006037/1.336, allocations: 0.6222 MB / 0.7255 GB, free: 76.85 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0363/1.372, allocations: 15.61 MB / 0.7407 GB, free: 61.02 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009798/1.382, allocations: 5.421 MB / 0.746 GB, free: 55.58 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.008813/1.391, allocations: 3.545 MB / 0.7495 GB, free: 52.03 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001443/1.393, allocations: 375.4 kB / 0.7498 GB, free: 51.67 MB / 494.1 MB Notification: Performance of SimCode: time 1.443e-06/1.393, allocations: 0 / 0.7498 GB, free: 51.67 MB / 494.1 MB Notification: Performance of Templates: time 0.08886/1.482, allocations: 45.71 MB / 0.7945 GB, free: 6.121 MB / 494.1 MB 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)