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.001433/0.001433, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001584/0.001584, allocations: 165 kB / 22.46 MB, free: 5.359 MB / 14.72 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.44/1.44, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.03437/0.03437, allocations: 5.065 MB / 264.3 MB, free: 11.75 MB / 254.1 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 2.464e-06/2.464e-06, allocations: 0 / 389.7 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.615e-05/2.861e-05, allocations: 2.281 kB / 389.7 MB, free: 12.63 MB / 318.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.009338/0.009367, allocations: 6.482 MB / 396.2 MB, free: 6.109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00534/0.01471, allocations: 2.216 MB / 398.4 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008199/0.01553, allocations: 35.81 kB / 398.4 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002091/0.01762, allocations: 0.8286 MB / 399.2 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002466/0.02008, allocations: 0.8744 MB / 400.1 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006417/0.02072, allocations: 231.4 kB / 400.3 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002981/0.02371, allocations: 1.906 MB / 402.2 MB, free: 4 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001785/0.02549, allocations: 1.079 MB / 403.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001728/0.02722, allocations: 1.001 MB / 404.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001576/0.02879, allocations: 0.9584 MB / 405.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002551/0.02905, allocations: 128 kB / 405.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.03022, allocations: 0.5537 MB / 406 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009704/0.03119, allocations: 0.8878 MB / 406.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007792/0.03197, allocations: 0.5526 MB / 407.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004393/0.03636, allocations: 3.402 MB / 410.8 MB, free: 7.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.03637, allocations: 0 / 410.8 MB, free: 7.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.03637, allocations: 0 / 410.8 MB, free: 7.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.28e-05/0.03644, allocations: 0 / 410.8 MB, free: 7.41 MB / 334.1 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.004567/0.04101, allocations: 2.413 MB / 413.2 MB, free: 4.953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/0.04106, allocations: 8.031 kB / 413.2 MB, free: 4.945 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006279/0.04734, allocations: 1.61 MB / 414.8 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00234/0.04968, allocations: 0.9837 MB / 415.8 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.0498, allocations: 111.2 kB / 415.9 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003438/0.05015, allocations: 156.2 kB / 416.1 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008934/0.05908, allocations: 5.527 MB / 421.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.14e-05/0.05915, allocations: 31.7 kB / 421.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002398/0.05939, allocations: 79.91 kB / 421.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002215/0.06161, allocations: 1.261 MB / 423 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009072/0.07068, allocations: 4.598 MB / 427.6 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02833/0.09901, allocations: 20.72 MB / 448.3 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1876/0.2866, allocations: 1.049 MB / 449.3 MB, free: 64.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007339/0.2873, allocations: 405.8 kB / 449.7 MB, free: 64.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002852/0.2876, allocations: 111.7 kB / 449.9 MB, free: 64.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.2877, allocations: 47.36 kB / 449.9 MB, free: 64.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=83): time 3.537e-06/0.2877, allocations: 0 / 449.9 MB, free: 64.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=91): time 0.00897/0.2966, allocations: 4.294 MB / 454.2 MB, free: 63.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/0.2967, allocations: 150.5 kB / 454.3 MB, free: 63.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003496/0.3002, allocations: 2.388 MB / 456.7 MB, free: 62.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001146/0.3003, allocations: 37.48 kB / 456.8 MB, free: 62.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001141/0.3015, allocations: 2.029 MB / 458.8 MB, free: 60.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003321/0.3018, allocations: 394.3 kB / 459.2 MB, free: 60.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001102/0.3029, allocations: 0.8108 MB / 460 MB, free: 60.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.303, allocations: 339.1 kB / 460.3 MB, free: 59.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002114/0.3051, allocations: 1.077 MB / 461.4 MB, free: 59.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002862/0.308, allocations: 3.795 MB / 465.2 MB, free: 55.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005/0.313, allocations: 5.333 MB / 470.5 MB, free: 50.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001233/0.3131, allocations: 27.59 kB / 470.6 MB, free: 50.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.00789/0.321, allocations: 4.607 MB / 475.2 MB, free: 48.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.15e-05/0.3211, allocations: 48 kB / 475.2 MB, free: 48.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001109/0.3212, allocations: 96.09 kB / 475.3 MB, free: 48.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000108/0.3213, allocations: 139.8 kB / 475.4 MB, free: 48.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00253/0.3238, allocations: 0.942 MB / 476.4 MB, free: 47.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.997e-05/0.3239, allocations: 183.8 kB / 476.6 MB, free: 47.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002896/0.3268, allocations: 209.4 kB / 476.8 MB, free: 47.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003782/0.3272, allocations: 258.1 kB / 477 MB, free: 46.95 MB / 366.1 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.001695/0.3289, allocations: 1.274 MB / 478.3 MB, free: 45.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004423/0.3293, allocations: 198.7 kB / 478.5 MB, free: 45.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003615/0.3297, allocations: 227 kB / 478.7 MB, free: 45.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-05/0.3297, allocations: 22.52 kB / 478.7 MB, free: 45.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.617e-05/0.3297, allocations: 0 / 478.7 MB, free: 45.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.3298, allocations: 0 / 478.7 MB, free: 45.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004153/0.3339, allocations: 2.487 MB / 481.2 MB, free: 43.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.3339, allocations: 8 kB / 481.2 MB, free: 43.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005611/0.3345, allocations: 139.8 kB / 481.4 MB, free: 43.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.852e-05/0.3345, allocations: 12.72 kB / 481.4 MB, free: 43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.657e-05/0.3345, allocations: 25.95 kB / 481.4 MB, free: 42.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.201e-05/0.3346, allocations: 11.94 kB / 481.4 MB, free: 42.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.064e-06/0.3346, allocations: 11.66 kB / 481.4 MB, free: 42.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002053/0.3366, allocations: 2.06 MB / 483.5 MB, free: 40.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006032/0.3372, allocations: 254.5 kB / 483.7 MB, free: 40.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/0.3374, allocations: 28.06 kB / 483.8 MB, free: 40.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006324/0.338, allocations: 30.55 kB / 483.8 MB, free: 40.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.3381, allocations: 67.73 kB / 483.9 MB, free: 40.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.336e-05/0.3382, allocations: 35.98 kB / 483.9 MB, free: 40.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001484/0.3397, allocations: 1.338 MB / 485.2 MB, free: 39.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3397, allocations: 0 / 485.2 MB, free: 39.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003079/0.3428, allocations: 0.4999 MB / 485.7 MB, free: 38.54 MB / 366.1 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.0002848/0.343, allocations: 158 kB / 485.9 MB, free: 38.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003228/0.3463, allocations: 2.43 MB / 488.3 MB, free: 35.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.3463, allocations: 0 / 488.3 MB, free: 35.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005017/0.3468, allocations: 454.1 kB / 488.8 MB, free: 35.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.348, allocations: 179.6 kB / 488.9 MB, free: 35.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00656/0.3546, allocations: 4.828 MB / 493.8 MB, free: 30.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/0.3559, allocations: 1.464 MB / 495.2 MB, free: 28.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.002218/0.3581, allocations: 1.287 MB / 496.5 MB, free: 27.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002517/0.3584, allocations: 144.5 kB / 496.6 MB, free: 27.5 MB / 366.1 MB Notification: Performance of SimCode: time 1.292e-06/0.3584, allocations: 0 / 496.6 MB, free: 27.5 MB / 366.1 MB Notification: Performance of Templates: time 0.02569/0.3841, allocations: 11.16 MB / 0.4959 GB, free: 16.66 MB / 366.1 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: 5.236418440937996] Failed to read output from testmodel.py, exit status != 0: 0.39365771412849426 0.40296585 0.364091806 Calling exit ...