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.0009411/0.0009411, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001008/0.001008, allocations: 177.3 kB / 23.36 MB, free: 1.133 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.9171/0.9171, allocations: 177.2 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.02113/0.02113, allocations: 5.074 MB / 265.3 MB, free: 7.996 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.233e-06/1.233e-06, allocations: 0 / 283.4 MB, free: 5.914 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.263e-05/1.387e-05, allocations: 2.312 kB / 283.4 MB, free: 5.91 MB / 266.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.0995/0.09951, allocations: 6.975 MB / 290.4 MB, free: 19.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003406/0.1029, allocations: 2.343 MB / 292.7 MB, free: 19.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004829/0.1034, allocations: 39.31 kB / 292.8 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.1046, allocations: 0.849 MB / 293.6 MB, free: 18.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00127/0.1058, allocations: 0.8628 MB / 294.5 MB, free: 18.67 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004157/0.1062, allocations: 247.8 kB / 294.7 MB, free: 18.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001557/0.1078, allocations: 1.891 MB / 296.6 MB, free: 17.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009271/0.1087, allocations: 1.148 MB / 297.8 MB, free: 17.33 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.1097, allocations: 1.029 MB / 298.8 MB, free: 16.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008208/0.1106, allocations: 0.8802 MB / 299.7 MB, free: 16.69 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001655/0.1107, allocations: 123.8 kB / 299.8 MB, free: 16.69 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006841/0.1114, allocations: 0.5617 MB / 300.4 MB, free: 16.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004307/0.1118, allocations: 0.8902 MB / 301.2 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004232/0.1123, allocations: 0.5499 MB / 301.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001509/0.1138, allocations: 2.235 MB / 304 MB, free: 14.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1138, allocations: 1.406 kB / 304 MB, free: 14.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.1138, allocations: 0 / 304 MB, free: 14.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.938e-05/0.1138, allocations: 0 / 304 MB, free: 14.35 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.00171/0.1155, allocations: 2.282 MB / 306.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.737e-05/0.1156, allocations: 7.844 kB / 306.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001812/0.1174, allocations: 0.7428 MB / 307.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006838/0.118, allocations: 0.7752 MB / 307.8 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.177e-05/0.1181, allocations: 112.8 kB / 307.9 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.1182, allocations: 148.3 kB / 308.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.12, allocations: 2.77 MB / 310.9 MB, free: 8.109 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.644e-05/0.1201, allocations: 32.31 kB / 310.9 MB, free: 8.078 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.1202, allocations: 75.91 kB / 311 MB, free: 8.004 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007534/0.121, allocations: 1.118 MB / 312.1 MB, free: 6.887 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001489/0.1225, allocations: 1.368 MB / 313.5 MB, free: 5.539 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009443/0.1319, allocations: 18.45 MB / 331.9 MB, free: 2.355 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000815/0.1327, allocations: 0.5401 MB / 332.4 MB, free: 1.777 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.1329, allocations: 172.1 kB / 332.6 MB, free: 1.602 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001378/0.133, allocations: 104.5 kB / 332.7 MB, free: 1.5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.133, allocations: 42.56 kB / 332.8 MB, free: 1.449 MB / 282.7 MB Notification: Performance of pre-optimization done (n=83): time 2.164e-06/0.133, allocations: 0 / 332.8 MB, free: 1.449 MB / 282.7 MB Notification: Performance of matching and sorting (n=91): time 0.003014/0.136, allocations: 1.879 MB / 334.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.1361, allocations: 144.5 kB / 334.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.1374, allocations: 1.779 MB / 336.5 MB, free: 13.53 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.1375, allocations: 41.69 kB / 336.6 MB, free: 13.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007402/0.1382, allocations: 1.976 MB / 338.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001845/0.1384, allocations: 393.1 kB / 339 MB, free: 11.1 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005529/0.1389, allocations: 0.7788 MB / 339.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.702e-05/0.139, allocations: 337.9 kB / 340.1 MB, free: 9.969 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000445/0.1395, allocations: 421.9 kB / 340.5 MB, free: 9.547 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00167/0.1411, allocations: 3.035 MB / 343.5 MB, free: 5.121 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002645/0.1438, allocations: 3.932 MB / 347.4 MB, free: 15.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.792e-05/0.1438, allocations: 28 kB / 347.5 MB, free: 15.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=536) (initialization): time 0.002488/0.1463, allocations: 2.735 MB / 350.2 MB, free: 13.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.067e-05/0.1463, allocations: 48 kB / 350.2 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.767e-05/0.1464, allocations: 96 kB / 350.3 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.133e-05/0.1465, allocations: 128 kB / 350.5 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/0.1479, allocations: 0.9792 MB / 351.4 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.186e-05/0.148, allocations: 199.2 kB / 351.6 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.149, allocations: 191.7 kB / 351.8 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/0.1492, allocations: 235.9 kB / 352.1 MB, free: 11.2 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.000478/0.1497, allocations: 460.3 kB / 352.5 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.1499, allocations: 119.9 kB / 352.6 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00017/0.15, allocations: 185.3 kB / 352.8 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.15, allocations: 12 kB / 352.8 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.15, allocations: 3.938 kB / 352.8 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.15, allocations: 7.984 kB / 352.8 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/0.1522, allocations: 2.101 MB / 354.9 MB, free: 8.203 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.914e-06/0.1522, allocations: 11.94 kB / 354.9 MB, free: 8.191 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/0.1525, allocations: 147.7 kB / 355.1 MB, free: 8.047 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.1525, allocations: 8 kB / 355.1 MB, free: 8.039 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.1525, allocations: 21.31 kB / 355.1 MB, free: 8.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.1525, allocations: 8.547 kB / 355.1 MB, free: 8.012 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.1526, allocations: 15.92 kB / 355.1 MB, free: 7.996 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007125/0.1533, allocations: 1.165 MB / 356.3 MB, free: 6.727 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/0.1535, allocations: 218.6 kB / 356.5 MB, free: 6.512 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.419e-05/0.1536, allocations: 30.83 kB / 356.5 MB, free: 6.484 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002832/0.1538, allocations: 16 kB / 356.6 MB, free: 6.469 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.546e-05/0.1539, allocations: 63.78 kB / 356.6 MB, free: 6.406 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.1539, allocations: 28 kB / 356.7 MB, free: 6.379 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005022/0.1544, allocations: 0.6692 MB / 357.3 MB, free: 5.684 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1544, allocations: 0 / 357.3 MB, free: 5.684 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001433/0.1559, allocations: 0.5078 MB / 357.8 MB, free: 5.176 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.0001786/0.1561, allocations: 132 kB / 358 MB, free: 5.035 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.1573, allocations: 1.528 MB / 359.5 MB, free: 3.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.073e-05/0.1573, allocations: 52.69 kB / 359.5 MB, free: 3.465 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.1575, allocations: 202.4 kB / 359.7 MB, free: 3.266 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006646/0.1582, allocations: 187.3 kB / 359.9 MB, free: 3.086 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004112/0.1623, allocations: 4.098 MB / 364 MB, free: 14.85 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005128/0.1628, allocations: 0.6428 MB / 364.7 MB, free: 14.18 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006127/0.1634, allocations: 307.1 kB / 365 MB, free: 13.89 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003062/0.1637, allocations: 323.3 kB / 365.3 MB, free: 13.57 MB / 330.7 MB Notification: Performance of SimCode: time 9.42e-07/0.1637, allocations: 4 kB / 365.3 MB, free: 13.57 MB / 330.7 MB Notification: Performance of Templates: time 0.02018/0.1839, allocations: 12.62 MB / 377.9 MB, free: 1.156 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8326685866340995]