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.001856/0.001856, allocations: 85.48 kB / 19.44 MB, free: 344 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.00197/0.00197, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.557/1.557, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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.03678/0.03678, allocations: 5.065 MB / 264.6 MB, free: 8.121 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 2.905e-06/2.905e-06, allocations: 0 / 335.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.264e-05/3.555e-05, allocations: 2.312 kB / 335.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.006674/0.00671, allocations: 6.998 MB / 342.5 MB, free: 6.406 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004307/0.01102, allocations: 2.263 MB / 344.7 MB, free: 4.137 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009309/0.01195, allocations: 35.88 kB / 344.8 MB, free: 4.102 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001628/0.01358, allocations: 0.8598 MB / 345.6 MB, free: 3.238 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001677/0.01525, allocations: 0.8667 MB / 346.5 MB, free: 2.367 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004904/0.01574, allocations: 235.3 kB / 346.7 MB, free: 2.137 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001595/0.01734, allocations: 1.903 MB / 348.6 MB, free: 236 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001445/0.01878, allocations: 1.111 MB / 349.7 MB, free: 15.1 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001503/0.02029, allocations: 0.9975 MB / 350.7 MB, free: 14.1 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001589/0.02188, allocations: 0.974 MB / 351.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002767/0.02215, allocations: 128 kB / 351.8 MB, free: 13 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.02331, allocations: 0.5498 MB / 352.4 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009526/0.02427, allocations: 0.8996 MB / 353.3 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007923/0.02506, allocations: 0.5604 MB / 353.8 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004609/0.02967, allocations: 3.394 MB / 357.2 MB, free: 7.574 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.02967, allocations: 0 / 357.2 MB, free: 7.574 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.02967, allocations: 4 kB / 357.2 MB, free: 7.57 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.713e-05/0.02974, allocations: 0 / 357.2 MB, free: 7.57 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.005227/0.03497, allocations: 2.921 MB / 360.2 MB, free: 4.598 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/0.03503, allocations: 8.031 kB / 360.2 MB, free: 4.59 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00619/0.04122, allocations: 1.86 MB / 362 MB, free: 2.727 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002545/0.04376, allocations: 0.9435 MB / 363 MB, free: 1.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.04388, allocations: 119.1 kB / 363.1 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003083/0.04418, allocations: 148.2 kB / 363.2 MB, free: 1.488 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00648/0.05066, allocations: 3.625 MB / 366.8 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.689e-05/0.05074, allocations: 31.7 kB / 366.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002243/0.05097, allocations: 71.91 kB / 367 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002188/0.05315, allocations: 1.264 MB / 368.2 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006541/0.05969, allocations: 1.896 MB / 370.1 MB, free: 9.973 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03428/0.09398, allocations: 28.1 MB / 398.2 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002105/0.09608, allocations: 0.6723 MB / 398.9 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004314/0.09651, allocations: 191 kB / 399.1 MB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002822/0.09679, allocations: 107.9 kB / 399.2 MB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/0.09684, allocations: 45.33 kB / 399.2 MB, free: 11.85 MB / 330.7 MB Notification: Performance of pre-optimization done (n=83): time 3.506e-06/0.09685, allocations: 0 / 399.2 MB, free: 11.85 MB / 330.7 MB Notification: Performance of matching and sorting (n=91): time 0.008661/0.1055, allocations: 3.583 MB / 402.8 MB, free: 8.195 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.1056, allocations: 144.4 kB / 402.9 MB, free: 8.023 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004323/0.1099, allocations: 2.87 MB / 405.8 MB, free: 5.102 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001221/0.1101, allocations: 45.69 kB / 405.9 MB, free: 5.051 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002093/0.1122, allocations: 2.275 MB / 408.1 MB, free: 2.754 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005373/0.1127, allocations: 433.1 kB / 408.6 MB, free: 2.328 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001456/0.1142, allocations: 1.034 MB / 409.6 MB, free: 1.281 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003001/0.1145, allocations: 0.5238 MB / 410.1 MB, free: 0.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009873/0.1154, allocations: 415.9 kB / 410.5 MB, free: 348 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1664/0.2818, allocations: 4.569 MB / 415.1 MB, free: 71.87 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004928/0.2867, allocations: 5.484 MB / 420.6 MB, free: 66.2 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001249/0.2869, allocations: 31.5 kB / 420.6 MB, free: 66.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.007456/0.2943, allocations: 3.513 MB / 424.1 MB, free: 65.46 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.879e-05/0.2944, allocations: 50.02 kB / 424.2 MB, free: 65.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000142/0.2945, allocations: 96.34 kB / 424.3 MB, free: 65.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001418/0.2947, allocations: 126.9 kB / 424.4 MB, free: 65.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002377/0.297, allocations: 0.9459 MB / 425.3 MB, free: 65.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000137/0.2972, allocations: 184 kB / 425.5 MB, free: 65.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002108/0.2993, allocations: 205.9 kB / 425.7 MB, free: 65.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002928/0.2996, allocations: 261 kB / 426 MB, free: 65.33 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.001004/0.3006, allocations: 0.5647 MB / 426.5 MB, free: 65.08 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002762/0.3009, allocations: 215 kB / 426.7 MB, free: 65.08 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003265/0.3012, allocations: 184.6 kB / 426.9 MB, free: 65.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.3012, allocations: 12.56 kB / 426.9 MB, free: 65.05 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.3012, allocations: 3.75 kB / 426.9 MB, free: 65.05 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.3012, allocations: 3.844 kB / 426.9 MB, free: 65.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004617/0.3058, allocations: 3.142 MB / 430.1 MB, free: 64.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.3059, allocations: 11.22 kB / 430.1 MB, free: 64.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004924/0.3063, allocations: 132.8 kB / 430.2 MB, free: 64.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/0.3064, allocations: 9.375 kB / 430.2 MB, free: 64.04 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.704e-05/0.3064, allocations: 25.47 kB / 430.3 MB, free: 64.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.137e-05/0.3064, allocations: 19.69 kB / 430.3 MB, free: 64.03 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.3064, allocations: 11.47 kB / 430.3 MB, free: 64.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/0.3078, allocations: 1.548 MB / 431.8 MB, free: 62.55 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005003/0.3083, allocations: 252.8 kB / 432.1 MB, free: 62.39 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.3085, allocations: 23.83 kB / 432.1 MB, free: 62.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005276/0.309, allocations: 30.98 kB / 432.1 MB, free: 62.35 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.3091, allocations: 62.66 kB / 432.2 MB, free: 62.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.052e-05/0.3092, allocations: 36 kB / 432.2 MB, free: 62.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001287/0.3105, allocations: 1.104 MB / 433.3 MB, free: 61.3 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3105, allocations: 0 / 433.3 MB, free: 61.3 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002872/0.3134, allocations: 0.5058 MB / 433.8 MB, free: 60.81 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.0002968/0.3137, allocations: 149.5 kB / 434 MB, free: 60.67 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003118/0.3168, allocations: 1.913 MB / 435.9 MB, free: 58.96 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.3168, allocations: 0 / 435.9 MB, free: 58.96 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003923/0.3172, allocations: 299.8 kB / 436.2 MB, free: 58.7 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.3183, allocations: 186.8 kB / 436.4 MB, free: 58.53 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005928/0.3242, allocations: 4.149 MB / 440.5 MB, free: 54.56 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/0.3256, allocations: 1.314 MB / 441.8 MB, free: 53.6 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002097/0.3276, allocations: 1.133 MB / 443 MB, free: 52.51 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.3279, allocations: 140.5 kB / 443.1 MB, free: 52.37 MB / 330.7 MB Notification: Performance of SimCode: time 1.784e-06/0.3279, allocations: 0 / 443.1 MB, free: 52.37 MB / 330.7 MB Notification: Performance of Templates: time 0.02469/0.3526, allocations: 11.19 MB / 454.3 MB, free: 41.5 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: 5.5093995339702815]