Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.Rotational.TestMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove") translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 108 kB / 15.6 MB, free: 132 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.001302/0.001302, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.552/1.552, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.3407/0.3407, allocations: 39.95 MB / 309.7 MB, free: 9.266 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.001477/0.001477, allocations: 74.39 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1321, allocations: 56.88 MB / 434.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009242/0.1414, allocations: 7.525 MB / 442 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007049/0.1485, allocations: 3.342 MB / 445.4 MB, free: 8.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000953/0.1495, allocations: 39.88 kB / 445.4 MB, free: 8.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0017/0.1512, allocations: 0.7937 MB / 446.2 MB, free: 7.934 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003134/0.1544, allocations: 1.323 MB / 447.5 MB, free: 6.605 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.1558, allocations: 0.5457 MB / 448.1 MB, free: 6.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003504/0.1594, allocations: 2.582 MB / 450.6 MB, free: 3.469 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001593/0.161, allocations: 1.248 MB / 451.9 MB, free: 2.211 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.1621, allocations: 0.7784 MB / 452.7 MB, free: 1.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001318/0.1635, allocations: 1.137 MB / 453.8 MB, free: 296 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003322/0.1638, allocations: 140 kB / 453.9 MB, free: 156 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3098/0.4737, allocations: 0.9393 MB / 454.9 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001208/0.4749, allocations: 1.017 MB / 455.9 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001316/0.4762, allocations: 1.235 MB / 457.1 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004279/0.4805, allocations: 3.876 MB / 461 MB, free: 37.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.4806, allocations: 3.562 kB / 461 MB, free: 37.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.96e-06/0.4806, allocations: 0 / 461 MB, free: 37.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.751e-05/0.4807, allocations: 0 / 461 MB, free: 37.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: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.005839/0.4865, allocations: 2.967 MB / 464 MB, free: 36.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.4866, allocations: 12.98 kB / 464 MB, free: 36.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005919/0.4925, allocations: 1.645 MB / 465.6 MB, free: 36.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003542/0.4961, allocations: 1.394 MB / 467 MB, free: 35.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-05/0.4962, allocations: 128.3 kB / 467.2 MB, free: 35.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000359/0.4966, allocations: 162.7 kB / 467.3 MB, free: 35.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009816/0.5064, allocations: 6.457 MB / 473.8 MB, free: 33.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.059e-05/0.5065, allocations: 34.28 kB / 473.8 MB, free: 33.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002447/0.5068, allocations: 87.83 kB / 473.9 MB, free: 33.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00235/0.5091, allocations: 1.432 MB / 475.3 MB, free: 33.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01026/0.5194, allocations: 5.73 MB / 481.1 MB, free: 31.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03467/0.5541, allocations: 26.8 MB / 0.4959 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005026/0.5592, allocations: 2.138 MB / 0.498 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001721/0.561, allocations: 1.044 MB / 0.4991 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001818/0.5612, allocations: 178.6 kB / 0.4992 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.5612, allocations: 50.83 kB / 0.4993 GB, free: 10.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 3.166e-06/0.5612, allocations: 1.688 kB / 0.4993 GB, free: 10.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.01978/0.581, allocations: 6.383 MB / 0.5055 GB, free: 7.879 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003205/0.5814, allocations: 145.5 kB / 0.5057 GB, free: 23.72 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0047/0.5861, allocations: 2.903 MB / 0.5085 GB, free: 22.65 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002465/0.5863, allocations: 41.55 kB / 0.5085 GB, free: 22.61 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001406/0.5878, allocations: 2.113 MB / 0.5106 GB, free: 20.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006012/0.5884, allocations: 455.8 kB / 0.511 GB, free: 20.65 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001325/0.5897, allocations: 0.8946 MB / 0.5119 GB, free: 20.21 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.5899, allocations: 301.1 kB / 0.5122 GB, free: 19.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002104/0.592, allocations: 1.43 MB / 0.5136 GB, free: 19.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003456/0.5955, allocations: 4.296 MB / 0.5178 GB, free: 14.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008596/0.6041, allocations: 6.219 MB / 0.5238 GB, free: 8.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001694/0.6043, allocations: 28 kB / 0.5239 GB, free: 8.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01304/0.6174, allocations: 5.513 MB / 0.5293 GB, free: 2.836 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000114/0.6175, allocations: 48 kB / 0.5293 GB, free: 2.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001785/0.6177, allocations: 104 kB / 0.5294 GB, free: 2.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001638/0.6179, allocations: 135.9 kB / 0.5295 GB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005271/0.6232, allocations: 1.228 MB / 0.5307 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002162/0.6234, allocations: 199.2 kB / 0.5309 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004393/0.6278, allocations: 244.5 kB / 0.5312 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001067/0.6289, allocations: 290 kB / 0.5314 GB, free: 0.6094 MB / 398.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.003615/0.6325, allocations: 1.384 MB / 0.5328 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008852/0.6334, allocations: 236.9 kB / 0.533 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00256/0.636, allocations: 1.238 MB / 0.5342 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.743e-05/0.636, allocations: 12 kB / 0.5342 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.665e-05/0.6361, allocations: 8 kB / 0.5342 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/0.6361, allocations: 7.922 kB / 0.5342 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01145/0.6476, allocations: 4.571 MB / 0.5387 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.977e-05/0.6476, allocations: 4 kB / 0.5387 GB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002073/0.6497, allocations: 371.4 kB / 0.5391 GB, free: 8.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.354e-05/0.6498, allocations: 11.75 kB / 0.5391 GB, free: 8.672 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001581/0.65, allocations: 20 kB / 0.5391 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.756e-05/0.65, allocations: 12.31 kB / 0.5391 GB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/0.65, allocations: 8 kB / 0.5391 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003682/0.6537, allocations: 2.165 MB / 0.5412 GB, free: 6.398 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/0.655, allocations: 457.8 kB / 0.5417 GB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007031/0.6557, allocations: 18.03 kB / 0.5417 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/0.6572, allocations: 59.92 kB / 0.5417 GB, free: 5.855 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/0.6574, allocations: 71.8 kB / 0.5418 GB, free: 5.785 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.329e-05/0.6575, allocations: 36 kB / 0.5418 GB, free: 5.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.004312/0.6618, allocations: 1.827 MB / 0.5436 GB, free: 3.918 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.6618, allocations: 3.938 kB / 0.5436 GB, free: 3.914 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005626/0.6675, allocations: 0.6354 MB / 0.5443 GB, free: 3.281 MB / 414.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.0005709/0.668, allocations: 156.4 kB / 0.5444 GB, free: 3.121 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006897/0.6749, allocations: 3.469 MB / 0.5478 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.539e-05/0.675, allocations: 11.94 kB / 0.5478 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001206/0.6762, allocations: 0.7918 MB / 0.5486 GB, free: 14.87 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003392/0.6796, allocations: 280.3 kB / 0.5488 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01318/0.6928, allocations: 5.631 MB / 0.5543 GB, free: 8.891 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003594/0.6965, allocations: 2.214 MB / 0.5565 GB, free: 6.648 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003938/0.7005, allocations: 1.464 MB / 0.5579 GB, free: 5.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00067/0.7011, allocations: 175.4 kB / 0.5581 GB, free: 5.008 MB / 430.1 MB Notification: Performance of SimCode: time 1.002e-06/0.7012, allocations: 0 / 0.5581 GB, free: 5.008 MB / 430.1 MB Notification: Performance of Templates: time 0.04723/0.7484, allocations: 22.03 MB / 0.5796 GB, free: 15.09 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove.pipe 2>&1)