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.0009951/0.0009951, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001343/0.002338, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001062/0.001062, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001312/0.002374, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.855/0.855, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0739/0.9289, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.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.01937/0.01937, allocations: 5.061 MB / 249 MB, free: 9.91 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00243/0.0218, allocations: 1.913 MB / 250.9 MB, free: 7.992 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 1.533e-06/1.533e-06, allocations: 0 / 252.3 MB, free: 6.633 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.178e-05/1.332e-05, allocations: 2.312 kB / 252.3 MB, free: 6.629 MB / 250.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.01227/0.01229, allocations: 11.16 MB / 263.5 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008158/0.02044, allocations: 4.508 MB / 268 MB, free: 6.895 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008805/0.02132, allocations: 87.5 kB / 268 MB, free: 6.809 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004242/0.02557, allocations: 2.456 MB / 270.5 MB, free: 4.344 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002118/0.02769, allocations: 2.041 MB / 272.5 MB, free: 2.293 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007888/0.02847, allocations: 0.8033 MB / 273.3 MB, free: 1.488 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1034/0.1319, allocations: 5.902 MB / 279.3 MB, free: 2.676 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003313/0.1352, allocations: 3.115 MB / 282.4 MB, free: 2.387 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004022/0.1392, allocations: 3.399 MB / 285.8 MB, free: 2.082 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002316/0.1415, allocations: 2.451 MB / 288.2 MB, free: 1.602 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005396/0.1421, allocations: 415.2 kB / 288.6 MB, free: 1.602 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.1432, allocations: 1.14 MB / 289.8 MB, free: 1.492 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008659/0.1441, allocations: 1.888 MB / 291.6 MB, free: 1.023 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009111/0.145, allocations: 1.131 MB / 292.8 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002864/0.1479, allocations: 4.39 MB / 297.2 MB, free: 14.33 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.223e-05/0.1479, allocations: 0 / 297.2 MB, free: 14.33 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1479, allocations: 0 / 297.2 MB, free: 14.33 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.523e-05/0.148, allocations: 0 / 297.2 MB, free: 14.33 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: 1308 * Number of variables: 1308 Notification: Performance of Generate backend data structure: time 0.004668/0.1526, allocations: 5.257 MB / 302.4 MB, free: 9.68 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.1527, allocations: 8.75 kB / 302.4 MB, free: 9.672 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003462/0.1561, allocations: 1.341 MB / 303.8 MB, free: 8.363 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002488/0.1586, allocations: 2.271 MB / 306 MB, free: 6.195 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.119e-05/0.1587, allocations: 221.5 kB / 306.3 MB, free: 6.012 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003051/0.159, allocations: 296.1 kB / 306.6 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00371/0.1627, allocations: 4.362 MB / 310.9 MB, free: 1.117 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.32e-05/0.1628, allocations: 47.34 kB / 311 MB, free: 1.09 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002151/0.163, allocations: 143.2 kB / 311.1 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001131/0.1641, allocations: 1.431 MB / 312.5 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002851/0.167, allocations: 2.019 MB / 314.6 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01538/0.1824, allocations: 26.49 MB / 341 MB, free: 3.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/0.1838, allocations: 0.9672 MB / 342 MB, free: 2.355 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.1841, allocations: 198.6 kB / 342.2 MB, free: 2.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002299/0.1843, allocations: 211.6 kB / 342.4 MB, free: 1.957 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.1843, allocations: 50.69 kB / 342.5 MB, free: 1.902 MB / 314.7 MB Notification: Performance of pre-optimization done (n=125): time 3.537e-06/0.1843, allocations: 0 / 342.5 MB, free: 1.902 MB / 314.7 MB Notification: Performance of matching and sorting (n=145): time 0.00654/0.1909, allocations: 3.824 MB / 346.3 MB, free: 14.12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.1909, allocations: 141.5 kB / 346.4 MB, free: 13.96 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002094/0.193, allocations: 3.122 MB / 349.5 MB, free: 11.4 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.157e-05/0.1931, allocations: 48.75 kB / 349.6 MB, free: 11.35 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001061/0.1941, allocations: 2.756 MB / 352.3 MB, free: 8.746 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002734/0.1944, allocations: 0.5917 MB / 352.9 MB, free: 8.184 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007315/0.1951, allocations: 1.058 MB / 354 MB, free: 7.242 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.236e-05/0.1952, allocations: 305.1 kB / 354.3 MB, free: 6.941 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008195/0.196, allocations: 0.612 MB / 354.9 MB, free: 6.324 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002164/0.1982, allocations: 4.06 MB / 359 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003371/0.2015, allocations: 5.052 MB / 364 MB, free: 10.47 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.641e-05/0.2016, allocations: 36 kB / 364 MB, free: 10.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=717) (initialization): time 0.003327/0.2049, allocations: 3.653 MB / 367.7 MB, free: 6.762 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.616e-05/0.205, allocations: 56 kB / 367.8 MB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-05/0.205, allocations: 124.9 kB / 367.9 MB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.268e-05/0.2051, allocations: 160 kB / 368 MB, free: 6.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002177/0.2073, allocations: 1.455 MB / 369.5 MB, free: 4.973 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001036/0.2074, allocations: 244.6 kB / 369.7 MB, free: 4.734 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.2089, allocations: 247.7 kB / 370 MB, free: 4.492 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002199/0.2091, allocations: 292 kB / 370.3 MB, free: 4.207 MB / 346.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.000754/0.2098, allocations: 0.5678 MB / 370.8 MB, free: 3.629 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002207/0.2101, allocations: 211.8 kB / 371 MB, free: 3.422 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002787/0.2103, allocations: 302.8 kB / 371.3 MB, free: 3.121 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.2103, allocations: 16 kB / 371.3 MB, free: 3.105 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.2104, allocations: 7.938 kB / 371.4 MB, free: 3.098 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.2104, allocations: 7.969 kB / 371.4 MB, free: 3.09 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003631/0.214, allocations: 3.914 MB / 375.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.214, allocations: 12 kB / 375.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005599/0.2146, allocations: 293.6 kB / 375.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004046/0.215, allocations: 409.5 kB / 376 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.108e-05/0.215, allocations: 20 kB / 376 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.125e-05/0.215, allocations: 39.98 kB / 376 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.22e-05/0.215, allocations: 19.94 kB / 376 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.255e-06/0.215, allocations: 28.03 kB / 376.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.2161, allocations: 1.736 MB / 377.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002076/0.2163, allocations: 47.95 kB / 377.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005639/0.2169, allocations: 43.98 kB / 377.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.217, allocations: 119.5 kB / 378 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.962e-05/0.2171, allocations: 44 kB / 378.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00103/0.2181, allocations: 1.345 MB / 379.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2181, allocations: 0 / 379.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002057/0.2201, allocations: 0.9335 MB / 380.3 MB, free: 10.12 MB / 362.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.000273/0.2204, allocations: 192.4 kB / 380.5 MB, free: 9.926 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00171/0.2221, allocations: 2.031 MB / 382.6 MB, free: 7.914 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001443/0.2223, allocations: 100.2 kB / 382.7 MB, free: 7.809 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002733/0.2225, allocations: 331 kB / 383 MB, free: 7.484 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/0.224, allocations: 0.7325 MB / 383.7 MB, free: 6.777 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/0.2347, allocations: 7.343 MB / 391.1 MB, free: 15.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009008/0.2356, allocations: 1.156 MB / 392.2 MB, free: 14.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009376/0.2365, allocations: 478 kB / 392.7 MB, free: 13.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006911/0.2372, allocations: 0.5597 MB / 393.2 MB, free: 12.98 MB / 378.7 MB Notification: Performance of SimCode: time 8.71e-07/0.2372, allocations: 0 / 393.2 MB, free: 12.98 MB / 378.7 MB Notification: Performance of Templates: time 0.03795/0.2752, allocations: 28.15 MB / 421.4 MB, free: 1.18 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.0878014992922544]