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.00101/0.00101, allocations: 105.5 kB / 15.98 MB, free: 6.352 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.000967/0.000967, allocations: 198.8 kB / 16.91 MB, free: 6.191 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.177/1.177, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.02775/0.02775, allocations: 6.485 MB / 297.2 MB, free: 8.414 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 63.89 kB / 358.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1836, allocations: 50.85 MB / 409.7 MB, free: 28.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.009398/0.193, allocations: 14.22 MB / 424 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005228/0.1983, allocations: 3.362 MB / 427.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001517/0.1999, allocations: 51.88 kB / 427.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.2012, allocations: 0.7476 MB / 428.1 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00139/0.2027, allocations: 0.7666 MB / 428.9 MB, free: 9.402 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.2031, allocations: 199.7 kB / 429.1 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001356/0.2044, allocations: 1.907 MB / 431 MB, free: 7.297 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.2055, allocations: 1.234 MB / 432.2 MB, free: 6.051 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005476/0.206, allocations: 0.677 MB / 432.9 MB, free: 5.371 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008113/0.2068, allocations: 1.071 MB / 434 MB, free: 4.297 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.207, allocations: 128 kB / 434.1 MB, free: 4.172 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007055/0.2077, allocations: 0.6161 MB / 434.7 MB, free: 3.555 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004622/0.2082, allocations: 0.8725 MB / 435.6 MB, free: 2.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006559/0.2088, allocations: 1.106 MB / 436.7 MB, free: 1.566 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002128/0.211, allocations: 2.69 MB / 439.4 MB, free: 14.87 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.211, allocations: 0 / 439.4 MB, free: 14.87 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.211, allocations: 4 kB / 439.4 MB, free: 14.87 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.581e-05/0.2111, allocations: 0 / 439.4 MB, free: 14.87 MB / 318.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.003413/0.2145, allocations: 2.473 MB / 441.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.2145, allocations: 16.03 kB / 441.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004714/0.2192, allocations: 1.542 MB / 443.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001731/0.221, allocations: 1.021 MB / 444.4 MB, free: 9.707 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.333e-05/0.2211, allocations: 119.1 kB / 444.5 MB, free: 9.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002638/0.2214, allocations: 151.8 kB / 444.7 MB, free: 9.441 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006249/0.2276, allocations: 5.519 MB / 450.2 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.774e-05/0.2277, allocations: 23.81 kB / 450.2 MB, free: 3.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001883/0.2279, allocations: 83.89 kB / 450.3 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001636/0.2295, allocations: 1.264 MB / 451.6 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00666/0.2362, allocations: 4.61 MB / 456.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01898/0.2552, allocations: 22.14 MB / 478.3 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002252/0.2575, allocations: 1.533 MB / 479.9 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005594/0.2581, allocations: 439.2 kB / 480.3 MB, free: 4.453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002984/0.2584, allocations: 339.2 kB / 480.6 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.2584, allocations: 46.5 kB / 480.7 MB, free: 4.012 MB / 350.1 MB Notification: Performance of pre-optimization done (n=83): time 3.276e-06/0.2584, allocations: 0 / 480.7 MB, free: 4.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=91): time 0.007755/0.2662, allocations: 4.249 MB / 484.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.407e-05/0.2663, allocations: 144.5 kB / 485.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002996/0.2693, allocations: 2.554 MB / 487.6 MB, free: 12.9 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.254e-05/0.2694, allocations: 33.7 kB / 487.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001067/0.2704, allocations: 1.931 MB / 489.6 MB, free: 10.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000281/0.2707, allocations: 391.2 kB / 490 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008452/0.2716, allocations: 0.8212 MB / 490.8 MB, free: 9.684 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.373e-05/0.2717, allocations: 301.1 kB / 491.1 MB, free: 9.387 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001467/0.2731, allocations: 1.082 MB / 492.2 MB, free: 8.301 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002839/0.276, allocations: 3.787 MB / 495.9 MB, free: 3.145 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004666/0.2807, allocations: 5.337 MB / 0.4895 GB, free: 12.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.724e-05/0.2807, allocations: 28 kB / 0.4896 GB, free: 12.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.006596/0.2873, allocations: 4.625 MB / 0.4941 GB, free: 7.793 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.383e-05/0.2874, allocations: 50.34 kB / 0.4941 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001128/0.2875, allocations: 96 kB / 0.4942 GB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000113/0.2876, allocations: 128.8 kB / 0.4943 GB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002282/0.2899, allocations: 0.9435 MB / 0.4953 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001291/0.2901, allocations: 195.2 kB / 0.4954 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/0.292, allocations: 199.6 kB / 0.4956 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002697/0.2923, allocations: 256 kB / 0.4959 GB, free: 5.945 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.001446/0.2938, allocations: 1.286 MB / 0.4971 GB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000306/0.2941, allocations: 209.2 kB / 0.4973 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003595/0.2944, allocations: 251.9 kB / 0.4976 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-05/0.2945, allocations: 20.27 kB / 0.4976 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.2945, allocations: 0 / 0.4976 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.2945, allocations: 7.984 kB / 0.4976 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004183/0.2987, allocations: 3.108 MB / 0.5006 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/0.2987, allocations: 4 kB / 0.5006 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005088/0.2992, allocations: 143.8 kB / 0.5008 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/0.2992, allocations: 8 kB / 0.5008 GB, free: 0.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.332e-05/0.2993, allocations: 23.98 kB / 0.5008 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.666e-06/0.2993, allocations: 11.94 kB / 0.5008 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.2993, allocations: 8 kB / 0.5008 GB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1606/0.4599, allocations: 2.08 MB / 0.5029 GB, free: 90.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005423/0.4605, allocations: 360.8 kB / 0.5032 GB, free: 90.49 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001885/0.4607, allocations: 21.58 kB / 0.5032 GB, free: 90.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000631/0.4613, allocations: 30.53 kB / 0.5033 GB, free: 90.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.4615, allocations: 68.97 kB / 0.5033 GB, free: 90.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.849e-05/0.4615, allocations: 35.28 kB / 0.5034 GB, free: 90.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001817/0.4634, allocations: 1.572 MB / 0.5049 GB, free: 89.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4634, allocations: 0 / 0.5049 GB, free: 89.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002517/0.4659, allocations: 0.5262 MB / 0.5054 GB, free: 89.83 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.0002876/0.4662, allocations: 150.2 kB / 0.5055 GB, free: 89.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003754/0.4699, allocations: 2.63 MB / 0.5081 GB, free: 88.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.47, allocations: 3.969 kB / 0.5081 GB, free: 88.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005096/0.4705, allocations: 475.6 kB / 0.5086 GB, free: 88.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.4718, allocations: 209.9 kB / 0.5088 GB, free: 88.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006301/0.4781, allocations: 6.267 MB / 0.5149 GB, free: 85.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/0.4794, allocations: 2.046 MB / 0.5169 GB, free: 84.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003665/0.4798, allocations: 180.1 kB / 0.5171 GB, free: 84.23 MB / 382.1 MB Notification: Performance of SimCode: time 1.262e-06/0.4798, allocations: 0 / 0.5171 GB, free: 84.23 MB / 382.1 MB Notification: Performance of Templates: time 0.03187/0.5117, allocations: 31.15 MB / 0.5475 GB, free: 54.32 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)