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.0009723/0.0009723, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.00141/0.00141, allocations: 169 kB / 23.27 MB, free: 1.223 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.8769/0.8769, allocations: 177.2 MB / 203.7 MB, free: 5.5 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.0194/0.0194, allocations: 5.06 MB / 265.3 MB, free: 7.945 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.964e-06/1.964e-06, allocations: 0 / 336.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005e-05/1.201e-05, allocations: 4.844 kB / 336.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.007251/0.007263, allocations: 11.03 MB / 347.7 MB, free: 1.734 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005545/0.01281, allocations: 4.309 MB / 352 MB, free: 13.41 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007093/0.01352, allocations: 87.5 kB / 352.1 MB, free: 13.33 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002408/0.01593, allocations: 2.55 MB / 354.6 MB, free: 10.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002357/0.01828, allocations: 2.053 MB / 356.7 MB, free: 8.707 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008516/0.01913, allocations: 0.8734 MB / 357.5 MB, free: 7.832 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003948/0.02308, allocations: 6.424 MB / 364 MB, free: 1.398 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002357/0.02544, allocations: 3.531 MB / 367.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00268/0.02812, allocations: 3.607 MB / 371.1 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002081/0.0302, allocations: 2.568 MB / 373.7 MB, free: 7.629 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004096/0.03061, allocations: 416 kB / 374.1 MB, free: 7.223 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.03172, allocations: 1.112 MB / 375.2 MB, free: 6.109 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001088/0.03281, allocations: 2.112 MB / 377.3 MB, free: 3.992 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009603/0.03377, allocations: 1.383 MB / 378.7 MB, free: 2.605 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003298/0.03707, allocations: 4.73 MB / 383.4 MB, free: 13.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.03707, allocations: 3.984 kB / 383.4 MB, free: 13.85 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.03707, allocations: 0 / 383.4 MB, free: 13.85 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.341e-05/0.03712, allocations: 0 / 383.4 MB, free: 13.85 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.005187/0.0423, allocations: 4.978 MB / 388.4 MB, free: 8.805 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.04235, allocations: 8.031 kB / 388.4 MB, free: 8.797 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007649/0.05, allocations: 2.316 MB / 390.7 MB, free: 6.477 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002621/0.05262, allocations: 2.593 MB / 393.3 MB, free: 3.832 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.532e-05/0.05272, allocations: 221.9 kB / 393.5 MB, free: 3.613 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002972/0.05301, allocations: 300.1 kB / 393.8 MB, free: 3.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004283/0.0573, allocations: 4.858 MB / 398.7 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.906e-05/0.05737, allocations: 47.62 kB / 398.7 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002162/0.05758, allocations: 143.9 kB / 398.9 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00108/0.05866, allocations: 1.427 MB / 400.3 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002659/0.06132, allocations: 1.985 MB / 402.3 MB, free: 9.965 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1469/0.2082, allocations: 36.96 MB / 439.2 MB, free: 44.03 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/0.2098, allocations: 0.9617 MB / 440.2 MB, free: 43.88 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000256/0.2101, allocations: 247.6 kB / 440.4 MB, free: 43.83 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002306/0.2103, allocations: 212.1 kB / 440.6 MB, free: 43.8 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.2103, allocations: 62.25 kB / 440.7 MB, free: 43.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=125): time 3.036e-06/0.2104, allocations: 3.938 kB / 440.7 MB, free: 43.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=145): time 0.007007/0.2174, allocations: 3.99 MB / 444.7 MB, free: 42.64 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.2174, allocations: 282.5 kB / 445 MB, free: 42.33 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00237/0.2198, allocations: 3.478 MB / 448.4 MB, free: 41.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.523e-05/0.2198, allocations: 48.34 kB / 448.5 MB, free: 41.35 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001087/0.2209, allocations: 3.187 MB / 451.7 MB, free: 38.69 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002577/0.2212, allocations: 0.6165 MB / 452.3 MB, free: 38.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008039/0.222, allocations: 1.219 MB / 453.5 MB, free: 36.84 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.625e-05/0.222, allocations: 484.7 kB / 454 MB, free: 36.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005881/0.2226, allocations: 458.6 kB / 454.4 MB, free: 35.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001803/0.2244, allocations: 5.688 MB / 460.1 MB, free: 27.89 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003233/0.2277, allocations: 6.562 MB / 466.7 MB, free: 19.38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.379e-05/0.2277, allocations: 32 kB / 466.7 MB, free: 19.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=717) (initialization): time 0.005038/0.2327, allocations: 4.253 MB / 471 MB, free: 15.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.568e-05/0.2328, allocations: 56 kB / 471 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.971e-05/0.2329, allocations: 120.9 kB / 471.1 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.709e-05/0.233, allocations: 160 kB / 471.3 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001952/0.2349, allocations: 1.275 MB / 472.6 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.494e-05/0.235, allocations: 235.1 kB / 472.8 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/0.2369, allocations: 251.7 kB / 473.1 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001969/0.2371, allocations: 292 kB / 473.3 MB, free: 12.73 MB / 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.000863/0.238, allocations: 0.6213 MB / 474 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003396/0.2383, allocations: 369.8 kB / 474.3 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.2386, allocations: 302.8 kB / 474.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.2386, allocations: 16 kB / 474.6 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/0.2386, allocations: 0 / 474.6 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.2386, allocations: 11.97 kB / 474.6 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004846/0.2435, allocations: 4.661 MB / 479.3 MB, free: 6.488 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.2435, allocations: 12 kB / 479.3 MB, free: 6.477 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004119/0.2439, allocations: 243.6 kB / 479.6 MB, free: 6.238 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.697e-06/0.2439, allocations: 16 kB / 479.6 MB, free: 6.223 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.662e-05/0.2439, allocations: 40 kB / 479.6 MB, free: 6.184 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.458e-06/0.2439, allocations: 23.92 kB / 479.6 MB, free: 6.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.2439, allocations: 19.94 kB / 479.7 MB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.2451, allocations: 2.068 MB / 481.7 MB, free: 3.836 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004256/0.2455, allocations: 442.4 kB / 482.2 MB, free: 3.406 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/0.2457, allocations: 39.98 kB / 482.2 MB, free: 3.367 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000561/0.2462, allocations: 43.98 kB / 482.2 MB, free: 3.324 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.777e-05/0.2463, allocations: 127.5 kB / 482.4 MB, free: 3.199 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-05/0.2464, allocations: 44 kB / 482.4 MB, free: 3.156 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009873/0.2474, allocations: 1.454 MB / 483.9 MB, free: 1.715 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2474, allocations: 0 / 483.9 MB, free: 1.715 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002238/0.2496, allocations: 0.9296 MB / 484.8 MB, free: 0.7852 MB / 330.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.0002762/0.2499, allocations: 194.5 kB / 485 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002191/0.2521, allocations: 2.177 MB / 487.1 MB, free: 14.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.2521, allocations: 4.312 kB / 487.2 MB, free: 14.42 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003835/0.2525, allocations: 360.6 kB / 487.5 MB, free: 14.07 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/0.254, allocations: 0.5012 MB / 488 MB, free: 13.6 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00825/0.2623, allocations: 7.106 MB / 495.1 MB, free: 6.211 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009744/0.2632, allocations: 1.159 MB / 496.3 MB, free: 5.031 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001035/0.2643, allocations: 476.2 kB / 496.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009125/0.2652, allocations: 0.6113 MB / 497.3 MB, free: 3.961 MB / 346.7 MB Notification: Performance of SimCode: time 9.12e-07/0.2652, allocations: 0 / 497.3 MB, free: 3.961 MB / 346.7 MB Notification: Performance of Templates: time 0.0393/0.3045, allocations: 27.02 MB / 0.5121 GB, free: 9.301 MB / 378.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.3688965239562094]