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.006256/0.006256, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001118/0.001118, allocations: 200.8 kB / 16.68 MB, free: 5.969 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1561/0.1561, allocations: 6.492 MB / 297 MB, free: 2.68 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 55.91 kB / 410.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2899, allocations: 50.86 MB / 461.3 MB, free: 18.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.007878/0.2979, allocations: 7.222 MB / 468.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004888/0.3028, allocations: 2.27 MB / 470.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009991/0.3038, allocations: 35.38 kB / 470.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001899/0.3057, allocations: 0.8062 MB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002287/0.3081, allocations: 0.8351 MB / 472.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00068/0.3088, allocations: 216.3 kB / 472.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002799/0.3116, allocations: 1.875 MB / 474.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001709/0.3133, allocations: 1.155 MB / 475.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/0.3145, allocations: 0.6714 MB / 476.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/0.316, allocations: 0.9581 MB / 477.3 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000363/0.3163, allocations: 128.4 kB / 477.4 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00139/0.3177, allocations: 0.5974 MB / 478 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009938/0.3188, allocations: 0.855 MB / 478.9 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.3199, allocations: 1.088 MB / 480 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004217/0.3241, allocations: 3.497 MB / 483.5 MB, free: 5.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3241, allocations: 0 / 483.5 MB, free: 5.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3241, allocations: 0 / 483.5 MB, free: 5.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.123e-05/0.3242, allocations: 1.188 kB / 483.5 MB, free: 5.832 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.004582/0.3288, allocations: 2.542 MB / 486 MB, free: 3.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.3289, allocations: 10.16 kB / 486 MB, free: 3.922 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005345/0.3294, allocations: 427 kB / 486.5 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005248/0.3347, allocations: 1.565 MB / 488 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002292/0.337, allocations: 1.039 MB / 489.1 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.576e-05/0.3371, allocations: 113 kB / 489.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003367/0.3374, allocations: 153.3 kB / 489.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00808/0.3455, allocations: 5.523 MB / 494.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.11e-05/0.3456, allocations: 23.75 kB / 494.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002122/0.3458, allocations: 87.89 kB / 494.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001971/0.3478, allocations: 1.261 MB / 496.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007801/0.3556, allocations: 4.602 MB / 0.4891 GB, free: 8.004 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02452/0.3802, allocations: 22.1 MB / 0.5107 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002615/0.3828, allocations: 1.531 MB / 0.5122 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006335/0.3835, allocations: 448.9 kB / 0.5126 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003506/0.3839, allocations: 331.1 kB / 0.5129 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.3839, allocations: 42.56 kB / 0.5129 GB, free: 14.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=83): time 3.266e-06/0.3839, allocations: 0 / 0.5129 GB, free: 14.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=91): time 0.008694/0.3926, allocations: 4.38 MB / 0.5172 GB, free: 10.12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.3928, allocations: 140.5 kB / 0.5173 GB, free: 9.949 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003374/0.3961, allocations: 2.559 MB / 0.5198 GB, free: 7.363 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.539e-05/0.3962, allocations: 37.7 kB / 0.5199 GB, free: 7.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00136/0.3976, allocations: 2.022 MB / 0.5219 GB, free: 5.277 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003784/0.398, allocations: 405 kB / 0.5222 GB, free: 4.879 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009839/0.399, allocations: 0.822 MB / 0.523 GB, free: 4.047 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3991, allocations: 301.1 kB / 0.5233 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001569/0.4007, allocations: 1.082 MB / 0.5244 GB, free: 2.664 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00354/0.4042, allocations: 3.794 MB / 0.5281 GB, free: 13.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005808/0.4101, allocations: 5.335 MB / 0.5333 GB, free: 6.805 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-05/0.4102, allocations: 28 kB / 0.5333 GB, free: 6.777 MB / 414.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.007662/0.4178, allocations: 4.633 MB / 0.5379 GB, free: 2.141 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.815e-05/0.4179, allocations: 48 kB / 0.5379 GB, free: 2.094 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001042/0.418, allocations: 96.88 kB / 0.538 GB, free: 2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001311/0.4182, allocations: 132 kB / 0.5381 GB, free: 1.871 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002502/0.4207, allocations: 0.9474 MB / 0.539 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001477/0.4208, allocations: 183.3 kB / 0.5392 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002367/0.4232, allocations: 199.7 kB / 0.5394 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003402/0.4236, allocations: 264 kB / 0.5397 GB, free: 296 kB / 414.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.00189/0.4255, allocations: 1.278 MB / 0.5409 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003724/0.4258, allocations: 222.5 kB / 0.5411 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004086/0.4263, allocations: 255.9 kB / 0.5414 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-05/0.4263, allocations: 12 kB / 0.5414 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.4263, allocations: 0 / 0.5414 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.4263, allocations: 3.984 kB / 0.5414 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005113/0.4314, allocations: 3.115 MB / 0.5444 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/0.4315, allocations: 4.719 kB / 0.5444 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005647/0.4321, allocations: 147.8 kB / 0.5446 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/0.4321, allocations: 8 kB / 0.5446 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.269e-05/0.4321, allocations: 23.98 kB / 0.5446 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.871e-05/0.4322, allocations: 11.94 kB / 0.5446 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.826e-06/0.4322, allocations: 11.94 kB / 0.5446 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002518/0.4347, allocations: 2.089 MB / 0.5467 GB, free: 8.859 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007733/0.4355, allocations: 363.7 kB / 0.547 GB, free: 8.484 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002162/0.4357, allocations: 23.98 kB / 0.547 GB, free: 8.461 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006267/0.4363, allocations: 32.05 kB / 0.5471 GB, free: 8.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.4365, allocations: 71.62 kB / 0.5471 GB, free: 8.359 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.137e-05/0.4365, allocations: 39.92 kB / 0.5472 GB, free: 8.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002309/0.4388, allocations: 1.58 MB / 0.5487 GB, free: 6.727 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4389, allocations: 0 / 0.5487 GB, free: 6.727 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003123/0.442, allocations: 0.5233 MB / 0.5492 GB, free: 6.203 MB / 430.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.003005/0.445, allocations: 2.708 MB / 0.5519 GB, free: 3.395 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004104/0.4491, allocations: 2.532 MB / 0.5543 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.4492, allocations: 0 / 0.5543 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006836/0.4499, allocations: 482 kB / 0.5548 GB, free: 424 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/0.4513, allocations: 212.5 kB / 0.555 GB, free: 208 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03446/0.4858, allocations: 25.37 MB / 0.5798 GB, free: 3.215 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001996/0.4879, allocations: 2.035 MB / 0.5818 GB, free: 1.148 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.2274/0.7152, allocations: 1.313 MB / 0.5831 GB, free: 114.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001871/0.7172, allocations: 0.9487 MB / 0.584 GB, free: 114.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.262e-06/0.7172, allocations: 0 / 0.584 GB, free: 114.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07268/0.7899, allocations: 32.24 MB / 0.6155 GB, free: 104.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.62, allocations: 13.58 kB / 0.6155 GB, free: 104.7 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 & python3 -m fmpy simulate --output-file StewartPlatform_StewartPlatform.Tests.SpindleDrive_test_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 StewartPlatform_StewartPlatform_Tests_SpindleDrive_test.fmu > StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe 2>&1)