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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(StewartPlatform.Tests.SpindleDrive_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.SpindleDrive_test") translateModel(StewartPlatform.Tests.SpindleDrive_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.SpindleDrive_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.001281, allocations: 101.8 kB / 16.27 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 188.3 kB / 17.2 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.207/1.207, allocations: 222.9 MB / 240.9 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.02811/0.02811, allocations: 6.489 MB / 297.5 MB, free: 8.434 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001315, allocations: 68.05 kB / 359.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1937, allocations: 50.85 MB / 410.3 MB, free: 28.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.005857/0.1996, allocations: 7.229 MB / 417.5 MB, free: 21.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003114/0.2027, allocations: 2.271 MB / 419.8 MB, free: 18.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000392/0.2031, allocations: 35.94 kB / 419.8 MB, free: 18.87 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.2044, allocations: 0.7937 MB / 420.6 MB, free: 18.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001128/0.2055, allocations: 0.8166 MB / 421.4 MB, free: 17.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.2059, allocations: 219.5 kB / 421.6 MB, free: 17.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001157/0.2071, allocations: 1.867 MB / 423.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007997/0.2079, allocations: 1.164 MB / 424.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004171/0.2083, allocations: 0.6692 MB / 425.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006865/0.209, allocations: 0.9574 MB / 426.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001551/0.2092, allocations: 128 kB / 426.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006733/0.2099, allocations: 0.5928 MB / 427 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004093/0.2103, allocations: 0.8607 MB / 427.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005207/0.2108, allocations: 1.091 MB / 429 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001732/0.2125, allocations: 3.309 MB / 432.3 MB, free: 6.352 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2126, allocations: 3.938 kB / 432.3 MB, free: 6.348 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2126, allocations: 0 / 432.3 MB, free: 6.348 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.112e-05/0.2126, allocations: 3.938 kB / 432.3 MB, free: 6.344 MB / 302.1 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.002457/0.2151, allocations: 2.473 MB / 434.7 MB, free: 3.812 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.2151, allocations: 11.97 kB / 434.8 MB, free: 3.801 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004304/0.2194, allocations: 1.55 MB / 436.3 MB, free: 2.246 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.2206, allocations: 1.021 MB / 437.3 MB, free: 1.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.506e-05/0.2207, allocations: 115.1 kB / 437.4 MB, free: 1.066 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/0.2209, allocations: 151.8 kB / 437.6 MB, free: 0.918 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005529/0.2264, allocations: 5.527 MB / 443.1 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.798e-05/0.2265, allocations: 27.75 kB / 443.1 MB, free: 10.9 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00018/0.2267, allocations: 79.89 kB / 443.2 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001619/0.2283, allocations: 1.264 MB / 444.5 MB, free: 9.551 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00608/0.2344, allocations: 4.59 MB / 449.1 MB, free: 4.957 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01762/0.252, allocations: 22.15 MB / 471.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002163/0.2542, allocations: 1.528 MB / 472.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005198/0.2548, allocations: 435.5 kB / 473.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002881/0.2551, allocations: 335.2 kB / 473.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.2551, allocations: 50.55 kB / 473.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=83): time 3.226e-06/0.2551, allocations: 0 / 473.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=91): time 0.006995/0.2621, allocations: 4.255 MB / 477.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.167e-05/0.2622, allocations: 140.5 kB / 477.9 MB, free: 6.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002466/0.2647, allocations: 2.55 MB / 480.5 MB, free: 4.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.2647, allocations: 37.7 kB / 480.5 MB, free: 4.352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001006/0.2657, allocations: 1.935 MB / 482.5 MB, free: 2.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002326/0.266, allocations: 387.2 kB / 482.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007622/0.2667, allocations: 0.8176 MB / 483.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.899e-05/0.2668, allocations: 301.1 kB / 484 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.2681, allocations: 1.085 MB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002717/0.2709, allocations: 3.794 MB / 488.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004988/0.2759, allocations: 5.337 MB / 494.2 MB, free: 3.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.956e-05/0.2759, allocations: 28 kB / 494.2 MB, free: 3.902 MB / 366.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.006779/0.2827, allocations: 4.629 MB / 498.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.285e-05/0.2828, allocations: 44 kB / 498.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.834e-05/0.2829, allocations: 100 kB / 499 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001197/0.2831, allocations: 124 kB / 499.1 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002273/0.2853, allocations: 0.9435 MB / 0.4883 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001259/0.2855, allocations: 187.3 kB / 0.4885 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/0.2874, allocations: 199.8 kB / 0.4887 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002352/0.2877, allocations: 260 kB / 0.4889 GB, free: 13.43 MB / 382.1 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.001325/0.289, allocations: 1.282 MB / 0.4902 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002415/0.2893, allocations: 209.2 kB / 0.4904 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003218/0.2896, allocations: 251.9 kB / 0.4906 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/0.2896, allocations: 15.91 kB / 0.4906 GB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.2896, allocations: 4 kB / 0.4906 GB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-06/0.2896, allocations: 3.984 kB / 0.4906 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003737/0.2934, allocations: 3.115 MB / 0.4937 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.2934, allocations: 4.719 kB / 0.4937 GB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004766/0.2939, allocations: 143.8 kB / 0.4938 GB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/0.2939, allocations: 12 kB / 0.4938 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.249e-05/0.2939, allocations: 23.98 kB / 0.4939 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.275e-06/0.294, allocations: 11.94 kB / 0.4939 GB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.294, allocations: 8 kB / 0.4939 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002004/0.296, allocations: 2.084 MB / 0.4959 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004019/0.2964, allocations: 354.2 kB / 0.4963 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/0.2966, allocations: 23.98 kB / 0.4963 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005707/0.2972, allocations: 32.05 kB / 0.4963 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.2973, allocations: 71.67 kB / 0.4964 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.057e-05/0.2973, allocations: 35.98 kB / 0.4964 GB, free: 5.492 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001656/0.299, allocations: 1.576 MB / 0.498 GB, free: 3.902 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.299, allocations: 3.938 kB / 0.498 GB, free: 3.898 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002606/0.3016, allocations: 0.5273 MB / 0.4985 GB, free: 3.371 MB / 382.1 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.0002477/0.3019, allocations: 147 kB / 0.4986 GB, free: 3.219 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003369/0.3052, allocations: 2.63 MB / 0.5012 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.3053, allocations: 288 / 0.5012 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005618/0.3058, allocations: 484.9 kB / 0.5016 GB, free: 148 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1443/0.4502, allocations: 199.4 kB / 0.5018 GB, free: 92.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006603/0.4568, allocations: 5.214 MB / 0.5069 GB, free: 90.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001419/0.4583, allocations: 2.038 MB / 0.5089 GB, free: 89.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003368/0.4586, allocations: 185.8 kB / 0.5091 GB, free: 89.62 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4586, allocations: 0 / 0.5091 GB, free: 89.62 MB / 382.1 MB Notification: Performance of Templates: time 0.03316/0.4918, allocations: 31.15 MB / 0.5395 GB, free: 62.89 MB / 382.1 MB make -j1 -f StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.makefile (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=480 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe 2>&1)