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.001618/0.001618, allocations: 104.8 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.001685/0.001685, allocations: 190.5 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.03171/0.03171, allocations: 6.498 MB / 297.6 MB, free: 8.367 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 67.84 kB / 360.2 MB, free: 9.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.265, allocations: 50.85 MB / 411 MB, free: 28.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.01073/0.2758, allocations: 11.62 MB / 422.7 MB, free: 16.62 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00772/0.2836, allocations: 4.385 MB / 427 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001979/0.2856, allocations: 75.75 kB / 427.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00433/0.29, allocations: 2.427 MB / 429.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004489/0.2946, allocations: 1.945 MB / 431.5 MB, free: 7.762 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.2963, allocations: 0.7606 MB / 432.3 MB, free: 7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006221/0.3025, allocations: 5.561 MB / 437.8 MB, free: 1.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004647/0.3072, allocations: 3.508 MB / 441.3 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00316/0.3104, allocations: 1.674 MB / 443 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003632/0.314, allocations: 2.251 MB / 445.2 MB, free: 9.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001221/0.3153, allocations: 400 kB / 445.6 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002774/0.3181, allocations: 1.159 MB / 446.8 MB, free: 8.391 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003296/0.3214, allocations: 1.983 MB / 448.8 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004529/0.326, allocations: 2.292 MB / 451.1 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009806/0.3358, allocations: 7.398 MB / 458.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.3359, allocations: 0 / 458.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.3359, allocations: 0 / 458.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002692/0.3362, allocations: 0 / 458.5 MB, free: 12.67 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.01409/0.3503, allocations: 4.755 MB / 463.2 MB, free: 7.848 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.3503, allocations: 12.03 kB / 463.2 MB, free: 7.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01838/0.3687, allocations: 2.792 MB / 466 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009466/0.3782, allocations: 3.66 MB / 469.7 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002503/0.3785, allocations: 217.9 kB / 469.9 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001498/0.3801, allocations: 295.6 kB / 470.2 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01677/0.3968, allocations: 8.524 MB / 478.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002206/0.3971, allocations: 47.64 kB / 478.8 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009815/0.3981, allocations: 135.9 kB / 478.9 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002569/0.4007, allocations: 1.56 MB / 480.5 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01505/0.4158, allocations: 6.931 MB / 487.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2788/0.6946, allocations: 32.94 MB / 0.5081 GB, free: 68.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004331/0.6989, allocations: 2.154 MB / 0.5102 GB, free: 67.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001086/0.7001, allocations: 0.6689 MB / 0.5109 GB, free: 67.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005308/0.7054, allocations: 3.1 MB / 0.5139 GB, free: 66.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.863e-05/0.7055, allocations: 44.06 kB / 0.514 GB, free: 66.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=114): time 4.187e-06/0.7055, allocations: 0 / 0.514 GB, free: 66.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.01685/0.7224, allocations: 7.584 MB / 0.5214 GB, free: 63.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.319e-05/0.7225, allocations: 276 kB / 0.5216 GB, free: 63.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005222/0.7277, allocations: 4.115 MB / 0.5256 GB, free: 61.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001542/0.7279, allocations: 40.95 kB / 0.5257 GB, free: 61.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001289/0.7292, allocations: 2.916 MB / 0.5285 GB, free: 59.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004005/0.7296, allocations: 0.5432 MB / 0.5291 GB, free: 58.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001033/0.7307, allocations: 1.11 MB / 0.5301 GB, free: 58.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.315e-05/0.7307, allocations: 304.8 kB / 0.5304 GB, free: 58.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001723/0.7324, allocations: 1.475 MB / 0.5319 GB, free: 57.51 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002748/0.7352, allocations: 4.948 MB / 0.5367 GB, free: 51.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004767/0.74, allocations: 6.907 MB / 0.5435 GB, free: 43.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.854e-05/0.7401, allocations: 36.88 kB / 0.5435 GB, free: 43.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.007995/0.7481, allocations: 6.202 MB / 0.5495 GB, free: 37.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.168e-05/0.7482, allocations: 59.94 kB / 0.5496 GB, free: 36.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001031/0.7483, allocations: 124.9 kB / 0.5497 GB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001081/0.7484, allocations: 160 kB / 0.5499 GB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003166/0.7516, allocations: 1.287 MB / 0.5511 GB, free: 35.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001156/0.7517, allocations: 235.1 kB / 0.5514 GB, free: 35.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003414/0.7551, allocations: 263.5 kB / 0.5516 GB, free: 34.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000446/0.7556, allocations: 335.1 kB / 0.5519 GB, free: 34.58 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.002475/0.7581, allocations: 2.029 MB / 0.5539 GB, free: 32.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006841/0.7588, allocations: 347.5 kB / 0.5542 GB, free: 32.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006399/0.7594, allocations: 385.5 kB / 0.5546 GB, free: 31.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.538e-05/0.7594, allocations: 16 kB / 0.5546 GB, free: 31.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/0.7595, allocations: 0 / 0.5546 GB, free: 31.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.7595, allocations: 7.984 kB / 0.5546 GB, free: 31.79 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.009403/0.7689, allocations: 5.308 MB / 0.5598 GB, free: 26.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.548e-05/0.769, allocations: 12 kB / 0.5598 GB, free: 26.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009182/0.7699, allocations: 236.5 kB / 0.56 GB, free: 26.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.11e-05/0.7699, allocations: 20 kB / 0.5601 GB, free: 26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.538e-05/0.77, allocations: 40 kB / 0.5601 GB, free: 25.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.765e-05/0.7701, allocations: 23.92 kB / 0.5601 GB, free: 25.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.504e-05/0.7701, allocations: 27.81 kB / 0.5602 GB, free: 25.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003348/0.7734, allocations: 2.881 MB / 0.563 GB, free: 22.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001941/0.7754, allocations: 0.5239 MB / 0.5635 GB, free: 22.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006437/0.776, allocations: 36 kB / 0.5635 GB, free: 22.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/0.7773, allocations: 63.7 kB / 0.5636 GB, free: 22.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001959/0.7775, allocations: 121.5 kB / 0.5637 GB, free: 22.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.653e-05/0.7776, allocations: 55.98 kB / 0.5637 GB, free: 22.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.004424/0.782, allocations: 2.605 MB / 0.5663 GB, free: 19.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7821, allocations: 0 / 0.5663 GB, free: 19.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.006478/0.7886, allocations: 0.8439 MB / 0.5671 GB, free: 18.57 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.0004717/0.7891, allocations: 191.9 kB / 0.5673 GB, free: 18.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005371/0.7944, allocations: 3.4 MB / 0.5706 GB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.768e-05/0.7945, allocations: 4.688 kB / 0.5706 GB, free: 15.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008797/0.7954, allocations: 0.6584 MB / 0.5713 GB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003321/0.7987, allocations: 0.5271 MB / 0.5718 GB, free: 13.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/0.8103, allocations: 8.203 MB / 0.5798 GB, free: 5.477 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002816/0.8131, allocations: 3.105 MB / 0.5828 GB, free: 2.344 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003321/0.8165, allocations: 1.635 MB / 0.5844 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005671/0.8171, allocations: 227.4 kB / 0.5846 GB, free: 488 kB / 382.1 MB Notification: Performance of SimCode: time 8.82e-07/0.8171, allocations: 0 / 0.5846 GB, free: 488 kB / 382.1 MB Notification: Performance of Templates: time 0.05365/0.8707, allocations: 24.06 MB / 0.6081 GB, free: 8.727 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 cvode -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe 2>&1)