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.00117/0.00117, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.001007/0.001007, allocations: 181.9 kB / 23.21 MB, free: 1.352 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.007/1.007, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.01866/0.01866, allocations: 5.056 MB / 265 MB, free: 8.305 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 3.216e-06/3.216e-06, allocations: 0 / 390.4 MB, free: 6.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.316e-05/3.638e-05, allocations: 2.281 kB / 390.4 MB, free: 6.895 MB / 314.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.006808/0.006844, allocations: 6.486 MB / 396.9 MB, free: 380 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004894/0.01174, allocations: 2.212 MB / 399.1 MB, free: 14.15 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009266/0.01266, allocations: 35.88 kB / 399.2 MB, free: 14.12 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.01428, allocations: 0.8325 MB / 400 MB, free: 13.28 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001758/0.01604, allocations: 0.8628 MB / 400.9 MB, free: 12.41 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005343/0.01657, allocations: 239.3 kB / 401.1 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0019/0.01847, allocations: 1.894 MB / 403 MB, free: 10.28 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001147/0.01962, allocations: 1.103 MB / 404.1 MB, free: 9.168 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.02081, allocations: 0.9897 MB / 405.1 MB, free: 8.176 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.02192, allocations: 0.9623 MB / 406 MB, free: 7.211 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001977/0.02212, allocations: 135.9 kB / 406.2 MB, free: 7.078 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008958/0.02301, allocations: 0.542 MB / 406.7 MB, free: 6.535 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000722/0.02374, allocations: 0.8956 MB / 407.6 MB, free: 5.637 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004814/0.02422, allocations: 0.5565 MB / 408.2 MB, free: 5.078 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00289/0.02711, allocations: 3.394 MB / 411.6 MB, free: 1.672 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.02711, allocations: 0 / 411.6 MB, free: 1.672 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.02711, allocations: 0 / 411.6 MB, free: 1.672 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.816e-05/0.02716, allocations: 0 / 411.6 MB, free: 1.672 MB / 330.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.2708/0.2979, allocations: 2.413 MB / 414 MB, free: 33.1 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.682e-05/0.298, allocations: 9.406 kB / 414 MB, free: 33.1 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004409/0.3024, allocations: 1.587 MB / 415.6 MB, free: 32.88 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002576/0.305, allocations: 0.9802 MB / 416.5 MB, free: 32.46 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.3051, allocations: 115.9 kB / 416.7 MB, free: 32.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002713/0.3054, allocations: 148.6 kB / 416.8 MB, free: 32.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009011/0.3144, allocations: 5.529 MB / 422.3 MB, free: 29.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001054/0.3145, allocations: 30.61 kB / 422.4 MB, free: 29.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001867/0.3147, allocations: 75.61 kB / 422.4 MB, free: 29.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002084/0.3168, allocations: 1.266 MB / 423.7 MB, free: 29.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01061/0.3274, allocations: 4.6 MB / 428.3 MB, free: 27.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01812/0.3455, allocations: 20.72 MB / 449 MB, free: 7.402 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.3471, allocations: 1.044 MB / 450.1 MB, free: 6.328 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003567/0.3475, allocations: 413.6 kB / 450.5 MB, free: 5.914 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002126/0.3477, allocations: 109 kB / 450.6 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.3477, allocations: 51.16 kB / 450.6 MB, free: 5.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=83): time 5e-06/0.3477, allocations: 0 / 450.6 MB, free: 5.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=91): time 0.005181/0.3529, allocations: 4.3 MB / 454.9 MB, free: 1.426 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.3529, allocations: 152.2 kB / 455.1 MB, free: 1.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002313/0.3553, allocations: 2.388 MB / 457.5 MB, free: 14.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.117e-05/0.3553, allocations: 37.69 kB / 457.5 MB, free: 14.78 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001065/0.3564, allocations: 2.026 MB / 459.5 MB, free: 12.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000286/0.3566, allocations: 393.1 kB / 459.9 MB, free: 12.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007217/0.3574, allocations: 0.8103 MB / 460.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.3575, allocations: 341.9 kB / 461.1 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/0.3587, allocations: 1.078 MB / 462.1 MB, free: 10.1 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002704/0.3614, allocations: 3.798 MB / 465.9 MB, free: 4.934 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004628/0.366, allocations: 5.334 MB / 471.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.246e-05/0.3661, allocations: 28 kB / 471.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.005445/0.3715, allocations: 4.599 MB / 475.9 MB, free: 9.621 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.749e-05/0.3716, allocations: 45 kB / 475.9 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001142/0.3717, allocations: 104 kB / 476 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001002/0.3718, allocations: 129.4 kB / 476.2 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/0.3734, allocations: 0.9396 MB / 477.1 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-05/0.3735, allocations: 191.3 kB / 477.3 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/0.3751, allocations: 203.7 kB / 477.5 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002305/0.3753, allocations: 256 kB / 477.7 MB, free: 7.773 MB / 362.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.001514/0.3769, allocations: 1.288 MB / 479 MB, free: 6.473 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002597/0.3771, allocations: 190.7 kB / 479.2 MB, free: 6.285 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.3774, allocations: 225.3 kB / 479.4 MB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.828e-05/0.3774, allocations: 15.98 kB / 479.4 MB, free: 6.051 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.461e-05/0.3774, allocations: 0 / 479.4 MB, free: 6.051 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.3774, allocations: 4 kB / 479.5 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003295/0.3807, allocations: 2.5 MB / 482 MB, free: 3.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.3807, allocations: 4 kB / 482 MB, free: 3.426 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/0.381, allocations: 140.7 kB / 482.1 MB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/0.381, allocations: 8.719 kB / 482.1 MB, free: 3.281 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.484e-05/0.3811, allocations: 23.94 kB / 482.1 MB, free: 3.258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.216e-05/0.3811, allocations: 15.94 kB / 482.1 MB, free: 3.242 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.3811, allocations: 8 kB / 482.1 MB, free: 3.234 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.383, allocations: 2.047 MB / 484.2 MB, free: 1.094 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003793/0.3834, allocations: 262.5 kB / 484.5 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.3835, allocations: 29.61 kB / 484.5 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003425/0.3838, allocations: 36.03 kB / 484.5 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.964e-05/0.3839, allocations: 63.73 kB / 484.6 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.765e-05/0.384, allocations: 39.97 kB / 484.6 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001371/0.3853, allocations: 1.334 MB / 486 MB, free: 15.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.3853, allocations: 0.8438 kB / 486 MB, free: 15.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002764/0.3881, allocations: 0.5116 MB / 486.5 MB, free: 14.8 MB / 378.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.0004381/0.3885, allocations: 152.9 kB / 486.6 MB, free: 14.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003935/0.3925, allocations: 2.427 MB / 489 MB, free: 12.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/0.3925, allocations: 480 / 489 MB, free: 12.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005301/0.393, allocations: 454 kB / 489.5 MB, free: 11.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.3941, allocations: 178.1 kB / 489.7 MB, free: 11.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007017/0.4011, allocations: 5.092 MB / 494.7 MB, free: 6.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001375/0.4025, allocations: 1.463 MB / 496.2 MB, free: 4.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000393/0.4029, allocations: 180.4 kB / 496.4 MB, free: 4.734 MB / 378.7 MB Notification: Performance of SimCode: time 2.314e-06/0.4029, allocations: 0 / 496.4 MB, free: 4.734 MB / 378.7 MB Notification: Performance of Templates: time 0.04375/0.4467, allocations: 31.2 MB / 0.5152 GB, free: 5.605 MB / 410.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=480 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.190994807519019] Failed to read output from testmodel.py, exit status != 0: 0.4542802572250366 0.46444434199999995 0.43508612999999996 Calling exit ...