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: "" <> buildModelFMU(StewartPlatform.Tests.SpindleDrive_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_SpindleDrive_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(StewartPlatform.Tests.SpindleDrive_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_SpindleDrive_test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009917/0.0009917, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005592/0.005592, allocations: 172.5 kB / 16.27 MB, free: 6.648 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.115/1.115, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1127/0.1127, allocations: 6.478 MB / 297.9 MB, free: 3.652 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004415/0.0004416, allocations: 8 kB / 360.6 MB, free: 15.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09295/0.09341, allocations: 51.85 MB / 412.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.1371/0.2305, allocations: 13.62 MB / 426.1 MB, free: 34.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004796/0.2354, allocations: 3.364 MB / 429.4 MB, free: 33.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00132/0.2367, allocations: 53.97 kB / 429.5 MB, free: 33.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004814/0.2372, allocations: 266.6 kB / 429.7 MB, free: 33.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001165/0.2384, allocations: 0.7655 MB / 430.5 MB, free: 33.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003585/0.2387, allocations: 194.2 kB / 430.7 MB, free: 33.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001496/0.2403, allocations: 2.625 MB / 433.3 MB, free: 33.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001181/0.2414, allocations: 1.482 MB / 434.8 MB, free: 33.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003739/0.2418, allocations: 0.549 MB / 435.4 MB, free: 32.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006853/0.2425, allocations: 0.9807 MB / 436.3 MB, free: 32.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.2426, allocations: 72.84 kB / 436.4 MB, free: 32.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006059/0.2433, allocations: 0.5795 MB / 437 MB, free: 32.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003982/0.2437, allocations: 0.8246 MB / 437.8 MB, free: 32.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004619/0.2441, allocations: 1.066 MB / 438.9 MB, free: 32.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.2456, allocations: 3.225 MB / 442.1 MB, free: 31.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2456, allocations: 0 / 442.1 MB, free: 31.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2456, allocations: 0 / 442.1 MB, free: 31.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.812e-05/0.2457, allocations: 4 kB / 442.1 MB, free: 31.62 MB / 350.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.001931/0.2476, allocations: 2.042 MB / 444.1 MB, free: 30.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.2476, allocations: 8.875 kB / 444.2 MB, free: 30.36 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002946/0.2479, allocations: 429.1 kB / 444.6 MB, free: 30.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004182/0.2521, allocations: 1.595 MB / 446.2 MB, free: 29.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.2532, allocations: 1.022 MB / 447.2 MB, free: 29.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.954e-05/0.2532, allocations: 116.5 kB / 447.3 MB, free: 29.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000208/0.2534, allocations: 144.9 kB / 447.4 MB, free: 29.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004189/0.2576, allocations: 5.533 MB / 453 MB, free: 26.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.139e-05/0.2577, allocations: 28.75 kB / 453 MB, free: 26.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001598/0.2578, allocations: 73.09 kB / 453.1 MB, free: 26.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001329/0.2592, allocations: 1.265 MB / 454.3 MB, free: 26.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004721/0.2639, allocations: 4.604 MB / 458.9 MB, free: 24.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01398/0.2779, allocations: 22.17 MB / 481.1 MB, free: 24.03 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/0.2799, allocations: 1.523 MB / 482.6 MB, free: 23.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005074/0.2804, allocations: 444.8 kB / 483.1 MB, free: 22.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002616/0.2807, allocations: 340.2 kB / 483.4 MB, free: 22.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.2807, allocations: 38.44 kB / 483.4 MB, free: 22.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=83): time 2.384e-06/0.2807, allocations: 1.125 kB / 483.4 MB, free: 22.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=91): time 0.00646/0.2872, allocations: 4.279 MB / 487.7 MB, free: 20.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.2873, allocations: 141.5 kB / 487.9 MB, free: 20.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00248/0.2897, allocations: 2.551 MB / 490.4 MB, free: 19.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.2898, allocations: 39.52 kB / 490.4 MB, free: 19.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000702/0.2905, allocations: 1.937 MB / 492.4 MB, free: 17.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/0.2907, allocations: 390.8 kB / 492.8 MB, free: 17.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002852/0.291, allocations: 346.3 kB / 493.1 MB, free: 17.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.663e-05/0.2911, allocations: 302.1 kB / 493.4 MB, free: 16.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001253/0.2923, allocations: 1.078 MB / 494.5 MB, free: 16.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001902/0.2942, allocations: 3.797 MB / 498.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004169/0.2984, allocations: 5.338 MB / 0.4918 GB, free: 6.559 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-05/0.2984, allocations: 32 kB / 0.4918 GB, free: 6.527 MB / 366.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.005321/0.3038, allocations: 4.628 MB / 0.4964 GB, free: 1.898 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.121e-05/0.3038, allocations: 44 kB / 0.4964 GB, free: 1.855 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.845e-05/0.3039, allocations: 96 kB / 0.4965 GB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.123e-05/0.304, allocations: 128 kB / 0.4966 GB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002082/0.3061, allocations: 0.9444 MB / 0.4975 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001048/0.3062, allocations: 191.3 kB / 0.4977 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.3079, allocations: 209.8 kB / 0.4979 GB, free: 308 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002222/0.3081, allocations: 259.9 kB / 0.4982 GB, free: 48 kB / 366.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.001269/0.3094, allocations: 1.282 MB / 0.4994 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002198/0.3096, allocations: 209.2 kB / 0.4996 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000343/0.31, allocations: 247.9 kB / 0.4999 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/0.31, allocations: 18.34 kB / 0.4999 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.31, allocations: 3.938 kB / 0.4999 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.31, allocations: 7.984 kB / 0.4999 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003649/0.3137, allocations: 3.112 MB / 0.5029 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.3137, allocations: 4 kB / 0.5029 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004736/0.3142, allocations: 139.8 kB / 0.5031 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.3142, allocations: 8 kB / 0.5031 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.252e-05/0.3143, allocations: 23.98 kB / 0.5031 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.043e-05/0.3143, allocations: 17.19 kB / 0.5031 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.3143, allocations: 4.375 kB / 0.5031 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/0.3162, allocations: 2.096 MB / 0.5052 GB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003762/0.3166, allocations: 362.2 kB / 0.5055 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/0.3168, allocations: 22.89 kB / 0.5055 GB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005654/0.3173, allocations: 31.97 kB / 0.5056 GB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.59e-05/0.3175, allocations: 71.75 kB / 0.5056 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.425e-05/0.3175, allocations: 32 kB / 0.5057 GB, free: 8.117 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001543/0.319, allocations: 1.572 MB / 0.5072 GB, free: 6.527 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3191, allocations: 0 / 0.5072 GB, free: 6.527 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001987/0.321, allocations: 0.5234 MB / 0.5077 GB, free: 6.004 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.002213/0.3233, allocations: 2.716 MB / 0.5104 GB, free: 3.188 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002568/0.3258, allocations: 2.514 MB / 0.5128 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3259, allocations: 0 / 0.5128 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005294/0.3264, allocations: 481.9 kB / 0.5133 GB, free: 240 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002532/0.3289, allocations: 206.5 kB / 0.5135 GB, free: 32 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02623/0.3552, allocations: 28.17 MB / 0.541 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001513/0.3567, allocations: 2.031 MB / 0.543 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002452/0.3592, allocations: 1.316 MB / 0.5442 GB, free: 11.87 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008944/0.3601, allocations: 0.9445 MB / 0.5452 GB, free: 10.93 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3601, allocations: 0 / 0.5452 GB, free: 10.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 16.21/16.57, allocations: 34 MB / 0.5784 GB, free: 9.172 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003049/16.58, allocations: 189 kB / 0.5785 GB, free: 8.918 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.311/18.89, allocations: 0 / 0.5785 GB, free: 8.918 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_StewartPlatform_StewartPlatform_Tests_SpindleDrive_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 StewartPlatform_StewartPlatform_Tests_SpindleDrive_test.fmu > StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe 2>&1)