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.001261/0.001261, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001591/0.001591, allocations: 191.7 kB / 16.25 MB, free: 6.621 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.551/1.551, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.3307/0.3307, allocations: 37.98 MB / 307.4 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.001471/0.001471, allocations: 71.09 kB / 374.7 MB, free: 15.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1331, allocations: 56.47 MB / 431.2 MB, free: 6.977 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01514/0.1483, allocations: 14.5 MB / 445.7 MB, free: 8.406 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01144/0.1598, allocations: 4.441 MB / 450.1 MB, free: 3.953 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003377/0.1633, allocations: 55.81 kB / 450.2 MB, free: 3.898 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001984/0.1653, allocations: 0.7592 MB / 450.9 MB, free: 3.137 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00382/0.1692, allocations: 1.238 MB / 452.2 MB, free: 1.895 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.1709, allocations: 0.4992 MB / 452.7 MB, free: 1.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2589/0.4298, allocations: 2.6 MB / 455.3 MB, free: 36.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002127/0.432, allocations: 1.32 MB / 456.6 MB, free: 36.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001611/0.4337, allocations: 0.7921 MB / 457.4 MB, free: 36.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001514/0.4352, allocations: 1.279 MB / 458.7 MB, free: 36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003102/0.4355, allocations: 140.2 kB / 458.8 MB, free: 36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001684/0.4372, allocations: 0.9507 MB / 459.8 MB, free: 35.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008782/0.4381, allocations: 1.043 MB / 460.8 MB, free: 35.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000962/0.4391, allocations: 1.245 MB / 462.1 MB, free: 35.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004091/0.4432, allocations: 3.933 MB / 466 MB, free: 34.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.258e-06/0.4432, allocations: 3.469 kB / 466 MB, free: 34.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.4432, allocations: 0 / 466 MB, free: 34.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.267e-05/0.4433, allocations: 0 / 466 MB, free: 34.82 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.005398/0.4487, allocations: 2.964 MB / 469 MB, free: 33.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.4488, allocations: 13.36 kB / 469 MB, free: 33.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005676/0.4544, allocations: 1.646 MB / 470.6 MB, free: 33.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003788/0.4583, allocations: 1.39 MB / 472 MB, free: 32.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.585e-05/0.4584, allocations: 120.6 kB / 472.1 MB, free: 32.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003522/0.4587, allocations: 172.3 kB / 472.3 MB, free: 32.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009665/0.4684, allocations: 6.457 MB / 478.7 MB, free: 29.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.421e-05/0.4686, allocations: 28.97 kB / 478.8 MB, free: 29.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002737/0.4689, allocations: 85.66 kB / 478.9 MB, free: 29.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002685/0.4715, allocations: 1.439 MB / 480.3 MB, free: 29.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01187/0.4834, allocations: 5.732 MB / 486 MB, free: 27.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03522/0.5187, allocations: 26.81 MB / 0.5008 GB, free: 24.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00548/0.5242, allocations: 2.139 MB / 0.5029 GB, free: 23.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001964/0.5262, allocations: 1.047 MB / 0.5039 GB, free: 22.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003183/0.5266, allocations: 176.9 kB / 0.5041 GB, free: 22.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.5266, allocations: 49.8 kB / 0.5041 GB, free: 22.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=100): time 4.548e-06/0.5267, allocations: 1.031 kB / 0.5041 GB, free: 22.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=112): time 0.0214/0.5481, allocations: 6.39 MB / 0.5104 GB, free: 19.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/0.5483, allocations: 143 kB / 0.5105 GB, free: 19.55 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004077/0.5523, allocations: 2.906 MB / 0.5134 GB, free: 18.03 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002823/0.5526, allocations: 39.98 kB / 0.5134 GB, free: 17.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001286/0.5539, allocations: 2.11 MB / 0.5155 GB, free: 16.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006026/0.5546, allocations: 460.2 kB / 0.5159 GB, free: 15.76 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001208/0.5558, allocations: 0.8962 MB / 0.5168 GB, free: 15.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.5559, allocations: 301.1 kB / 0.5171 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001935/0.5579, allocations: 1.429 MB / 0.5185 GB, free: 14.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004173/0.5621, allocations: 4.293 MB / 0.5227 GB, free: 8.414 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007465/0.5695, allocations: 6.215 MB / 0.5287 GB, free: 1.078 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-05/0.5697, allocations: 31.94 kB / 0.5288 GB, free: 1.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01051/0.5802, allocations: 5.508 MB / 0.5341 GB, free: 11.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.142e-05/0.5803, allocations: 48 kB / 0.5342 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001081/0.5804, allocations: 104 kB / 0.5343 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001486/0.5805, allocations: 136 kB / 0.5344 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004373/0.5849, allocations: 1.228 MB / 0.5356 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001636/0.5851, allocations: 195.2 kB / 0.5358 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003661/0.5888, allocations: 243.5 kB / 0.536 GB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005935/0.5894, allocations: 284 kB / 0.5363 GB, free: 9.312 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.003118/0.5925, allocations: 1.398 MB / 0.5377 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007024/0.5932, allocations: 240.8 kB / 0.5379 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002322/0.5956, allocations: 1.238 MB / 0.5391 GB, free: 6.426 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.203e-05/0.5956, allocations: 12 kB / 0.5391 GB, free: 6.414 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.115e-05/0.5956, allocations: 4.75 kB / 0.5391 GB, free: 6.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.937e-05/0.5957, allocations: 7.922 kB / 0.5391 GB, free: 6.402 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009943/0.6056, allocations: 4.567 MB / 0.5436 GB, free: 1.746 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.746e-05/0.6057, allocations: 8 kB / 0.5436 GB, free: 1.738 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001818/0.6075, allocations: 367.4 kB / 0.5439 GB, free: 1.379 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.647e-05/0.6075, allocations: 11.98 kB / 0.544 GB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.802e-05/0.6076, allocations: 20 kB / 0.544 GB, free: 1.348 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.746e-05/0.6077, allocations: 11.94 kB / 0.544 GB, free: 1.336 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/0.6077, allocations: 9.531 kB / 0.544 GB, free: 1.328 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003762/0.6114, allocations: 2.162 MB / 0.5461 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/0.6126, allocations: 461.7 kB / 0.5465 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002838/0.6128, allocations: 20 kB / 0.5466 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009116/0.6138, allocations: 59.86 kB / 0.5466 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.6139, allocations: 75.31 kB / 0.5467 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.518e-05/0.614, allocations: 36 kB / 0.5467 GB, free: 14.44 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003566/0.6176, allocations: 1.827 MB / 0.5485 GB, free: 12.61 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.6176, allocations: 0 / 0.5485 GB, free: 12.61 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004372/0.622, allocations: 0.625 MB / 0.5491 GB, free: 11.98 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.0003951/0.6224, allocations: 161.4 kB / 0.5493 GB, free: 11.81 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006453/0.6289, allocations: 3.474 MB / 0.5527 GB, free: 8.363 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.6289, allocations: 5.219 kB / 0.5527 GB, free: 8.359 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.63, allocations: 0.793 MB / 0.5534 GB, free: 7.57 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002527/0.6325, allocations: 277.2 kB / 0.5537 GB, free: 7.305 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.6434, allocations: 6.793 MB / 0.5603 GB, free: 432 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002144/0.6456, allocations: 2.214 MB / 0.5625 GB, free: 14.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003763/0.6494, allocations: 1.465 MB / 0.5639 GB, free: 12.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006326/0.6501, allocations: 179.4 kB / 0.5641 GB, free: 12.53 MB / 446.1 MB Notification: Performance of SimCode: time 1.853e-06/0.6501, allocations: 0 / 0.5641 GB, free: 12.53 MB / 446.1 MB Notification: Performance of Templates: time 0.04686/0.6969, allocations: 22.01 MB / 0.5856 GB, free: 6.633 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)