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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002068/0.002068, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.543/1.543, allocations: 177.1 MB / 203.1 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.03633/0.03633, allocations: 5.072 MB / 264.6 MB, free: 8.145 MB / 250.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(StewartPlatform.Tests.ElectricCylinder_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test") translateModel(StewartPlatform.Tests.ElectricCylinder_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 335.4 MB, free: 13.44 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.01e-05/3.24e-05, allocations: 6.312 kB / 335.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.009772/0.009804, allocations: 11.22 MB / 346.7 MB, free: 2.164 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009219/0.01902, allocations: 4.313 MB / 351 MB, free: 13.84 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002211/0.02123, allocations: 87.5 kB / 351.1 MB, free: 13.75 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006228/0.02746, allocations: 2.581 MB / 353.7 MB, free: 11.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007272/0.03473, allocations: 2.045 MB / 355.7 MB, free: 9.109 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002196/0.03693, allocations: 0.8656 MB / 356.6 MB, free: 8.242 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01016/0.04709, allocations: 6.438 MB / 363 MB, free: 1.793 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006341/0.05343, allocations: 3.535 MB / 366.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006176/0.05961, allocations: 2.651 MB / 369.2 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005595/0.06521, allocations: 2.596 MB / 371.8 MB, free: 8.949 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00141/0.06662, allocations: 416 kB / 372.2 MB, free: 8.543 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002915/0.06953, allocations: 1.112 MB / 373.3 MB, free: 7.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002822/0.07235, allocations: 2.112 MB / 375.4 MB, free: 5.312 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002711/0.07506, allocations: 1.383 MB / 376.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01127/0.08634, allocations: 7.571 MB / 384.4 MB, free: 12.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.08635, allocations: 4 kB / 384.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.08635, allocations: 0 / 384.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000261/0.08661, allocations: 0 / 384.4 MB, free: 12.32 MB / 314.7 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.01713/0.1037, allocations: 5.732 MB / 390.1 MB, free: 6.523 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.1038, allocations: 8.031 kB / 390.1 MB, free: 6.516 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02178/0.1256, allocations: 3.33 MB / 393.4 MB, free: 3.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01115/0.1367, allocations: 3.299 MB / 396.7 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002488/0.137, allocations: 217.8 kB / 397 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001088/0.1381, allocations: 300.1 kB / 397.2 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01307/0.1511, allocations: 5.693 MB / 402.9 MB, free: 8.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001629/0.1513, allocations: 47.64 kB / 403 MB, free: 8.703 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004351/0.1517, allocations: 135.9 kB / 403.1 MB, free: 8.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002686/0.1544, allocations: 1.564 MB / 404.7 MB, free: 7.008 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009873/0.1643, allocations: 2.753 MB / 407.4 MB, free: 4.246 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1859/0.3502, allocations: 43.32 MB / 450.8 MB, free: 41.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003049/0.3532, allocations: 1.133 MB / 451.9 MB, free: 40.1 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00051/0.3538, allocations: 322 kB / 452.2 MB, free: 39.8 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004371/0.3581, allocations: 2.765 MB / 455 MB, free: 37.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.3582, allocations: 49.89 kB / 455 MB, free: 37.12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=114): time 3.827e-06/0.3582, allocations: 0 / 455 MB, free: 37.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=134): time 0.01795/0.3761, allocations: 6.749 MB / 461.8 MB, free: 30.49 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.3762, allocations: 273.7 kB / 462 MB, free: 30.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00902/0.3852, allocations: 4.601 MB / 466.6 MB, free: 25.71 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003264/0.3856, allocations: 45.7 kB / 466.7 MB, free: 25.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003238/0.3888, allocations: 3.455 MB / 470.1 MB, free: 22.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009095/0.3897, allocations: 0.6073 MB / 470.7 MB, free: 21.72 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002547/0.3923, allocations: 1.431 MB / 472.2 MB, free: 20.28 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.498e-05/0.3924, allocations: 480.4 kB / 472.6 MB, free: 19.81 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001879/0.3942, allocations: 0.5767 MB / 473.2 MB, free: 19.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005081/0.3993, allocations: 6.017 MB / 479.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008363/0.4077, allocations: 7.027 MB / 486.3 MB, free: 1.523 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001749/0.4078, allocations: 36 kB / 486.3 MB, free: 1.488 MB / 330.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01888/0.4267, allocations: 4.699 MB / 491 MB, free: 12.79 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001693/0.4269, allocations: 56 kB / 491 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002812/0.4272, allocations: 124.9 kB / 491.2 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003132/0.4275, allocations: 160 kB / 491.3 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00795/0.4354, allocations: 1.283 MB / 492.6 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003889/0.4358, allocations: 243 kB / 492.8 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007671/0.4435, allocations: 327.1 kB / 493.2 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001469/0.445, allocations: 332 kB / 493.5 MB, free: 10.29 MB / 346.7 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.003647/0.4486, allocations: 0.7283 MB / 494.2 MB, free: 9.551 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001528/0.4501, allocations: 361.8 kB / 494.6 MB, free: 9.195 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.4513, allocations: 302.6 kB / 494.9 MB, free: 8.895 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.634e-05/0.4514, allocations: 16 kB / 494.9 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.67e-05/0.4514, allocations: 0 / 494.9 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.099e-05/0.4514, allocations: 3.984 kB / 494.9 MB, free: 8.875 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02054/0.4719, allocations: 5.582 MB / 0.4887 GB, free: 3.059 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.89e-05/0.472, allocations: 12 kB / 0.4888 GB, free: 3.047 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001881/0.4739, allocations: 235.8 kB / 0.489 GB, free: 2.816 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.387e-05/0.4739, allocations: 20 kB / 0.489 GB, free: 2.797 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001632/0.4741, allocations: 35.98 kB / 0.489 GB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.153e-05/0.4741, allocations: 19.94 kB / 0.489 GB, free: 2.742 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.693e-05/0.4742, allocations: 27.81 kB / 0.4891 GB, free: 2.715 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006343/0.4805, allocations: 2.299 MB / 0.4913 GB, free: 180 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002708/0.4832, allocations: 465.7 kB / 0.4918 GB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008558/0.4841, allocations: 43.81 kB / 0.4918 GB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002506/0.4866, allocations: 95.83 kB / 0.4919 GB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003594/0.4869, allocations: 115.3 kB / 0.492 GB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001727/0.4871, allocations: 56.03 kB / 0.4921 GB, free: 15.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.007209/0.4943, allocations: 1.951 MB / 0.494 GB, free: 13.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4943, allocations: 0 / 0.494 GB, free: 13.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.01033/0.5047, allocations: 0.9179 MB / 0.4949 GB, free: 12.56 MB / 362.7 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.0009714/0.5056, allocations: 198.4 kB / 0.4951 GB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.009783/0.5154, allocations: 2.602 MB / 0.4976 GB, free: 9.773 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.658e-05/0.5154, allocations: 4 kB / 0.4976 GB, free: 9.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001619/0.5171, allocations: 460.5 kB / 0.498 GB, free: 9.316 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005213/0.5223, allocations: 0.5107 MB / 0.4985 GB, free: 8.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0214/0.5437, allocations: 7.184 MB / 0.5056 GB, free: 1.352 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006057/0.5497, allocations: 2.354 MB / 0.5078 GB, free: 14.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.006455/0.5562, allocations: 1.41 MB / 0.5092 GB, free: 13.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/0.5572, allocations: 224.5 kB / 0.5094 GB, free: 13.33 MB / 378.7 MB Notification: Performance of SimCode: time 2.154e-06/0.5572, allocations: 0 / 0.5094 GB, free: 13.33 MB / 378.7 MB Notification: Performance of Templates: time 0.06409/0.6213, allocations: 23.64 MB / 0.5325 GB, free: 6.25 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.makefile [Timeout 660] (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=240 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.360788660007529]