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.0007846/0.0007846, allocations: 80.81 kB / 19.94 MB, free: 4.543 MB / 18.57 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.0008378/0.0008378, allocations: 173 kB / 23.36 MB, free: 1.129 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.8655/0.8655, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.02011/0.02011, allocations: 5.068 MB / 265.3 MB, free: 7.992 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.322e-06/1.322e-06, allocations: 0 / 283.4 MB, free: 5.957 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.269e-05/1.402e-05, allocations: 6.25 kB / 283.4 MB, free: 5.949 MB / 266.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.1072/0.1072, allocations: 6.925 MB / 290.3 MB, free: 19.28 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003288/0.1105, allocations: 2.342 MB / 292.6 MB, free: 19.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004685/0.1109, allocations: 36.69 kB / 292.7 MB, free: 19.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.112, allocations: 0.862 MB / 293.5 MB, free: 18.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001259/0.1133, allocations: 0.8646 MB / 294.4 MB, free: 18.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004008/0.1137, allocations: 246.5 kB / 294.6 MB, free: 18.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001693/0.1154, allocations: 1.895 MB / 296.5 MB, free: 17.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.1164, allocations: 1.152 MB / 297.7 MB, free: 17.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.1175, allocations: 1.031 MB / 298.7 MB, free: 16.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009242/0.1184, allocations: 0.8863 MB / 299.6 MB, free: 16.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001884/0.1186, allocations: 124.8 kB / 299.7 MB, free: 16.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006219/0.1192, allocations: 0.537 MB / 300.3 MB, free: 16.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004146/0.1197, allocations: 0.8903 MB / 301.1 MB, free: 16.06 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003992/0.1201, allocations: 0.5544 MB / 301.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.1215, allocations: 2.229 MB / 303.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1215, allocations: 4 kB / 303.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1215, allocations: 4.438 kB / 303.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.937e-05/0.1215, allocations: 3.844 kB / 303.9 MB, free: 14.42 MB / 266.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.001633/0.1231, allocations: 2.275 MB / 306.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.677e-05/0.1232, allocations: 12.88 kB / 306.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001716/0.1249, allocations: 0.7379 MB / 307 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007026/0.1256, allocations: 0.7782 MB / 307.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.926e-05/0.1256, allocations: 111.2 kB / 307.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/0.1258, allocations: 148.3 kB / 308 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/0.1276, allocations: 2.77 MB / 310.8 MB, free: 8.211 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.598e-05/0.1276, allocations: 31.69 kB / 310.8 MB, free: 8.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.1277, allocations: 76.7 kB / 310.9 MB, free: 8.105 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007746/0.1285, allocations: 1.116 MB / 312 MB, free: 6.988 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.1299, allocations: 1.371 MB / 313.4 MB, free: 5.637 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009174/0.1391, allocations: 18.45 MB / 331.8 MB, free: 2.453 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007687/0.1399, allocations: 0.5409 MB / 332.3 MB, free: 1.875 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.14, allocations: 166.9 kB / 332.5 MB, free: 1.703 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000135/0.1401, allocations: 108.4 kB / 332.6 MB, free: 1.598 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.1402, allocations: 43.56 kB / 332.7 MB, free: 1.547 MB / 282.7 MB Notification: Performance of pre-optimization done (n=83): time 2.164e-06/0.1402, allocations: 0 / 332.7 MB, free: 1.547 MB / 282.7 MB Notification: Performance of matching and sorting (n=91): time 0.002811/0.143, allocations: 1.876 MB / 334.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.143, allocations: 148.4 kB / 334.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.1443, allocations: 1.78 MB / 336.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.1443, allocations: 37.69 kB / 336.5 MB, free: 13.58 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007107/0.145, allocations: 1.98 MB / 338.5 MB, free: 11.58 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000183/0.1452, allocations: 389.1 kB / 338.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005371/0.1457, allocations: 0.7827 MB / 339.6 MB, free: 10.4 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.282e-05/0.1458, allocations: 337.9 kB / 340 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000424/0.1462, allocations: 421.9 kB / 340.4 MB, free: 9.641 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001646/0.1479, allocations: 3.035 MB / 343.4 MB, free: 5.215 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002617/0.1505, allocations: 3.929 MB / 347.3 MB, free: 15.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.42e-05/0.1505, allocations: 28 kB / 347.4 MB, free: 15.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=536) (initialization): time 0.002356/0.1529, allocations: 2.732 MB / 350.1 MB, free: 13.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.674e-05/0.1529, allocations: 48 kB / 350.2 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.556e-05/0.153, allocations: 96 kB / 350.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.052e-05/0.1531, allocations: 128 kB / 350.4 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/0.1544, allocations: 0.9318 MB / 351.3 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.514e-05/0.1545, allocations: 199.2 kB / 351.5 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009643/0.1554, allocations: 196.1 kB / 351.7 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/0.1556, allocations: 228 kB / 351.9 MB, free: 11.35 MB / 314.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.0004609/0.1561, allocations: 468.3 kB / 352.4 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.1562, allocations: 115.9 kB / 352.5 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001642/0.1564, allocations: 185.3 kB / 352.7 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.1564, allocations: 12 kB / 352.7 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1564, allocations: 3.938 kB / 352.7 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.1564, allocations: 7.984 kB / 352.7 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002192/0.1586, allocations: 2.103 MB / 354.8 MB, free: 8.348 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.1586, allocations: 16.06 kB / 354.8 MB, free: 8.332 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.1589, allocations: 130.7 kB / 354.9 MB, free: 8.207 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.1589, allocations: 8 kB / 354.9 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.1589, allocations: 27.98 kB / 355 MB, free: 8.172 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.1589, allocations: 8 kB / 355 MB, free: 8.164 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.1589, allocations: 11.94 kB / 355 MB, free: 8.152 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007224/0.1596, allocations: 1.166 MB / 356.2 MB, free: 6.883 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000207/0.1598, allocations: 222.5 kB / 356.4 MB, free: 6.664 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.849e-05/0.1599, allocations: 24 kB / 356.4 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002798/0.1602, allocations: 17.06 kB / 356.4 MB, free: 6.625 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.533e-05/0.1603, allocations: 63.78 kB / 356.5 MB, free: 6.562 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/0.1603, allocations: 31.98 kB / 356.5 MB, free: 6.531 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005093/0.1608, allocations: 0.6653 MB / 357.2 MB, free: 5.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1608, allocations: 4 kB / 357.2 MB, free: 5.836 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001414/0.1622, allocations: 0.5038 MB / 357.7 MB, free: 5.332 MB / 314.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.0001812/0.1624, allocations: 136.1 kB / 357.8 MB, free: 5.188 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001178/0.1636, allocations: 1.522 MB / 359.3 MB, free: 3.676 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.413e-05/0.1637, allocations: 56.69 kB / 359.4 MB, free: 3.617 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.1639, allocations: 199.4 kB / 359.6 MB, free: 3.422 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006482/0.1645, allocations: 187 kB / 359.8 MB, free: 3.242 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004132/0.1687, allocations: 4.098 MB / 363.9 MB, free: 15.01 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005059/0.1692, allocations: 0.6389 MB / 364.5 MB, free: 14.35 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006011/0.1698, allocations: 314.5 kB / 364.8 MB, free: 14.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/0.1701, allocations: 315.3 kB / 365.1 MB, free: 13.73 MB / 330.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1701, allocations: 0 / 365.1 MB, free: 13.73 MB / 330.7 MB Notification: Performance of Templates: time 0.01982/0.1899, allocations: 12.57 MB / 377.7 MB, free: 1.352 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: 2.8002186780795455]