Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo", uses=false) Using package StewartPlatform with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(StewartPlatform.Tests.ElectricCylinder_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test") translateModel(StewartPlatform.Tests.ElectricCylinder_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001299/0.001299, allocations: 189.4 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.03077/0.03077, allocations: 6.501 MB / 297.6 MB, free: 8.391 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 63.84 kB / 360.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.202, allocations: 50.85 MB / 411 MB, free: 28.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.008781/0.2109, allocations: 11.63 MB / 422.7 MB, free: 16.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006473/0.2174, allocations: 4.382 MB / 427 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001158/0.2185, allocations: 71.75 kB / 427.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003377/0.2219, allocations: 2.431 MB / 429.5 MB, free: 9.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003263/0.2253, allocations: 1.949 MB / 431.5 MB, free: 7.773 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.2263, allocations: 0.7567 MB / 432.3 MB, free: 7.016 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004373/0.2307, allocations: 5.559 MB / 437.8 MB, free: 1.445 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002935/0.2337, allocations: 3.508 MB / 441.3 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001801/0.2355, allocations: 1.667 MB / 443 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002351/0.2378, allocations: 2.251 MB / 445.2 MB, free: 9.965 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005034/0.2384, allocations: 396 kB / 445.6 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001612/0.24, allocations: 1.17 MB / 446.8 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001466/0.2415, allocations: 1.968 MB / 448.8 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001874/0.2433, allocations: 2.304 MB / 451.1 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005999/0.2494, allocations: 7.402 MB / 458.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2494, allocations: 0 / 458.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2494, allocations: 0 / 458.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001051/0.2495, allocations: 0 / 458.5 MB, free: 12.69 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1308 * Number of variables: 1308 Notification: Performance of Generate backend data structure: time 0.007871/0.2574, allocations: 4.749 MB / 463.2 MB, free: 7.867 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2574, allocations: 8.031 kB / 463.2 MB, free: 7.859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01691/0.2743, allocations: 2.8 MB / 466 MB, free: 5.051 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008207/0.2826, allocations: 3.66 MB / 469.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/0.2828, allocations: 213.9 kB / 469.9 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006719/0.2834, allocations: 299.6 kB / 470.2 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01124/0.2947, allocations: 8.528 MB / 478.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001173/0.2948, allocations: 43.64 kB / 478.8 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003191/0.2952, allocations: 135.9 kB / 478.9 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002047/0.2972, allocations: 1.56 MB / 480.5 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01109/0.3083, allocations: 6.919 MB / 487.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2263/0.5346, allocations: 32.95 MB / 0.5081 GB, free: 68.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003765/0.5384, allocations: 2.156 MB / 0.5102 GB, free: 67.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008838/0.5393, allocations: 0.6704 MB / 0.5109 GB, free: 67.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004806/0.5442, allocations: 3.101 MB / 0.5139 GB, free: 66.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.5442, allocations: 50.22 kB / 0.514 GB, free: 66.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=114): time 3.206e-06/0.5442, allocations: 0 / 0.514 GB, free: 66.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.01604/0.5603, allocations: 7.579 MB / 0.5214 GB, free: 63.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.088e-05/0.5604, allocations: 276.5 kB / 0.5216 GB, free: 63.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005835/0.5662, allocations: 4.108 MB / 0.5256 GB, free: 61.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.5664, allocations: 51.92 kB / 0.5257 GB, free: 61.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001525/0.5679, allocations: 2.919 MB / 0.5285 GB, free: 59.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000427/0.5683, allocations: 0.5392 MB / 0.5291 GB, free: 58.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001376/0.5697, allocations: 1.117 MB / 0.5302 GB, free: 58.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.13e-05/0.5698, allocations: 308.3 kB / 0.5304 GB, free: 58.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00206/0.5719, allocations: 1.473 MB / 0.5319 GB, free: 57.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003285/0.5752, allocations: 4.935 MB / 0.5367 GB, free: 51.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005234/0.5804, allocations: 6.91 MB / 0.5435 GB, free: 43.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001035/0.5805, allocations: 36 kB / 0.5435 GB, free: 43.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.007974/0.5885, allocations: 6.201 MB / 0.5495 GB, free: 37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.023e-05/0.5886, allocations: 59.94 kB / 0.5496 GB, free: 36.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.51e-05/0.5887, allocations: 120 kB / 0.5497 GB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001161/0.5888, allocations: 168.1 kB / 0.5499 GB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003017/0.5918, allocations: 1.279 MB / 0.5511 GB, free: 35.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001129/0.592, allocations: 239.1 kB / 0.5514 GB, free: 35.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003209/0.5952, allocations: 263.5 kB / 0.5516 GB, free: 34.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002803/0.5955, allocations: 328.9 kB / 0.5519 GB, free: 34.56 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * Number of states: 0 () * Number of discrete variables: 30 (pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],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],electricCylinder.bodyCylinder.color[3],electricCylinder.bodyCylinder.color[2],electricCylinder.bodyCylinder.color[1],electricCylinder.bodyCylinder.body.sphereColor[3],electricCylinder.bodyCylinder.body.sphereColor[2],electricCylinder.bodyCylinder.body.sphereColor[1],electricCylinder.bodyBox.color[3],electricCylinder.bodyBox.color[2],electricCylinder.bodyBox.color[1],electricCylinder.bodyBox.body.sphereColor[3],electricCylinder.bodyBox.body.sphereColor[2],electricCylinder.bodyBox.body.sphereColor[1],electricCylinder.prismatic.boxColor[3],electricCylinder.prismatic.boxColor[2],electricCylinder.prismatic.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (690): * Single equations (assignments): 687 * 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.002082/0.5976, allocations: 2.038 MB / 0.5539 GB, free: 32.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004201/0.598, allocations: 347.5 kB / 0.5542 GB, free: 32.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004827/0.5985, allocations: 389.5 kB / 0.5546 GB, free: 31.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-05/0.5985, allocations: 16 kB / 0.5546 GB, free: 31.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.5985, allocations: 0 / 0.5546 GB, free: 31.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.5985, allocations: 11.97 kB / 0.5546 GB, free: 31.77 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006495/0.605, allocations: 5.303 MB / 0.5598 GB, free: 26.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.6051, allocations: 12 kB / 0.5598 GB, free: 26.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000737/0.6058, allocations: 239.7 kB / 0.5601 GB, free: 25.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.336e-05/0.6058, allocations: 16 kB / 0.5601 GB, free: 25.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.08e-05/0.6059, allocations: 35.98 kB / 0.5601 GB, free: 25.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.345e-05/0.6059, allocations: 23.94 kB / 0.5601 GB, free: 25.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/0.6059, allocations: 23.81 kB / 0.5601 GB, free: 25.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002393/0.6083, allocations: 2.885 MB / 0.563 GB, free: 22.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009262/0.6093, allocations: 0.5278 MB / 0.5635 GB, free: 22.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003091/0.6096, allocations: 44.05 kB / 0.5635 GB, free: 22.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.6106, allocations: 51.97 kB / 0.5636 GB, free: 22.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.6108, allocations: 119.4 kB / 0.5637 GB, free: 22.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.849e-05/0.6108, allocations: 52 kB / 0.5637 GB, free: 22.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002663/0.6135, allocations: 2.608 MB / 0.5663 GB, free: 19.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6135, allocations: 4 kB / 0.5663 GB, free: 19.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003501/0.617, allocations: 0.8462 MB / 0.5671 GB, free: 18.54 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 2 (electricCylinder.prismatic.s,electricCylinder.prismatic.v) * 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 (118): * Single equations (assignments): 115 * 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.0003053/0.6173, allocations: 187.8 kB / 0.5673 GB, free: 18.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004193/0.6215, allocations: 3.394 MB / 0.5706 GB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/0.6216, allocations: 12.25 kB / 0.5706 GB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007458/0.6223, allocations: 0.6547 MB / 0.5713 GB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00241/0.6247, allocations: 0.532 MB / 0.5718 GB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/0.6358, allocations: 8.188 MB / 0.5798 GB, free: 5.457 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003348/0.6391, allocations: 3.113 MB / 0.5828 GB, free: 2.316 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003467/0.6426, allocations: 1.635 MB / 0.5844 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006279/0.6433, allocations: 231.4 kB / 0.5846 GB, free: 456 kB / 382.1 MB Notification: Performance of SimCode: time 1.493e-06/0.6433, allocations: 0 / 0.5846 GB, free: 456 kB / 382.1 MB Notification: Performance of Templates: time 0.05237/0.6957, allocations: 24.06 MB / 0.6081 GB, free: 8.703 MB / 414.1 MB make -j1 -f StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.makefile (rm -f StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe ; mkfifo StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe ; head -c 1048576 < StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe >> ../files/StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.sim & ./StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe 2>&1)