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.001159/0.001159, allocations: 93.06 kB / 19.65 MB, free: 276 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.002024/0.002024, allocations: 165 kB / 23.01 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 1.008/1.008, 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.02122/0.02122, allocations: 5.074 MB / 265 MB, free: 8.094 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 4.709e-06/4.709e-06, allocations: 0 / 336.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.636e-05/5.107e-05, allocations: 12.39 kB / 336.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.008987/0.009038, allocations: 7.055 MB / 343.2 MB, free: 5.992 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005777/0.01482, allocations: 2.278 MB / 345.5 MB, free: 3.707 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001611/0.01643, allocations: 31.88 kB / 345.5 MB, free: 3.676 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002027/0.01845, allocations: 0.8637 MB / 346.4 MB, free: 2.809 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002464/0.02092, allocations: 0.8667 MB / 347.3 MB, free: 1.938 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006907/0.02161, allocations: 239.4 kB / 347.5 MB, free: 1.703 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002165/0.02377, allocations: 1.896 MB / 349.4 MB, free: 15.8 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001559/0.02533, allocations: 1.115 MB / 350.5 MB, free: 14.66 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001481/0.02681, allocations: 1.001 MB / 351.5 MB, free: 13.66 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001456/0.02827, allocations: 0.9739 MB / 352.5 MB, free: 12.69 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002638/0.02853, allocations: 132 kB / 352.6 MB, free: 12.56 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001105/0.02964, allocations: 0.5381 MB / 353.2 MB, free: 12.02 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00077/0.03041, allocations: 0.9035 MB / 354.1 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005988/0.03101, allocations: 0.5526 MB / 354.6 MB, free: 10.56 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003157/0.03416, allocations: 2.26 MB / 356.9 MB, free: 8.289 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.03417, allocations: 4 kB / 356.9 MB, free: 8.285 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.697e-06/0.03418, allocations: 0 / 356.9 MB, free: 8.285 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.966e-05/0.03424, allocations: 0 / 356.9 MB, free: 8.285 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.003823/0.03806, allocations: 2.691 MB / 359.6 MB, free: 5.543 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.4e-05/0.03812, allocations: 12.03 kB / 359.6 MB, free: 5.531 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003635/0.04176, allocations: 1.856 MB / 361.4 MB, free: 3.672 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001954/0.04371, allocations: 0.9396 MB / 362.4 MB, free: 2.699 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.535e-05/0.0438, allocations: 115.1 kB / 362.5 MB, free: 2.586 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002276/0.04403, allocations: 144.3 kB / 362.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004869/0.0489, allocations: 3.368 MB / 366 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.664e-05/0.04895, allocations: 27.77 kB / 366 MB, free: 14.42 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001468/0.0491, allocations: 71.91 kB / 366.1 MB, free: 14.35 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001252/0.05035, allocations: 1.264 MB / 367.4 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00393/0.05428, allocations: 1.65 MB / 369 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02269/0.07697, allocations: 26.22 MB / 395.2 MB, free: 284 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.0786, allocations: 0.6024 MB / 395.8 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002846/0.07888, allocations: 176 kB / 396 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002453/0.07913, allocations: 117.9 kB / 396.1 MB, free: 15.33 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.07917, allocations: 41.39 kB / 396.2 MB, free: 15.28 MB / 330.7 MB Notification: Performance of pre-optimization done (n=83): time 5.791e-06/0.07917, allocations: 0 / 396.2 MB, free: 15.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=91): time 0.006256/0.08543, allocations: 3.467 MB / 399.6 MB, free: 11.74 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.791e-05/0.08552, allocations: 144.5 kB / 399.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002849/0.08837, allocations: 2.253 MB / 402 MB, free: 9.262 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.701e-05/0.08843, allocations: 33.7 kB / 402.1 MB, free: 9.223 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001299/0.08973, allocations: 2.158 MB / 404.2 MB, free: 7.043 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003508/0.09008, allocations: 405.2 kB / 404.6 MB, free: 6.645 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008365/0.09092, allocations: 0.9007 MB / 405.5 MB, free: 5.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.09111, allocations: 0.5082 MB / 406 MB, free: 5.215 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006897/0.0918, allocations: 371.9 kB / 406.4 MB, free: 4.848 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2245/0.3163, allocations: 4.398 MB / 410.8 MB, free: 69.08 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004806/0.3211, allocations: 5.272 MB / 416.1 MB, free: 63.7 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-05/0.3212, allocations: 25.91 kB / 416.1 MB, free: 63.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.005987/0.3272, allocations: 3.42 MB / 419.5 MB, free: 62.96 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.049e-05/0.3273, allocations: 49.75 kB / 419.5 MB, free: 62.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001489/0.3274, allocations: 98.44 kB / 419.6 MB, free: 62.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001919/0.3276, allocations: 126.1 kB / 419.8 MB, free: 62.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00213/0.3297, allocations: 0.9463 MB / 420.7 MB, free: 62.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001017/0.3298, allocations: 193.5 kB / 420.9 MB, free: 62.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.3315, allocations: 195.6 kB / 421.1 MB, free: 62.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002534/0.3318, allocations: 262 kB / 421.3 MB, free: 62.83 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 442 * 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 (509): * Single equations (assignments): 506 * 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.0008501/0.3326, allocations: 0.4953 MB / 421.8 MB, free: 62.58 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002954/0.3329, allocations: 218.9 kB / 422.1 MB, free: 62.58 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002176/0.3331, allocations: 183.4 kB / 422.2 MB, free: 62.55 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.717e-05/0.3332, allocations: 16.59 kB / 422.3 MB, free: 62.55 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/0.3332, allocations: 0 / 422.3 MB, free: 62.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.3332, allocations: 7.359 kB / 422.3 MB, free: 62.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003471/0.3367, allocations: 2.582 MB / 424.8 MB, free: 61.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.888e-06/0.3367, allocations: 7.125 kB / 424.8 MB, free: 61.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003796/0.337, allocations: 143.5 kB / 425 MB, free: 61.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/0.3371, allocations: 10.97 kB / 425 MB, free: 61.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.615e-05/0.3371, allocations: 24.08 kB / 425 MB, free: 61.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.508e-06/0.3371, allocations: 9.406 kB / 425 MB, free: 61.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.3371, allocations: 11.56 kB / 425 MB, free: 61.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.3384, allocations: 1.455 MB / 426.5 MB, free: 60.89 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004202/0.3388, allocations: 260.4 kB / 426.8 MB, free: 60.85 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.3389, allocations: 21.66 kB / 426.8 MB, free: 60.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003547/0.3393, allocations: 34.03 kB / 426.8 MB, free: 60.85 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.3394, allocations: 65.22 kB / 426.9 MB, free: 60.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-05/0.3394, allocations: 32.31 kB / 426.9 MB, free: 60.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001171/0.3406, allocations: 0.9258 MB / 427.8 MB, free: 60.65 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.3406, allocations: 7.031 kB / 427.8 MB, free: 60.65 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002416/0.343, allocations: 0.5037 MB / 428.3 MB, free: 60.29 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.0004202/0.3434, allocations: 150.9 kB / 428.5 MB, free: 60.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002985/0.3464, allocations: 1.699 MB / 430.2 MB, free: 58.9 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/0.3464, allocations: 4.312 kB / 430.2 MB, free: 58.89 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003088/0.3468, allocations: 252.6 kB / 430.4 MB, free: 58.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009831/0.3477, allocations: 193.1 kB / 430.6 MB, free: 58.62 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0055/0.3532, allocations: 4.089 MB / 434.7 MB, free: 54.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005072/0.3537, allocations: 0.6546 MB / 435.4 MB, free: 54.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001504/0.3552, allocations: 1.134 MB / 436.5 MB, free: 53.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.3555, allocations: 140.1 kB / 436.6 MB, free: 53.46 MB / 330.7 MB Notification: Performance of SimCode: time 3.687e-06/0.3555, allocations: 0 / 436.6 MB, free: 53.46 MB / 330.7 MB Notification: Performance of Templates: time 0.0219/0.3774, allocations: 11.2 MB / 447.8 MB, free: 43.07 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.6679436932317913]