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.001496/0.001496, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.001471/0.001471, allocations: 193.2 kB / 17.31 MB, free: 5.613 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.03145/0.03145, allocations: 6.486 MB / 297.7 MB, free: 8.387 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 63.91 kB / 360.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1958, allocations: 50.85 MB / 411 MB, free: 28.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.006257/0.2021, allocations: 7.228 MB / 418.3 MB, free: 21.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003428/0.2055, allocations: 2.27 MB / 420.5 MB, free: 18.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004933/0.206, allocations: 31.94 kB / 420.6 MB, free: 18.76 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.2074, allocations: 0.8015 MB / 421.4 MB, free: 17.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.2087, allocations: 0.8283 MB / 422.2 MB, free: 17.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000395/0.2091, allocations: 215.6 kB / 422.4 MB, free: 16.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001405/0.2105, allocations: 1.871 MB / 424.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009063/0.2114, allocations: 1.162 MB / 425.4 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005106/0.2119, allocations: 0.6731 MB / 426.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007692/0.2127, allocations: 0.9497 MB / 427.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001634/0.2129, allocations: 128 kB / 427.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007594/0.2136, allocations: 0.5967 MB / 427.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004519/0.2141, allocations: 0.8608 MB / 428.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000607/0.2147, allocations: 1.087 MB / 429.7 MB, free: 9.547 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002015/0.2167, allocations: 3.477 MB / 433.2 MB, free: 6.062 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2168, allocations: 7.938 kB / 433.2 MB, free: 6.055 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2168, allocations: 0 / 433.2 MB, free: 6.055 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.587e-05/0.2168, allocations: 0 / 433.2 MB, free: 6.055 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.00265/0.2195, allocations: 2.465 MB / 435.7 MB, free: 3.531 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.2195, allocations: 8.031 kB / 435.7 MB, free: 3.523 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004376/0.2239, allocations: 1.553 MB / 437.3 MB, free: 1.965 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001829/0.2257, allocations: 1.037 MB / 438.3 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.053e-05/0.2258, allocations: 111.2 kB / 438.4 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002317/0.226, allocations: 155.7 kB / 438.5 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006469/0.2325, allocations: 5.527 MB / 444.1 MB, free: 10.63 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.189e-05/0.2326, allocations: 23.81 kB / 444.1 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001909/0.2328, allocations: 79.89 kB / 444.2 MB, free: 10.53 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001711/0.2345, allocations: 1.261 MB / 445.4 MB, free: 9.262 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007098/0.2416, allocations: 4.598 MB / 450 MB, free: 4.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02269/0.2643, allocations: 22.07 MB / 472.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002334/0.2667, allocations: 1.519 MB / 473.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005743/0.2673, allocations: 443.5 kB / 474.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003306/0.2677, allocations: 335.2 kB / 474.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.2677, allocations: 46.48 kB / 474.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=83): time 3.196e-06/0.2677, allocations: 0 / 474.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=91): time 0.008132/0.2758, allocations: 4.256 MB / 478.7 MB, free: 6.926 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.2759, allocations: 140.5 kB / 478.8 MB, free: 6.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003276/0.2792, allocations: 2.546 MB / 481.4 MB, free: 4.184 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.485e-05/0.2793, allocations: 37.7 kB / 481.4 MB, free: 4.141 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001172/0.2805, allocations: 1.939 MB / 483.3 MB, free: 2.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003192/0.2808, allocations: 387.2 kB / 483.7 MB, free: 1.789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009272/0.2817, allocations: 0.8174 MB / 484.5 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.98e-05/0.2818, allocations: 305.1 kB / 484.8 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/0.2833, allocations: 1.078 MB / 485.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003071/0.2864, allocations: 3.794 MB / 489.7 MB, free: 10.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005179/0.2916, allocations: 5.333 MB / 495 MB, free: 3.723 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.19e-05/0.2917, allocations: 28 kB / 495.1 MB, free: 3.695 MB / 366.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.007172/0.2989, allocations: 4.625 MB / 499.7 MB, free: 15.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.644e-05/0.299, allocations: 48 kB / 499.7 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001189/0.2991, allocations: 96.09 kB / 499.8 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001236/0.2993, allocations: 135.9 kB / 500 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002491/0.3017, allocations: 0.9396 MB / 0.4892 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001546/0.3019, allocations: 191.2 kB / 0.4893 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00232/0.3042, allocations: 203.6 kB / 0.4895 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003608/0.3046, allocations: 264 kB / 0.4898 GB, free: 13.21 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.001853/0.3065, allocations: 1.274 MB / 0.491 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004292/0.3069, allocations: 209.2 kB / 0.4912 GB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004661/0.3074, allocations: 255.9 kB / 0.4915 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.176e-05/0.3074, allocations: 8 kB / 0.4915 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/0.3074, allocations: 4 kB / 0.4915 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.3075, allocations: 3.984 kB / 0.4915 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005551/0.313, allocations: 3.104 MB / 0.4945 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.313, allocations: 11.97 kB / 0.4945 GB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005601/0.3136, allocations: 143.7 kB / 0.4947 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.076e-05/0.3136, allocations: 12 kB / 0.4947 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.803e-05/0.3137, allocations: 23.98 kB / 0.4947 GB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.148e-05/0.3137, allocations: 8 kB / 0.4947 GB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.737e-05/0.3137, allocations: 11.94 kB / 0.4947 GB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002604/0.3164, allocations: 2.095 MB / 0.4968 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008744/0.3172, allocations: 354.2 kB / 0.4971 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004124/0.3177, allocations: 27.98 kB / 0.4971 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008125/0.3185, allocations: 28.27 kB / 0.4972 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.3186, allocations: 63.75 kB / 0.4972 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.164e-05/0.3187, allocations: 39.98 kB / 0.4973 GB, free: 5.273 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00228/0.321, allocations: 1.58 MB / 0.4988 GB, free: 3.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.321, allocations: 0 / 0.4988 GB, free: 3.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002932/0.3239, allocations: 0.5195 MB / 0.4993 GB, free: 3.16 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.0003098/0.3242, allocations: 150.9 kB / 0.4995 GB, free: 3.004 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003821/0.3281, allocations: 2.521 MB / 0.5019 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/0.3281, allocations: 4 kB / 0.5019 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006656/0.3288, allocations: 485.3 kB / 0.5024 GB, free: 36 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.151/0.4798, allocations: 201.1 kB / 0.5026 GB, free: 92.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00687/0.4867, allocations: 4.883 MB / 0.5073 GB, free: 90.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001982/0.4887, allocations: 2.038 MB / 0.5093 GB, free: 89.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002612/0.4914, allocations: 1.316 MB / 0.5106 GB, free: 89.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003154/0.4917, allocations: 149.2 kB / 0.5108 GB, free: 89.6 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4917, allocations: 0 / 0.5108 GB, free: 89.6 MB / 382.1 MB Notification: Performance of Templates: time 0.02385/0.5156, allocations: 11.79 MB / 0.5223 GB, free: 81.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 -s gbode -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe 2>&1)