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.008582/0.008582, allocations: 104.9 kB / 15.74 MB, free: 6.012 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.001444/0.001444, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.03015/0.03015, allocations: 6.503 MB / 297 MB, free: 8.344 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 63.89 kB / 410.4 MB, free: 24.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1019, allocations: 50.85 MB / 461.3 MB, free: 6.125 MB / 334.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.008245/0.1102, allocations: 7.224 MB / 468.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005258/0.1155, allocations: 2.271 MB / 470.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006695/0.1162, allocations: 27.94 kB / 470.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001711/0.118, allocations: 0.8015 MB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001874/0.1199, allocations: 0.8439 MB / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005343/0.1205, allocations: 215.5 kB / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00194/0.1224, allocations: 1.869 MB / 474.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/0.1237, allocations: 1.165 MB / 475.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007531/0.1245, allocations: 0.6731 MB / 476.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/0.1256, allocations: 0.9536 MB / 477.3 MB, free: 6.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002119/0.1258, allocations: 132 kB / 477.4 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009587/0.1268, allocations: 0.5967 MB / 478 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007252/0.1275, allocations: 0.853 MB / 478.9 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008874/0.1284, allocations: 1.087 MB / 480 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003101/0.1315, allocations: 3.484 MB / 483.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1315, allocations: 4 kB / 483.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1315, allocations: 0 / 483.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.974e-05/0.1316, allocations: 0 / 483.5 MB, free: 15.83 MB / 366.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.003538/0.1351, allocations: 2.461 MB / 485.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.321e-05/0.1352, allocations: 8.031 kB / 485.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004474/0.1357, allocations: 432.7 kB / 486.4 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004721/0.1404, allocations: 1.55 MB / 487.9 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0017/0.1421, allocations: 1.04 MB / 488.9 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.1422, allocations: 118.8 kB / 489.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002672/0.1425, allocations: 155.8 kB / 489.2 MB, free: 9.965 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006663/0.1492, allocations: 5.515 MB / 494.7 MB, free: 3.984 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.379e-05/0.1492, allocations: 23.81 kB / 494.8 MB, free: 3.961 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001841/0.1494, allocations: 75.89 kB / 494.8 MB, free: 3.887 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001807/0.1512, allocations: 1.264 MB / 496.1 MB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007378/0.1586, allocations: 4.61 MB / 0.489 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2899/0.4485, allocations: 22.05 MB / 0.5105 GB, free: 30.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002544/0.4511, allocations: 1.527 MB / 0.512 GB, free: 29.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006489/0.4518, allocations: 440.4 kB / 0.5124 GB, free: 29.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003385/0.4521, allocations: 336 kB / 0.5127 GB, free: 29.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.4522, allocations: 47.55 kB / 0.5128 GB, free: 29.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=83): time 3.767e-06/0.4522, allocations: 0 / 0.5128 GB, free: 29.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.008088/0.4603, allocations: 4.245 MB / 0.5169 GB, free: 27.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.4603, allocations: 142.9 kB / 0.5171 GB, free: 27.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003941/0.4643, allocations: 2.551 MB / 0.5195 GB, free: 26.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.483e-05/0.4644, allocations: 40.39 kB / 0.5196 GB, free: 26.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001168/0.4655, allocations: 1.938 MB / 0.5215 GB, free: 24.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003078/0.4659, allocations: 381.8 kB / 0.5218 GB, free: 24.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009869/0.4668, allocations: 0.8205 MB / 0.5226 GB, free: 24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.335e-05/0.4669, allocations: 301.1 kB / 0.5229 GB, free: 23.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001699/0.4686, allocations: 1.081 MB / 0.524 GB, free: 23.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00244/0.4711, allocations: 3.795 MB / 0.5277 GB, free: 19.37 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004535/0.4756, allocations: 5.343 MB / 0.5329 GB, free: 14.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.989e-05/0.4757, allocations: 27.56 kB / 0.5329 GB, free: 14.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.005716/0.4814, allocations: 4.622 MB / 0.5375 GB, free: 12.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.314e-05/0.4814, allocations: 51.12 kB / 0.5375 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.995e-05/0.4815, allocations: 100.7 kB / 0.5376 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001172/0.4816, allocations: 132.4 kB / 0.5377 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002078/0.4837, allocations: 0.941 MB / 0.5386 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00011/0.4839, allocations: 186.7 kB / 0.5388 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002234/0.4861, allocations: 205.5 kB / 0.539 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002422/0.4863, allocations: 260.5 kB / 0.5393 GB, free: 12.44 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.001341/0.4877, allocations: 1.284 MB / 0.5405 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002526/0.488, allocations: 209.3 kB / 0.5407 GB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003089/0.4883, allocations: 248.6 kB / 0.541 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/0.4883, allocations: 12 kB / 0.541 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/0.4883, allocations: 3.656 kB / 0.541 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4883, allocations: 0 / 0.541 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003772/0.4921, allocations: 3.113 MB / 0.544 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.4921, allocations: 4 kB / 0.544 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004656/0.4926, allocations: 139.8 kB / 0.5441 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.4926, allocations: 8 kB / 0.5442 GB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.113e-05/0.4927, allocations: 20 kB / 0.5442 GB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.927e-06/0.4927, allocations: 15.92 kB / 0.5442 GB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.4927, allocations: 8 kB / 0.5442 GB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.4945, allocations: 2.09 MB / 0.5462 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004311/0.4949, allocations: 354.2 kB / 0.5466 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/0.4951, allocations: 22.53 kB / 0.5466 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000583/0.4957, allocations: 39.41 kB / 0.5466 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.63e-05/0.4958, allocations: 70.31 kB / 0.5467 GB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.615e-05/0.4958, allocations: 35.94 kB / 0.5467 GB, free: 5.059 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001469/0.4973, allocations: 1.572 MB / 0.5483 GB, free: 3.473 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.132e-06/0.4973, allocations: 0 / 0.5483 GB, free: 3.473 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002522/0.4998, allocations: 0.5235 MB / 0.5488 GB, free: 2.953 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.002009/0.5018, allocations: 2.697 MB / 0.5514 GB, free: 168 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003585/0.5054, allocations: 2.523 MB / 0.5539 GB, free: 13.67 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.5055, allocations: 0 / 0.5539 GB, free: 13.67 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006269/0.5061, allocations: 484.2 kB / 0.5543 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.5073, allocations: 214.4 kB / 0.5545 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03403/0.5413, allocations: 25.27 MB / 0.5792 GB, free: 148 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00238/0.5438, allocations: 2.041 MB / 0.5812 GB, free: 14.08 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002893/0.5467, allocations: 1.307 MB / 0.5825 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001346/0.548, allocations: 0.9484 MB / 0.5834 GB, free: 11.82 MB / 430.1 MB Notification: Performance of SimCode: time 2.435e-06/0.5481, allocations: 0 / 0.5834 GB, free: 11.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06597/0.614, allocations: 32.27 MB / 0.6149 GB, free: 11.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/13.82, allocations: 7.656 kB / 0.6149 GB, free: 11.79 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)