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.009849/0.009849, allocations: 101.2 kB / 15.73 MB, free: 6.012 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.001942/0.001942, allocations: 197.4 kB / 16.68 MB, free: 5.934 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.522/1.522, allocations: 205.1 MB / 222.6 MB, free: 4.484 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.3311/0.3311, allocations: 37.99 MB / 307.9 MB, free: 10.09 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.001766/0.001766, allocations: 76.55 kB / 433 MB, free: 5.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3895, allocations: 56.48 MB / 489.4 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.008096/0.3977, allocations: 7.503 MB / 496.9 MB, free: 14.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006677/0.4044, allocations: 3.346 MB / 0.4886 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.4055, allocations: 40.75 kB / 0.4886 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001683/0.4073, allocations: 0.7973 MB / 0.4894 GB, free: 12.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003618/0.4109, allocations: 1.342 MB / 0.4907 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.4124, allocations: 0.5407 MB / 0.4912 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003942/0.4164, allocations: 2.595 MB / 0.4938 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001598/0.418, allocations: 1.247 MB / 0.495 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001378/0.4194, allocations: 0.7912 MB / 0.4958 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00144/0.4208, allocations: 1.14 MB / 0.4969 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003081/0.4212, allocations: 139.7 kB / 0.497 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00182/0.423, allocations: 0.9324 MB / 0.4979 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001085/0.4241, allocations: 1.02 MB / 0.4989 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001188/0.4253, allocations: 1.228 MB / 0.5001 GB, free: 7.105 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005131/0.4304, allocations: 4.072 MB / 0.5041 GB, free: 4.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.4304, allocations: 0 / 0.5041 GB, free: 4.367 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4305, allocations: 1.562 kB / 0.5041 GB, free: 4.367 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.396e-05/0.4305, allocations: 0 / 0.5041 GB, free: 4.367 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.004996/0.4355, allocations: 2.956 MB / 0.507 GB, free: 2.242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.4356, allocations: 12.95 kB / 0.507 GB, free: 2.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00519/0.4408, allocations: 1.646 MB / 0.5086 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00235/0.4431, allocations: 1.415 MB / 0.51 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.203e-05/0.4432, allocations: 123.9 kB / 0.5101 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003025/0.4435, allocations: 169.3 kB / 0.5102 GB, free: 336 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01001/0.4536, allocations: 6.469 MB / 0.5166 GB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-05/0.4536, allocations: 27.75 kB / 0.5166 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002437/0.4539, allocations: 83.89 kB / 0.5167 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002333/0.4562, allocations: 1.437 MB / 0.5181 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01122/0.4675, allocations: 5.724 MB / 0.5237 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03979/0.5073, allocations: 26.72 MB / 0.5498 GB, free: 8.477 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005049/0.5124, allocations: 2.134 MB / 0.5518 GB, free: 6.195 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001768/0.5142, allocations: 1.054 MB / 0.5529 GB, free: 5.129 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002556/0.5145, allocations: 174.5 kB / 0.553 GB, free: 4.922 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.916e-05/0.5146, allocations: 50.75 kB / 0.5531 GB, free: 4.863 MB / 430.1 MB Notification: Performance of pre-optimization done (n=100): time 5.12e-06/0.5146, allocations: 4 kB / 0.5531 GB, free: 4.859 MB / 430.1 MB Notification: Performance of matching and sorting (n=112): time 0.01803/0.5326, allocations: 6.376 MB / 0.5593 GB, free: 14.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.988e-05/0.5327, allocations: 148.8 kB / 0.5595 GB, free: 14.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005787/0.5385, allocations: 2.898 MB / 0.5623 GB, free: 11.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.5387, allocations: 41.7 kB / 0.5623 GB, free: 11.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001953/0.5406, allocations: 2.114 MB / 0.5644 GB, free: 9.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005865/0.5412, allocations: 462.3 kB / 0.5648 GB, free: 8.723 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001665/0.5429, allocations: 0.8889 MB / 0.5657 GB, free: 7.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.543, allocations: 305.1 kB / 0.566 GB, free: 7.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002097/0.5451, allocations: 1.422 MB / 0.5674 GB, free: 6.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004578/0.5497, allocations: 4.299 MB / 0.5716 GB, free: 348 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007354/0.5571, allocations: 6.212 MB / 0.5777 GB, free: 8.691 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.207e-05/0.5572, allocations: 32 kB / 0.5777 GB, free: 8.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.009671/0.5669, allocations: 5.502 MB / 0.5831 GB, free: 3.152 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.18e-05/0.567, allocations: 52.95 kB / 0.5831 GB, free: 3.102 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000192/0.5672, allocations: 100 kB / 0.5832 GB, free: 3.004 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001705/0.5674, allocations: 140.1 kB / 0.5833 GB, free: 2.867 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003971/0.5713, allocations: 1.224 MB / 0.5845 GB, free: 1.641 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002317/0.5716, allocations: 203.2 kB / 0.5847 GB, free: 1.441 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003039/0.5746, allocations: 247.6 kB / 0.585 GB, free: 1.199 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004842/0.5751, allocations: 280 kB / 0.5852 GB, free: 0.9258 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.002467/0.5776, allocations: 1.388 MB / 0.5866 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006074/0.5782, allocations: 252.8 kB / 0.5868 GB, free: 15.27 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002138/0.5804, allocations: 1.23 MB / 0.588 GB, free: 14.03 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.804e-05/0.5804, allocations: 12 kB / 0.588 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.5804, allocations: 7.922 kB / 0.588 GB, free: 14.01 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.5804, allocations: 7.984 kB / 0.5881 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0097/0.5901, allocations: 4.554 MB / 0.5925 GB, free: 9.336 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.058e-05/0.5902, allocations: 4 kB / 0.5925 GB, free: 9.332 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001731/0.592, allocations: 367.4 kB / 0.5929 GB, free: 8.973 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.041e-05/0.592, allocations: 8 kB / 0.5929 GB, free: 8.965 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/0.5921, allocations: 24.45 kB / 0.5929 GB, free: 8.941 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.736e-05/0.5921, allocations: 15.94 kB / 0.5929 GB, free: 8.926 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.5922, allocations: 4 kB / 0.5929 GB, free: 8.922 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003013/0.5952, allocations: 2.167 MB / 0.595 GB, free: 6.688 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/0.5963, allocations: 465.7 kB / 0.5955 GB, free: 6.211 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006014/0.5969, allocations: 16 kB / 0.5955 GB, free: 6.195 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/0.5984, allocations: 63.86 kB / 0.5955 GB, free: 6.133 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/0.5986, allocations: 72.08 kB / 0.5956 GB, free: 6.062 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/0.5987, allocations: 36 kB / 0.5956 GB, free: 6.027 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004466/0.6032, allocations: 1.827 MB / 0.5974 GB, free: 4.195 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6032, allocations: 3.938 kB / 0.5974 GB, free: 4.191 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005453/0.6086, allocations: 0.6289 MB / 0.598 GB, free: 3.562 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.0005289/0.6092, allocations: 162.8 kB / 0.5982 GB, free: 3.395 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006232/0.6154, allocations: 3.282 MB / 0.6014 GB, free: 136 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.6155, allocations: 0 / 0.6014 GB, free: 136 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.6168, allocations: 0.7884 MB / 0.6022 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003037/0.6198, allocations: 278.8 kB / 0.6024 GB, free: 15.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/0.6329, allocations: 5.575 MB / 0.6079 GB, free: 9.402 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00413/0.6371, allocations: 2.218 MB / 0.6101 GB, free: 7.156 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004239/0.6413, allocations: 1.455 MB / 0.6115 GB, free: 5.695 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008975/0.6422, allocations: 179.4 kB / 0.6116 GB, free: 5.52 MB / 494.1 MB Notification: Performance of SimCode: time 1.603e-06/0.6423, allocations: 0 / 0.6116 GB, free: 5.52 MB / 494.1 MB Notification: Performance of Templates: time 0.04335/0.6856, allocations: 19.64 MB / 0.6308 GB, free: 1.875 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)