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.0006167/0.0006167, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009088/0.001525, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006471/0.0006471, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009641/0.001611, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9208/0.9208, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07695/0.9977, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.01976/0.01976, allocations: 5.056 MB / 249.2 MB, free: 9.832 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003689/0.02345, allocations: 1.92 MB / 251.1 MB, free: 7.91 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.714e-06/1.714e-06, allocations: 0 / 252.5 MB, free: 6.527 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.189e-05, allocations: 2.312 kB / 252.5 MB, free: 6.523 MB / 250.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.005965/0.005986, allocations: 7.028 MB / 259.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00383/0.009817, allocations: 2.352 MB / 261.9 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007743/0.01059, allocations: 35.88 kB / 261.9 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001234/0.01183, allocations: 0.8519 MB / 262.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001556/0.01338, allocations: 0.8706 MB / 263.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004817/0.01386, allocations: 231.3 kB / 263.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001901/0.01576, allocations: 1.868 MB / 265.7 MB, free: 9.234 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.01701, allocations: 1.07 MB / 266.8 MB, free: 8.141 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001347/0.01836, allocations: 1.075 MB / 267.9 MB, free: 7.066 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.01948, allocations: 0.8726 MB / 268.7 MB, free: 6.191 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002914/0.01977, allocations: 124 kB / 268.9 MB, free: 6.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008841/0.02065, allocations: 0.5575 MB / 269.4 MB, free: 5.512 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005593/0.02121, allocations: 0.8101 MB / 270.2 MB, free: 4.699 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004998/0.02171, allocations: 474.3 kB / 270.7 MB, free: 4.234 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002088/0.0238, allocations: 2.093 MB / 272.8 MB, free: 2.133 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.437e-05/0.02381, allocations: 0 / 272.8 MB, free: 2.133 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.02381, allocations: 0 / 272.8 MB, free: 2.133 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.149e-05/0.02391, allocations: 0 / 272.8 MB, free: 2.133 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.1062/0.1301, allocations: 2.712 MB / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.1301, allocations: 12.28 kB / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002211/0.1323, allocations: 0.8056 MB / 276.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.1335, allocations: 0.7762 MB / 277.1 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.666e-05/0.1336, allocations: 113.1 kB / 277.2 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002149/0.1338, allocations: 147.9 kB / 277.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003541/0.1373, allocations: 2.769 MB / 280.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.299e-05/0.1374, allocations: 31.84 kB / 280.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.1376, allocations: 75.39 kB / 280.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001116/0.1387, allocations: 1.048 MB / 281.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002834/0.1415, allocations: 1.37 MB / 282.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01266/0.1542, allocations: 18.45 MB / 301.1 MB, free: 14.72 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009361/0.1551, allocations: 0.5382 MB / 301.6 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.1552, allocations: 161.8 kB / 301.8 MB, free: 14.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/0.1554, allocations: 110.8 kB / 301.9 MB, free: 14.42 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.1554, allocations: 44.38 kB / 301.9 MB, free: 14.37 MB / 282.7 MB Notification: Performance of pre-optimization done (n=83): time 4.057e-06/0.1554, allocations: 0 / 301.9 MB, free: 14.37 MB / 282.7 MB Notification: Performance of matching and sorting (n=91): time 0.003789/0.1592, allocations: 1.88 MB / 303.8 MB, free: 13.6 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.1593, allocations: 140.5 kB / 304 MB, free: 13.43 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.1606, allocations: 1.774 MB / 305.7 MB, free: 11.82 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.1607, allocations: 37.7 kB / 305.8 MB, free: 11.77 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001196/0.1619, allocations: 1.982 MB / 307.7 MB, free: 9.781 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002834/0.1621, allocations: 393.1 kB / 308.1 MB, free: 9.395 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005941/0.1627, allocations: 0.7826 MB / 308.9 MB, free: 8.598 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.787e-05/0.1628, allocations: 337.9 kB / 309.2 MB, free: 8.262 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005166/0.1633, allocations: 425.1 kB / 309.7 MB, free: 7.84 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001771/0.1651, allocations: 3.033 MB / 312.7 MB, free: 3.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00308/0.1682, allocations: 4.241 MB / 316.9 MB, free: 13.85 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-05/0.1682, allocations: 28 kB / 317 MB, free: 13.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=536) (initialization): time 0.003082/0.1713, allocations: 2.736 MB / 319.7 MB, free: 11.08 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.826e-05/0.1714, allocations: 48 kB / 319.7 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.92e-05/0.1715, allocations: 100 kB / 319.8 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.084e-05/0.1716, allocations: 128 kB / 320 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/0.1733, allocations: 1.038 MB / 321 MB, free: 9.773 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.222e-05/0.1734, allocations: 195.2 kB / 321.2 MB, free: 9.582 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.1749, allocations: 191.7 kB / 321.4 MB, free: 9.395 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002084/0.1751, allocations: 232.1 kB / 321.6 MB, free: 9.168 MB / 298.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.0006623/0.1758, allocations: 471.3 kB / 322.1 MB, free: 8.695 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/0.176, allocations: 119.9 kB / 322.2 MB, free: 8.578 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001775/0.1761, allocations: 177.4 kB / 322.4 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.1762, allocations: 11.98 kB / 322.4 MB, free: 8.395 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.1762, allocations: 1.75 kB / 322.4 MB, free: 8.395 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.1762, allocations: 7.938 kB / 322.4 MB, free: 8.387 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002332/0.1785, allocations: 2.103 MB / 324.5 MB, free: 6.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.79e-05/0.1785, allocations: 12.72 kB / 324.5 MB, free: 6.164 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003478/0.1789, allocations: 151.8 kB / 324.6 MB, free: 6.016 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000271/0.1791, allocations: 222.5 kB / 324.9 MB, free: 5.797 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.717e-06/0.1792, allocations: 8 kB / 324.9 MB, free: 5.789 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/0.1792, allocations: 20 kB / 324.9 MB, free: 5.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.919e-06/0.1792, allocations: 15.92 kB / 324.9 MB, free: 5.754 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.1792, allocations: 13.75 kB / 324.9 MB, free: 5.742 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000845/0.18, allocations: 1.169 MB / 326.1 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.1801, allocations: 24 kB / 326.1 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.1804, allocations: 16 kB / 326.1 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.571e-05/0.1805, allocations: 67.72 kB / 326.2 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.709e-05/0.1805, allocations: 31.98 kB / 326.2 MB, free: 4.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005951/0.1811, allocations: 0.6653 MB / 326.9 MB, free: 3.648 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1811, allocations: 0 / 326.9 MB, free: 3.648 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001919/0.1831, allocations: 0.5038 MB / 327.4 MB, free: 3.145 MB / 298.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.0002401/0.1833, allocations: 144.1 kB / 327.5 MB, free: 2.996 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00188/0.1852, allocations: 1.596 MB / 329.1 MB, free: 1.484 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001036/0.1853, allocations: 56.69 kB / 329.2 MB, free: 1.422 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002809/0.1856, allocations: 255.1 kB / 329.4 MB, free: 1.172 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.1867, allocations: 1.071 MB / 330.5 MB, free: 0 / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00621/0.1929, allocations: 4.186 MB / 334.7 MB, free: 11.67 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005333/0.1935, allocations: 0.6421 MB / 335.3 MB, free: 11 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006528/0.1941, allocations: 299.5 kB / 335.6 MB, free: 10.71 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002721/0.1944, allocations: 299.3 kB / 335.9 MB, free: 10.41 MB / 314.7 MB Notification: Performance of SimCode: time 1.142e-06/0.1944, allocations: 0 / 335.9 MB, free: 10.41 MB / 314.7 MB Notification: Performance of Templates: time 0.01999/0.2144, allocations: 10.32 MB / 346.2 MB, free: 144 kB / 314.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.5834179650992155]