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.001291/0.001291, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.001582/0.001582, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9537/0.9537, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.02055/0.02055, allocations: 5.068 MB / 266.1 MB, free: 7.965 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.464e-06/2.464e-06, allocations: 0 / 337.4 MB, free: 13.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.785e-05/3.032e-05, allocations: 2.312 kB / 337.4 MB, free: 13.87 MB / 314.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.0135/0.01353, allocations: 11.04 MB / 348.4 MB, free: 2.773 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009224/0.02276, allocations: 4.307 MB / 352.8 MB, free: 14.46 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001678/0.02444, allocations: 91.5 kB / 352.8 MB, free: 14.37 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005013/0.02945, allocations: 2.562 MB / 355.4 MB, free: 11.8 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004248/0.0337, allocations: 2.049 MB / 357.5 MB, free: 9.738 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.03505, allocations: 0.8773 MB / 358.3 MB, free: 8.859 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006555/0.0416, allocations: 6.418 MB / 364.8 MB, free: 2.43 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003663/0.04526, allocations: 3.519 MB / 368.3 MB, free: 14.86 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004618/0.04988, allocations: 3.603 MB / 371.9 MB, free: 11.26 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003132/0.05301, allocations: 2.576 MB / 374.5 MB, free: 8.676 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006069/0.05362, allocations: 416 kB / 374.9 MB, free: 8.27 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.05504, allocations: 1.108 MB / 376 MB, free: 7.16 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001694/0.05673, allocations: 2.112 MB / 378.1 MB, free: 5.043 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001365/0.0581, allocations: 1.387 MB / 379.5 MB, free: 3.652 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004628/0.06272, allocations: 4.73 MB / 384.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.06273, allocations: 0 / 384.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.06273, allocations: 4 kB / 384.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.579e-05/0.06283, allocations: 0 / 384.2 MB, free: 14.9 MB / 362.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.006165/0.06899, allocations: 4.974 MB / 389.2 MB, free: 9.859 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.06903, allocations: 12.03 kB / 389.2 MB, free: 9.848 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008918/0.07795, allocations: 2.312 MB / 391.5 MB, free: 7.531 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004897/0.08285, allocations: 2.601 MB / 394.1 MB, free: 4.875 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/0.08298, allocations: 217.8 kB / 394.3 MB, free: 4.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004725/0.08346, allocations: 292.2 kB / 394.6 MB, free: 4.375 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006235/0.08969, allocations: 4.865 MB / 399.5 MB, free: 14.63 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.502e-05/0.08979, allocations: 47.62 kB / 399.5 MB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002453/0.09003, allocations: 135.9 kB / 399.6 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001192/0.09122, allocations: 1.423 MB / 401.1 MB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003726/0.09495, allocations: 2.005 MB / 403.1 MB, free: 11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02867/0.1236, allocations: 36.95 MB / 440 MB, free: 4.855 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001852/0.1255, allocations: 0.9582 MB / 441 MB, free: 3.848 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002722/0.1257, allocations: 252.5 kB / 441.2 MB, free: 3.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002487/0.126, allocations: 216.2 kB / 441.4 MB, free: 3.379 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.126, allocations: 61.98 kB / 441.5 MB, free: 3.309 MB / 410.7 MB Notification: Performance of pre-optimization done (n=125): time 2.976e-06/0.126, allocations: 0 / 441.5 MB, free: 3.309 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.1574/0.2835, allocations: 3.991 MB / 445.5 MB, free: 131.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.418e-05/0.2836, allocations: 272.2 kB / 445.8 MB, free: 131.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003128/0.2867, allocations: 3.484 MB / 449.2 MB, free: 131.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001314/0.2868, allocations: 46.95 kB / 449.3 MB, free: 131.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00149/0.2883, allocations: 3.188 MB / 452.5 MB, free: 129.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004115/0.2887, allocations: 0.6172 MB / 453.1 MB, free: 129.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009306/0.2896, allocations: 1.229 MB / 454.3 MB, free: 129.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.627e-05/0.2897, allocations: 476.8 kB / 454.8 MB, free: 128.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007692/0.2905, allocations: 464.7 kB / 455.2 MB, free: 128.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00232/0.2928, allocations: 5.68 MB / 460.9 MB, free: 122 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003904/0.2967, allocations: 6.555 MB / 467.5 MB, free: 115.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-05/0.2968, allocations: 35.59 kB / 467.5 MB, free: 115.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=717) (initialization): time 0.005171/0.3019, allocations: 4.258 MB / 471.8 MB, free: 114.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.709e-05/0.302, allocations: 55.38 kB / 471.8 MB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001158/0.3021, allocations: 121.6 kB / 471.9 MB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001137/0.3022, allocations: 162.2 kB / 472.1 MB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002024/0.3042, allocations: 1.281 MB / 473.4 MB, free: 114.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001406/0.3044, allocations: 235.5 kB / 473.6 MB, free: 114 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002826/0.3072, allocations: 248.8 kB / 473.8 MB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002673/0.3075, allocations: 288.8 kB / 474.1 MB, free: 113.9 MB / 410.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.001297/0.3088, allocations: 0.6121 MB / 474.7 MB, free: 113.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005551/0.3093, allocations: 372 kB / 475.1 MB, free: 113.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003044/0.3096, allocations: 305.6 kB / 475.4 MB, free: 113 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/0.3097, allocations: 15.91 kB / 475.4 MB, free: 113 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.711e-05/0.3097, allocations: 3.219 kB / 475.4 MB, free: 113 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.3097, allocations: 6.75 kB / 475.4 MB, free: 113 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005373/0.3151, allocations: 4.655 MB / 480.1 MB, free: 110.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/0.3151, allocations: 16.44 kB / 480.1 MB, free: 110.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005022/0.3156, allocations: 243.4 kB / 480.3 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.658e-05/0.3156, allocations: 17.28 kB / 480.4 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.852e-05/0.3156, allocations: 38.97 kB / 480.4 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.401e-05/0.3157, allocations: 23.77 kB / 480.4 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/0.3157, allocations: 16.66 kB / 480.4 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.3174, allocations: 2.064 MB / 482.5 MB, free: 108.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000659/0.3181, allocations: 451.7 kB / 482.9 MB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002384/0.3183, allocations: 38.56 kB / 483 MB, free: 108.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006399/0.319, allocations: 44.31 kB / 483 MB, free: 108.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.3191, allocations: 116.2 kB / 483.1 MB, free: 108.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-05/0.3191, allocations: 53.34 kB / 483.2 MB, free: 108.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002052/0.3212, allocations: 1.453 MB / 484.6 MB, free: 108.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3212, allocations: 0 / 484.6 MB, free: 108.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004236/0.3254, allocations: 0.9261 MB / 485.6 MB, free: 108 MB / 410.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.0003871/0.3258, allocations: 202.7 kB / 485.8 MB, free: 107.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00313/0.3289, allocations: 2.171 MB / 487.9 MB, free: 107.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/0.3289, allocations: 3.562 kB / 487.9 MB, free: 107.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003901/0.3293, allocations: 362.5 kB / 488.3 MB, free: 107.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002057/0.3314, allocations: 0.5039 MB / 488.8 MB, free: 106.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008867/0.3403, allocations: 7.104 MB / 495.9 MB, free: 102.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009878/0.3412, allocations: 1.159 MB / 497.1 MB, free: 102.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00138/0.3426, allocations: 483.7 kB / 497.5 MB, free: 102.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007543/0.3434, allocations: 0.6015 MB / 498.1 MB, free: 102.3 MB / 410.7 MB Notification: Performance of SimCode: time 2.274e-06/0.3434, allocations: 0 / 498.1 MB, free: 102.3 MB / 410.7 MB Notification: Performance of Templates: time 0.04287/0.3862, allocations: 27.55 MB / 0.5134 GB, free: 81.4 MB / 410.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.927836628165096]