Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove.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.Rotational.TestMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove") translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01411/0.01411, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.002481/0.002481, allocations: 196.3 kB / 16.67 MB, free: 5.926 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.647/1.647, allocations: 205.1 MB / 222.6 MB, free: 4.332 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.3454/0.3454, allocations: 38 MB / 307.9 MB, free: 10.41 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.001714/0.001714, allocations: 71.84 kB / 433 MB, free: 5.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3338, allocations: 56.47 MB / 489.4 MB, free: 19.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.008316/0.3421, allocations: 7.528 MB / 497 MB, free: 14.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008209/0.3504, allocations: 3.341 MB / 0.4886 GB, free: 12.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001484/0.3519, allocations: 40.41 kB / 0.4886 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002357/0.3543, allocations: 0.7993 MB / 0.4894 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004591/0.3589, allocations: 1.321 MB / 0.4907 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001954/0.3609, allocations: 0.5327 MB / 0.4912 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005819/0.3667, allocations: 2.588 MB / 0.4937 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002976/0.3697, allocations: 1.247 MB / 0.495 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003075/0.3728, allocations: 0.7905 MB / 0.4957 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002188/0.3751, allocations: 1.136 MB / 0.4968 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005393/0.3756, allocations: 140.3 kB / 0.497 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002223/0.3778, allocations: 0.9356 MB / 0.4979 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009697/0.3788, allocations: 1.02 MB / 0.4989 GB, free: 7.953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001146/0.38, allocations: 1.229 MB / 0.5001 GB, free: 7.016 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004864/0.3849, allocations: 4.072 MB / 0.5041 GB, free: 4.277 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3849, allocations: 0 / 0.5041 GB, free: 4.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3849, allocations: 0 / 0.5041 GB, free: 4.277 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001192/0.385, allocations: 0 / 0.5041 GB, free: 4.277 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: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.006542/0.3916, allocations: 2.957 MB / 0.5069 GB, free: 2.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.3916, allocations: 13.42 kB / 0.507 GB, free: 2.148 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005605/0.3972, allocations: 1.646 MB / 0.5086 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003687/0.401, allocations: 1.41 MB / 0.5099 GB, free: 376 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.4011, allocations: 127.5 kB / 0.5101 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004647/0.4016, allocations: 165.4 kB / 0.5102 GB, free: 248 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01072/0.4123, allocations: 6.462 MB / 0.5165 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.179e-05/0.4124, allocations: 27.75 kB / 0.5166 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002664/0.4127, allocations: 83.89 kB / 0.5166 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002675/0.4154, allocations: 1.445 MB / 0.518 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01138/0.4268, allocations: 5.728 MB / 0.5236 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03309/0.4599, allocations: 26.72 MB / 0.5497 GB, free: 8.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004132/0.4641, allocations: 2.134 MB / 0.5518 GB, free: 6.238 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001277/0.4654, allocations: 1.054 MB / 0.5528 GB, free: 5.172 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001877/0.4656, allocations: 174.5 kB / 0.553 GB, free: 4.965 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.4656, allocations: 50.83 kB / 0.5531 GB, free: 4.906 MB / 430.1 MB Notification: Performance of pre-optimization done (n=100): time 3.246e-06/0.4656, allocations: 0 / 0.5531 GB, free: 4.906 MB / 430.1 MB Notification: Performance of matching and sorting (n=112): time 0.01545/0.4811, allocations: 6.38 MB / 0.5593 GB, free: 14.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.088e-05/0.4812, allocations: 144.9 kB / 0.5594 GB, free: 14.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003772/0.485, allocations: 2.898 MB / 0.5623 GB, free: 11.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001503/0.4851, allocations: 41.7 kB / 0.5623 GB, free: 11.37 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001716/0.4869, allocations: 2.114 MB / 0.5644 GB, free: 9.223 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000526/0.4874, allocations: 462.3 kB / 0.5648 GB, free: 8.766 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001163/0.4886, allocations: 0.8928 MB / 0.5657 GB, free: 7.859 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.4887, allocations: 309 kB / 0.566 GB, free: 7.555 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002031/0.4907, allocations: 1.422 MB / 0.5674 GB, free: 6.125 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003949/0.4947, allocations: 4.295 MB / 0.5716 GB, free: 388 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006727/0.5014, allocations: 6.212 MB / 0.5776 GB, free: 8.73 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-05/0.5015, allocations: 28 kB / 0.5777 GB, free: 8.703 MB / 462.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.009625/0.5112, allocations: 5.507 MB / 0.583 GB, free: 3.188 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.97e-05/0.5113, allocations: 52.59 kB / 0.5831 GB, free: 3.141 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001139/0.5114, allocations: 100 kB / 0.5832 GB, free: 3.043 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001236/0.5115, allocations: 140 kB / 0.5833 GB, free: 2.906 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00424/0.5158, allocations: 1.228 MB / 0.5845 GB, free: 1.676 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001533/0.5159, allocations: 203.2 kB / 0.5847 GB, free: 1.477 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003289/0.5192, allocations: 243.6 kB / 0.5849 GB, free: 1.238 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006329/0.5199, allocations: 280 kB / 0.5852 GB, free: 0.9648 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 18 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (557): * Single equations (assignments): 554 * Array equations: 3 * 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.002738/0.5226, allocations: 1.388 MB / 0.5866 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006236/0.5233, allocations: 240.9 kB / 0.5868 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002292/0.5256, allocations: 1.25 MB / 0.588 GB, free: 14.06 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.89e-05/0.5256, allocations: 12 kB / 0.588 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/0.5256, allocations: 3.938 kB / 0.588 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-05/0.5257, allocations: 11.92 kB / 0.588 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008274/0.5339, allocations: 4.55 MB / 0.5925 GB, free: 9.371 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.534, allocations: 4 kB / 0.5925 GB, free: 9.367 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0018/0.5358, allocations: 371.3 kB / 0.5928 GB, free: 9.004 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.367e-05/0.5358, allocations: 8 kB / 0.5928 GB, free: 8.996 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.53e-05/0.5359, allocations: 24.48 kB / 0.5929 GB, free: 8.973 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.247e-05/0.5359, allocations: 15.94 kB / 0.5929 GB, free: 8.957 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.5359, allocations: 4 kB / 0.5929 GB, free: 8.953 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002787/0.5387, allocations: 2.162 MB / 0.595 GB, free: 6.727 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/0.5399, allocations: 469.6 kB / 0.5954 GB, free: 6.246 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002271/0.5401, allocations: 16 kB / 0.5955 GB, free: 6.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008951/0.541, allocations: 63.91 kB / 0.5955 GB, free: 6.168 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.5412, allocations: 71.8 kB / 0.5956 GB, free: 6.098 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.587e-05/0.5413, allocations: 32 kB / 0.5956 GB, free: 6.066 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002852/0.5441, allocations: 1.831 MB / 0.5974 GB, free: 4.23 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5442, allocations: 0 / 0.5974 GB, free: 4.23 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003832/0.548, allocations: 0.6289 MB / 0.598 GB, free: 3.602 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (90): * Single equations (assignments): 87 * Array equations: 3 * 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.0003787/0.5484, allocations: 166.8 kB / 0.5982 GB, free: 3.43 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005137/0.5535, allocations: 3.275 MB / 0.6014 GB, free: 176 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.5536, allocations: 0 / 0.6014 GB, free: 176 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.5546, allocations: 0.7845 MB / 0.6021 GB, free: 15.39 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/0.5566, allocations: 279.5 kB / 0.6024 GB, free: 15.11 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/0.5667, allocations: 5.579 MB / 0.6079 GB, free: 9.441 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002186/0.5689, allocations: 2.214 MB / 0.61 GB, free: 7.199 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003228/0.5721, allocations: 1.463 MB / 0.6114 GB, free: 5.73 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005263/0.5727, allocations: 179.4 kB / 0.6116 GB, free: 5.555 MB / 494.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5727, allocations: 0 / 0.6116 GB, free: 5.555 MB / 494.1 MB Notification: Performance of Templates: time 0.04195/0.6146, allocations: 19.33 MB / 0.6305 GB, free: 2.219 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove.pipe 2>&1)