Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr StewartPlatform_StewartPlatform.Tests.ElectricCylinder_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.001037/0.001037, allocations: 92.22 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.001517/0.001517, allocations: 173 kB / 23.02 MB, free: 1.547 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 0.8935/0.8935, 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.01995/0.01995, allocations: 5.063 MB / 265 MB, free: 8.098 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.ElectricCylinder_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test") translateModel(StewartPlatform.Tests.ElectricCylinder_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 336.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/2.958e-05, allocations: 4.703 kB / 336.2 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.007157/0.007187, allocations: 11.29 MB / 347.5 MB, free: 1.742 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005997/0.01318, allocations: 4.348 MB / 351.8 MB, free: 13.38 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.01426, allocations: 87.5 kB / 351.9 MB, free: 13.3 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002881/0.01714, allocations: 2.585 MB / 354.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003096/0.02024, allocations: 2.053 MB / 356.5 MB, free: 8.641 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.02126, allocations: 0.8656 MB / 357.4 MB, free: 7.773 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005196/0.02645, allocations: 6.425 MB / 363.8 MB, free: 1.336 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003122/0.02958, allocations: 3.531 MB / 367.4 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004219/0.03379, allocations: 3.599 MB / 371 MB, free: 10.15 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003113/0.03691, allocations: 2.568 MB / 373.5 MB, free: 7.574 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009025/0.03781, allocations: 412 kB / 373.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001628/0.03944, allocations: 1.108 MB / 375 MB, free: 6.059 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00168/0.04112, allocations: 2.116 MB / 377.2 MB, free: 3.938 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001837/0.04295, allocations: 1.383 MB / 378.5 MB, free: 2.551 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005362/0.04832, allocations: 4.726 MB / 383.3 MB, free: 13.81 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.04832, allocations: 0 / 383.3 MB, free: 13.81 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.04832, allocations: 3.984 kB / 383.3 MB, free: 13.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001678/0.04849, allocations: 0 / 383.3 MB, free: 13.8 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1308 * Number of variables: 1308 Notification: Performance of Generate backend data structure: time 0.007199/0.05569, allocations: 5.205 MB / 388.5 MB, free: 8.531 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.05574, allocations: 12.03 kB / 388.5 MB, free: 8.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009589/0.06533, allocations: 3.244 MB / 391.7 MB, free: 5.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004599/0.06993, allocations: 2.917 MB / 394.7 MB, free: 2.301 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/0.07008, allocations: 217.9 kB / 394.9 MB, free: 2.086 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000646/0.07072, allocations: 296.2 kB / 395.2 MB, free: 1.797 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007262/0.07799, allocations: 5.233 MB / 400.4 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001077/0.07809, allocations: 51.58 kB / 400.4 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002879/0.07838, allocations: 139.9 kB / 400.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001325/0.07971, allocations: 1.572 MB / 402.1 MB, free: 9.926 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005322/0.08503, allocations: 2.492 MB / 404.6 MB, free: 7.426 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1528/0.2379, allocations: 37.06 MB / 441.7 MB, free: 30.9 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002213/0.2401, allocations: 1.022 MB / 442.7 MB, free: 30.76 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003991/0.2405, allocations: 286.9 kB / 443 MB, free: 30.71 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002926/0.2408, allocations: 213.8 kB / 443.2 MB, free: 30.7 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.2408, allocations: 58.92 kB / 443.3 MB, free: 30.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=125): time 4.268e-06/0.2408, allocations: 2.406 kB / 443.3 MB, free: 30.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=145): time 0.01028/0.2511, allocations: 6.716 MB / 450 MB, free: 27.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.906e-05/0.2511, allocations: 278.4 kB / 450.3 MB, free: 27.63 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003107/0.2543, allocations: 3.498 MB / 453.8 MB, free: 26.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.821e-05/0.2543, allocations: 48.08 kB / 453.8 MB, free: 26.34 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001135/0.2554, allocations: 3.162 MB / 457 MB, free: 24.19 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003035/0.2557, allocations: 0.6154 MB / 457.6 MB, free: 23.74 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008053/0.2566, allocations: 1.191 MB / 458.8 MB, free: 23.1 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.676e-05/0.2566, allocations: 486.6 kB / 459.3 MB, free: 22.62 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007647/0.2574, allocations: 0.5054 MB / 459.8 MB, free: 22.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001927/0.2593, allocations: 5.712 MB / 465.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003493/0.2628, allocations: 6.669 MB / 472.1 MB, free: 6.867 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.611e-05/0.2628, allocations: 40 kB / 472.2 MB, free: 6.828 MB / 330.7 MB Notification: Performance of matching and sorting (n=717) (initialization): time 0.004957/0.2678, allocations: 4.554 MB / 476.7 MB, free: 2.938 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.776e-05/0.2678, allocations: 56 kB / 476.8 MB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.998e-05/0.2679, allocations: 124 kB / 476.9 MB, free: 2.762 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.036e-05/0.268, allocations: 156 kB / 477.1 MB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001933/0.2699, allocations: 1.287 MB / 478.3 MB, free: 1.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.33e-05/0.27, allocations: 239 kB / 478.6 MB, free: 1.086 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/0.2721, allocations: 331.4 kB / 478.9 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002064/0.2723, allocations: 328 kB / 479.2 MB, free: 456 kB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 549 * Number of states: 0 () * Number of discrete variables: 30 (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],electricCylinder.bodyCylinder.color[3],electricCylinder.bodyCylinder.color[2],electricCylinder.bodyCylinder.color[1],electricCylinder.bodyCylinder.body.sphereColor[3],electricCylinder.bodyCylinder.body.sphereColor[2],electricCylinder.bodyCylinder.body.sphereColor[1],electricCylinder.bodyBox.color[3],electricCylinder.bodyBox.color[2],electricCylinder.bodyBox.color[1],electricCylinder.bodyBox.body.sphereColor[3],electricCylinder.bodyBox.body.sphereColor[2],electricCylinder.bodyBox.body.sphereColor[1],electricCylinder.prismatic.boxColor[3],electricCylinder.prismatic.boxColor[2],electricCylinder.prismatic.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (693): * Single equations (assignments): 690 * 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.0009133/0.2732, allocations: 0.6121 MB / 479.8 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004086/0.2736, allocations: 369.8 kB / 480.2 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002728/0.2739, allocations: 302.8 kB / 480.5 MB, free: 15.15 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.2739, allocations: 16 kB / 480.5 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.2739, allocations: 3.938 kB / 480.5 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.2739, allocations: 7.984 kB / 480.5 MB, free: 15.13 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005718/0.2797, allocations: 4.745 MB / 485.3 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.2797, allocations: 12 kB / 485.3 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005135/0.2802, allocations: 243.6 kB / 485.5 MB, free: 9.906 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.415e-05/0.2802, allocations: 16 kB / 485.5 MB, free: 9.891 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.307e-05/0.2802, allocations: 43.05 kB / 485.6 MB, free: 9.852 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.447e-05/0.2803, allocations: 23.92 kB / 485.6 MB, free: 9.828 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-05/0.2803, allocations: 25.3 kB / 485.6 MB, free: 9.805 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.2822, allocations: 2.153 MB / 487.8 MB, free: 7.422 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000652/0.2829, allocations: 473.6 kB / 488.2 MB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002303/0.2831, allocations: 40.86 kB / 488.3 MB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006686/0.2838, allocations: 95.92 kB / 488.4 MB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.2839, allocations: 119.5 kB / 488.5 MB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.727e-05/0.284, allocations: 55.12 kB / 488.5 MB, free: 6.656 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001665/0.2856, allocations: 1.56 MB / 490.1 MB, free: 5.109 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.2856, allocations: 0 / 490.1 MB, free: 5.109 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00299/0.2886, allocations: 0.9296 MB / 491 MB, free: 4.18 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 54 * Number of states: 2 (electricCylinder.prismatic.s,electricCylinder.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 (126): * Single equations (assignments): 123 * 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.0003518/0.289, allocations: 205.2 kB / 491.2 MB, free: 3.977 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003116/0.2921, allocations: 2.293 MB / 493.5 MB, free: 1.707 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.2921, allocations: 4 kB / 493.5 MB, free: 1.703 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004553/0.2925, allocations: 396.8 kB / 493.9 MB, free: 1.312 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/0.2942, allocations: 0.4946 MB / 494.4 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008464/0.3027, allocations: 7.128 MB / 0.4898 GB, free: 9.449 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/0.3037, allocations: 1.159 MB / 0.4909 GB, free: 8.266 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002208/0.3059, allocations: 1.454 MB / 0.4923 GB, free: 6.816 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000376/0.3063, allocations: 220.5 kB / 0.4925 GB, free: 6.602 MB / 362.7 MB Notification: Performance of SimCode: time 2.515e-06/0.3063, allocations: 0 / 0.4925 GB, free: 6.602 MB / 362.7 MB Notification: Performance of Templates: time 0.03924/0.3456, allocations: 25.19 MB / 0.5171 GB, free: 13.96 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.makefile [Timeout 660] (rm -f StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe ; mkfifo StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe ; head -c 1048576 < StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe >> ../files/StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.sim & ./StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test -abortSlowSimulation -alarm=240 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4898498812690377]