Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr StewartPlatform_StewartPlatform.Tests.SpindleDrive_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.001434/0.001434, allocations: 93.06 kB / 19.65 MB, free: 280 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.001764/0.001764, allocations: 169 kB / 23.02 MB, free: 1.551 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 0.9537/0.9537, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.01957/0.01957, allocations: 5.064 MB / 265 MB, free: 8.102 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.SpindleDrive_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.SpindleDrive_test") translateModel(StewartPlatform.Tests.SpindleDrive_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.SpindleDrive_test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 336.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.661e-05, allocations: 2.312 kB / 336.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.004759/0.004775, allocations: 7.058 MB / 343.2 MB, free: 5.996 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002561/0.007337, allocations: 2.275 MB / 345.5 MB, free: 3.715 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003692/0.007706, allocations: 35.88 kB / 345.5 MB, free: 3.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00105/0.008756, allocations: 0.8637 MB / 346.4 MB, free: 2.812 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009624/0.009718, allocations: 0.8627 MB / 347.3 MB, free: 1.945 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.01002, allocations: 247.3 kB / 347.5 MB, free: 1.703 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001181/0.0112, allocations: 1.899 MB / 349.4 MB, free: 15.8 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008062/0.01201, allocations: 1.111 MB / 350.5 MB, free: 14.67 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007704/0.01278, allocations: 1.036 MB / 351.6 MB, free: 13.63 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007314/0.01351, allocations: 0.9311 MB / 352.5 MB, free: 12.7 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001431/0.01366, allocations: 124 kB / 352.6 MB, free: 12.58 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005552/0.01421, allocations: 0.5459 MB / 353.2 MB, free: 12.03 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004693/0.01468, allocations: 0.8957 MB / 354.1 MB, free: 11.13 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003672/0.01505, allocations: 0.5486 MB / 354.6 MB, free: 10.58 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00155/0.0166, allocations: 2.229 MB / 356.8 MB, free: 8.344 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.0166, allocations: 4 kB / 356.8 MB, free: 8.34 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.0166, allocations: 0 / 356.8 MB, free: 8.34 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.01662, allocations: 0 / 356.8 MB, free: 8.34 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 884 * Number of variables: 884 Notification: Performance of Generate backend data structure: time 0.002044/0.01866, allocations: 2.66 MB / 359.5 MB, free: 5.629 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.0187, allocations: 8.031 kB / 359.5 MB, free: 5.621 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002915/0.02161, allocations: 1.86 MB / 361.4 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008799/0.02249, allocations: 0.9589 MB / 362.3 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.822e-05/0.02255, allocations: 111.2 kB / 362.4 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/0.02271, allocations: 144.3 kB / 362.6 MB, free: 2.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002853/0.02557, allocations: 3.368 MB / 365.9 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.229e-05/0.02561, allocations: 23.77 kB / 366 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001542/0.02576, allocations: 79.89 kB / 366 MB, free: 14.42 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001107/0.02687, allocations: 1.261 MB / 367.3 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00247/0.02934, allocations: 1.655 MB / 369 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01382/0.04316, allocations: 26.21 MB / 395.2 MB, free: 364 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.04423, allocations: 0.6024 MB / 395.8 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.04444, allocations: 175.4 kB / 395.9 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001569/0.0446, allocations: 105.9 kB / 396 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.04462, allocations: 49.33 kB / 396.1 MB, free: 15.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=83): time 2.575e-06/0.04463, allocations: 4 kB / 396.1 MB, free: 15.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=91): time 0.004093/0.04872, allocations: 3.467 MB / 399.6 MB, free: 11.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.04877, allocations: 148.4 kB / 399.7 MB, free: 11.64 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/0.05057, allocations: 2.254 MB / 402 MB, free: 9.336 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.0506, allocations: 37.7 kB / 402 MB, free: 9.293 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000887/0.05149, allocations: 2.165 MB / 404.2 MB, free: 7.105 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/0.05169, allocations: 413.1 kB / 404.6 MB, free: 6.699 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006339/0.05233, allocations: 0.897 MB / 405.5 MB, free: 5.785 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.05244, allocations: 0.5043 MB / 406 MB, free: 5.273 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005069/0.05295, allocations: 375.9 kB / 406.3 MB, free: 4.898 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1337/0.1866, allocations: 4.428 MB / 410.8 MB, free: 69.17 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003492/0.1901, allocations: 5.294 MB / 416.1 MB, free: 63.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.665e-05/0.1902, allocations: 28.28 kB / 416.1 MB, free: 63.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=536) (initialization): time 0.003991/0.1942, allocations: 3.445 MB / 419.5 MB, free: 63 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.202e-05/0.1942, allocations: 47.62 kB / 419.6 MB, free: 63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.52e-05/0.1943, allocations: 100.8 kB / 419.7 MB, free: 63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001239/0.1944, allocations: 127.8 kB / 419.8 MB, free: 63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/0.1961, allocations: 0.9514 MB / 420.8 MB, free: 62.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.39e-05/0.1962, allocations: 194.7 kB / 420.9 MB, free: 62.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.1974, allocations: 203.7 kB / 421.1 MB, free: 62.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002215/0.1976, allocations: 260.4 kB / 421.4 MB, free: 62.86 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 445 * Number of states: 0 () * Number of discrete variables: 18 (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],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (512): * Single equations (assignments): 509 * 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.0005562/0.1982, allocations: 0.4917 MB / 421.9 MB, free: 62.61 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/0.1984, allocations: 221 kB / 422.1 MB, free: 62.61 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.1985, allocations: 182.4 kB / 422.3 MB, free: 62.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.1985, allocations: 17.81 kB / 422.3 MB, free: 62.58 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.1985, allocations: 3.562 kB / 422.3 MB, free: 62.58 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1985, allocations: 6.141 kB / 422.3 MB, free: 62.58 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002488/0.201, allocations: 2.575 MB / 424.9 MB, free: 61.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.201, allocations: 7.5 kB / 424.9 MB, free: 61.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003012/0.2013, allocations: 144.5 kB / 425 MB, free: 61.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.2013, allocations: 11.44 kB / 425 MB, free: 61.81 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/0.2014, allocations: 20.05 kB / 425.1 MB, free: 61.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.2014, allocations: 12.16 kB / 425.1 MB, free: 61.81 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.2014, allocations: 14.98 kB / 425.1 MB, free: 61.8 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009114/0.2023, allocations: 1.452 MB / 426.5 MB, free: 60.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/0.2025, allocations: 261.3 kB / 426.8 MB, free: 60.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.659e-05/0.2026, allocations: 21.84 kB / 426.8 MB, free: 60.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002953/0.2029, allocations: 29.16 kB / 426.8 MB, free: 60.89 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.46e-05/0.203, allocations: 61.59 kB / 426.9 MB, free: 60.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.583e-05/0.203, allocations: 38.41 kB / 426.9 MB, free: 60.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007965/0.2038, allocations: 0.938 MB / 427.9 MB, free: 60.65 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2038, allocations: 0 / 427.9 MB, free: 60.65 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001367/0.2052, allocations: 0.5052 MB / 428.4 MB, free: 60.22 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (prismatic.s,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 (73): * Single equations (assignments): 70 * 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.0002144/0.2054, allocations: 150.3 kB / 428.5 MB, free: 60.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001522/0.2069, allocations: 1.707 MB / 430.2 MB, free: 58.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2069, allocations: 4.125 kB / 430.2 MB, free: 58.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.2072, allocations: 255.1 kB / 430.5 MB, free: 58.63 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006941/0.2078, allocations: 195.7 kB / 430.7 MB, free: 58.54 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003535/0.2114, allocations: 4.093 MB / 434.8 MB, free: 54.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.2118, allocations: 0.6539 MB / 435.4 MB, free: 54.16 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001269/0.2131, allocations: 1.135 MB / 436.6 MB, free: 53.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.2132, allocations: 140.2 kB / 436.7 MB, free: 53.39 MB / 330.7 MB Notification: Performance of SimCode: time 1.813e-06/0.2132, allocations: 0 / 436.7 MB, free: 53.39 MB / 330.7 MB Notification: Performance of Templates: time 0.01755/0.2308, allocations: 11.76 MB / 448.5 MB, free: 42.38 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.makefile [Timeout 660] (rm -f StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe ; mkfifo StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe ; head -c 1048576 < StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe >> ../files/StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.sim & ./StewartPlatform_StewartPlatform.Tests.SpindleDrive_test -abortSlowSimulation -alarm=240 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1528292461298406]