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.001235/0.001235, 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.001704/0.001704, allocations: 192.8 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.742/1.742, allocations: 205.1 MB / 222 MB, free: 4.766 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.3525/0.3525, allocations: 37.97 MB / 307.3 MB, free: 10.04 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.001346/0.001346, allocations: 64.53 kB / 374.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1438, allocations: 56.46 MB / 431 MB, free: 7.082 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01577/0.1596, allocations: 14.5 MB / 445.5 MB, free: 8.508 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01119/0.1709, allocations: 4.546 MB / 450.1 MB, free: 3.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004275/0.1752, allocations: 59.81 kB / 450.1 MB, free: 3.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002172/0.1775, allocations: 0.7632 MB / 450.9 MB, free: 3.125 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004359/0.1819, allocations: 1.227 MB / 452.1 MB, free: 1.895 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001585/0.1835, allocations: 0.4991 MB / 452.6 MB, free: 1.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2967/0.4802, allocations: 3.487 MB / 456.1 MB, free: 35.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002539/0.4828, allocations: 1.211 MB / 457.3 MB, free: 35.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001731/0.4846, allocations: 0.698 MB / 458 MB, free: 35.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001817/0.4864, allocations: 1.221 MB / 459.2 MB, free: 35.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000315/0.4867, allocations: 98.16 kB / 459.3 MB, free: 35.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00191/0.4887, allocations: 0.955 MB / 460.3 MB, free: 35.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009441/0.4896, allocations: 1.003 MB / 461.3 MB, free: 35.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001594/0.4912, allocations: 1.202 MB / 462.5 MB, free: 34.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006698/0.4979, allocations: 3.863 MB / 466.3 MB, free: 34.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.62e-05/0.498, allocations: 0 / 466.3 MB, free: 34.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.4981, allocations: 2.938 kB / 466.3 MB, free: 34.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001795/0.4982, allocations: 4 kB / 466.3 MB, free: 34.19 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.007423/0.5057, allocations: 2.966 MB / 469.3 MB, free: 32.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.5057, allocations: 9.281 kB / 469.3 MB, free: 32.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005612/0.5114, allocations: 1.645 MB / 471 MB, free: 32.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003093/0.5145, allocations: 1.387 MB / 472.4 MB, free: 32.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.5146, allocations: 129.5 kB / 472.5 MB, free: 32.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003639/0.515, allocations: 164.1 kB / 472.6 MB, free: 32.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008563/0.5236, allocations: 6.456 MB / 479.1 MB, free: 29.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.499e-05/0.5237, allocations: 35.16 kB / 479.1 MB, free: 29.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002493/0.5239, allocations: 82.91 kB / 479.2 MB, free: 29.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00218/0.5261, allocations: 1.434 MB / 480.6 MB, free: 28.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01225/0.5384, allocations: 5.728 MB / 486.4 MB, free: 27.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04118/0.5796, allocations: 26.81 MB / 0.5012 GB, free: 23.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005265/0.585, allocations: 2.147 MB / 0.5033 GB, free: 22.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001783/0.5868, allocations: 1.045 MB / 0.5043 GB, free: 22.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002473/0.5871, allocations: 176 kB / 0.5044 GB, free: 22.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/0.5871, allocations: 53.23 kB / 0.5045 GB, free: 22.22 MB / 398.1 MB Notification: Performance of pre-optimization done (n=100): time 3.837e-06/0.5871, allocations: 0 / 0.5045 GB, free: 22.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=112): time 0.01731/0.6044, allocations: 6.388 MB / 0.5107 GB, free: 19.36 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.6046, allocations: 142.6 kB / 0.5109 GB, free: 19.2 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004705/0.6093, allocations: 2.91 MB / 0.5137 GB, free: 17.67 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002449/0.6096, allocations: 36.3 kB / 0.5137 GB, free: 17.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001061/0.6107, allocations: 2.111 MB / 0.5158 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000399/0.6111, allocations: 455 kB / 0.5162 GB, free: 15.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001133/0.6122, allocations: 0.9027 MB / 0.5171 GB, free: 14.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.6124, allocations: 301.1 kB / 0.5174 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002013/0.6144, allocations: 1.427 MB / 0.5188 GB, free: 13.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004108/0.6185, allocations: 4.302 MB / 0.523 GB, free: 7.984 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008122/0.6266, allocations: 6.223 MB / 0.5291 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.162e-05/0.6268, allocations: 28 kB / 0.5291 GB, free: 496 kB / 398.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01284/0.6396, allocations: 5.504 MB / 0.5345 GB, free: 10.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000114/0.6398, allocations: 52.06 kB / 0.5345 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001947/0.64, allocations: 104 kB / 0.5346 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001843/0.6402, allocations: 132 kB / 0.5348 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004782/0.645, allocations: 1.228 MB / 0.536 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000289/0.6453, allocations: 203.2 kB / 0.5361 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004243/0.6495, allocations: 243.5 kB / 0.5364 GB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008885/0.6505, allocations: 280 kB / 0.5366 GB, free: 8.75 MB / 414.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.003663/0.6541, allocations: 1.39 MB / 0.538 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009928/0.6551, allocations: 240.8 kB / 0.5382 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002995/0.6582, allocations: 1.238 MB / 0.5394 GB, free: 5.871 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.078e-05/0.6582, allocations: 12.28 kB / 0.5395 GB, free: 5.859 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-05/0.6583, allocations: 7.938 kB / 0.5395 GB, free: 5.852 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.071e-05/0.6583, allocations: 11.92 kB / 0.5395 GB, free: 5.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01246/0.6708, allocations: 4.566 MB / 0.5439 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.318e-05/0.6708, allocations: 4 kB / 0.5439 GB, free: 1.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001822/0.6727, allocations: 371.3 kB / 0.5443 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.538e-05/0.6727, allocations: 8 kB / 0.5443 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/0.6728, allocations: 24 kB / 0.5443 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-05/0.6729, allocations: 11.94 kB / 0.5443 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.136e-06/0.6729, allocations: 8.25 kB / 0.5443 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003341/0.6762, allocations: 2.168 MB / 0.5465 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001351/0.6776, allocations: 453.7 kB / 0.5469 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006981/0.6783, allocations: 24 kB / 0.5469 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/0.6797, allocations: 55.92 kB / 0.547 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/0.6799, allocations: 71.8 kB / 0.547 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.26e-05/0.68, allocations: 32 kB / 0.5471 GB, free: 13.88 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00408/0.6841, allocations: 1.831 MB / 0.5489 GB, free: 12.05 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6841, allocations: 0 / 0.5489 GB, free: 12.05 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004389/0.6885, allocations: 0.6315 MB / 0.5495 GB, free: 11.42 MB / 430.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.0005297/0.689, allocations: 157.7 kB / 0.5496 GB, free: 11.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005749/0.6948, allocations: 3.257 MB / 0.5528 GB, free: 8.023 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/0.6948, allocations: 4.438 kB / 0.5528 GB, free: 8.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.6959, allocations: 0.788 MB / 0.5536 GB, free: 7.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002664/0.6986, allocations: 278.8 kB / 0.5538 GB, free: 6.965 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01241/0.711, allocations: 6.79 MB / 0.5605 GB, free: 88 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003284/0.7144, allocations: 2.215 MB / 0.5626 GB, free: 13.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004478/0.7189, allocations: 1.473 MB / 0.5641 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008618/0.7197, allocations: 171.4 kB / 0.5642 GB, free: 12.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.332e-06/0.7198, allocations: 3.938 kB / 0.5642 GB, free: 12.19 MB / 446.1 MB Notification: Performance of Templates: time 0.04474/0.7645, allocations: 21.21 MB / 0.5849 GB, free: 7.086 MB / 462.1 MB 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)