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.0008824/0.0008825, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001037/0.001037, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1629/0.1629, allocations: 6.482 MB / 297.6 MB, free: 3.73 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003532, allocations: 8 kB / 360 MB, free: 112 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1224, allocations: 51.84 MB / 411.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.2666/0.389, allocations: 12.76 MB / 424.6 MB, free: 34.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007874/0.3969, allocations: 3.184 MB / 427.8 MB, free: 34.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002242/0.3992, allocations: 54.78 kB / 427.8 MB, free: 34.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.4009, allocations: 0.5965 MB / 428.4 MB, free: 34.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005231/0.4061, allocations: 1.698 MB / 430.1 MB, free: 33.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007778/0.4069, allocations: 175.3 kB / 430.3 MB, free: 33.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002959/0.4099, allocations: 2.07 MB / 432.4 MB, free: 33.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002035/0.4119, allocations: 1.389 MB / 433.8 MB, free: 33.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.413, allocations: 0.6078 MB / 434.4 MB, free: 33.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00149/0.4145, allocations: 0.9645 MB / 435.3 MB, free: 32.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000243/0.4147, allocations: 74.91 kB / 435.4 MB, free: 32.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.4158, allocations: 0.4905 MB / 435.9 MB, free: 32.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007261/0.4165, allocations: 0.7975 MB / 436.7 MB, free: 32.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004536/0.417, allocations: 462.4 kB / 437.1 MB, free: 32.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002295/0.4193, allocations: 2.602 MB / 439.7 MB, free: 32.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.4193, allocations: 2.344 kB / 439.7 MB, free: 32.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.4193, allocations: 0 / 439.7 MB, free: 32.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.81e-05/0.4194, allocations: 0 / 439.7 MB, free: 32.49 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.003417/0.4228, allocations: 2.066 MB / 441.8 MB, free: 31.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.4229, allocations: 16.38 kB / 441.8 MB, free: 31.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004852/0.4234, allocations: 426.1 kB / 442.2 MB, free: 31.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004659/0.428, allocations: 1.592 MB / 443.8 MB, free: 31.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001904/0.43, allocations: 1.009 MB / 444.8 MB, free: 30.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.4301, allocations: 122.2 kB / 445 MB, free: 30.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000273/0.4304, allocations: 148.8 kB / 445.1 MB, free: 30.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006632/0.437, allocations: 5.511 MB / 450.6 MB, free: 29.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.385e-05/0.4371, allocations: 25 kB / 450.6 MB, free: 29.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001888/0.4373, allocations: 74.91 kB / 450.7 MB, free: 29.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001624/0.4389, allocations: 1.271 MB / 452 MB, free: 28.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007905/0.4468, allocations: 4.575 MB / 456.6 MB, free: 27.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02586/0.4727, allocations: 22.16 MB / 478.7 MB, free: 26.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002774/0.4756, allocations: 1.529 MB / 480.2 MB, free: 25.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00072/0.4763, allocations: 434.8 kB / 480.7 MB, free: 25.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003925/0.4767, allocations: 334.1 kB / 481 MB, free: 25.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.4767, allocations: 46.41 kB / 481 MB, free: 25.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=83): time 3.978e-06/0.4768, allocations: 0 / 481 MB, free: 25.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=91): time 0.009415/0.4862, allocations: 4.258 MB / 485.3 MB, free: 22.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.701e-05/0.4863, allocations: 136.1 kB / 485.4 MB, free: 22.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003954/0.4903, allocations: 2.544 MB / 488 MB, free: 21.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.189e-05/0.4904, allocations: 40.73 kB / 488 MB, free: 21.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001079/0.4914, allocations: 1.94 MB / 490 MB, free: 20.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003362/0.4918, allocations: 381.7 kB / 490.3 MB, free: 20.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.4919, allocations: 80.44 kB / 490.4 MB, free: 19.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003059/0.4922, allocations: 487.8 kB / 490.9 MB, free: 19.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001857/0.4941, allocations: 1.068 MB / 492 MB, free: 19.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003354/0.4975, allocations: 3.78 MB / 495.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00267/0.5002, allocations: 2 MB / 497.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.72e-05/0.5002, allocations: 27.72 kB / 497.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.008084/0.5083, allocations: 4.594 MB / 0.4906 GB, free: 10.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.249e-05/0.5084, allocations: 48 kB / 0.4906 GB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001023/0.5085, allocations: 101 kB / 0.4907 GB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000153/0.5087, allocations: 144 kB / 0.4909 GB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002617/0.5113, allocations: 0.9435 MB / 0.4918 GB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001812/0.5115, allocations: 195.2 kB / 0.492 GB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00308/0.5146, allocations: 209.5 kB / 0.4922 GB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000362/0.515, allocations: 256 kB / 0.4924 GB, free: 8.207 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002455/0.5174, allocations: 1.286 MB / 0.4937 GB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000536/0.518, allocations: 205.3 kB / 0.4939 GB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005141/0.5185, allocations: 247.9 kB / 0.4941 GB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.204e-05/0.5186, allocations: 14.42 kB / 0.4941 GB, free: 6.453 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.307e-05/0.5186, allocations: 7.953 kB / 0.4941 GB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.5186, allocations: 3.984 kB / 0.4941 GB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005581/0.5242, allocations: 3.101 MB / 0.4972 GB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/0.5243, allocations: 8 kB / 0.4972 GB, free: 3.191 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005531/0.5248, allocations: 140.5 kB / 0.4973 GB, free: 3.055 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.625e-05/0.5248, allocations: 12 kB / 0.4973 GB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-05/0.5249, allocations: 25.64 kB / 0.4973 GB, free: 3.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.484e-05/0.5249, allocations: 15.92 kB / 0.4973 GB, free: 3.004 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/0.5249, allocations: 8 kB / 0.4974 GB, free: 2.996 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002805/0.5278, allocations: 2.072 MB / 0.4994 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007891/0.5286, allocations: 362.2 kB / 0.4997 GB, free: 472 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001896/0.5288, allocations: 30.67 kB / 0.4998 GB, free: 444 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006363/0.5294, allocations: 36.03 kB / 0.4998 GB, free: 408 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.5295, allocations: 63.77 kB / 0.4998 GB, free: 344 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.401e-05/0.5296, allocations: 35.94 kB / 0.4999 GB, free: 308 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002388/0.532, allocations: 1.564 MB / 0.5014 GB, free: 14.72 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.532, allocations: 0 / 0.5014 GB, free: 14.72 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00368/0.5357, allocations: 0.5234 MB / 0.5019 GB, free: 14.2 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003344/0.539, allocations: 2.7 MB / 0.5046 GB, free: 11.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004546/0.5436, allocations: 2.493 MB / 0.507 GB, free: 8.934 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.5436, allocations: 0 / 0.507 GB, free: 8.934 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007068/0.5443, allocations: 487.9 kB / 0.5075 GB, free: 8.457 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/0.5459, allocations: 204.3 kB / 0.5077 GB, free: 8.258 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03479/0.5807, allocations: 17.53 MB / 0.5248 GB, free: 4.309 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003022/0.5838, allocations: 2.039 MB / 0.5268 GB, free: 2.238 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.003832/0.5877, allocations: 1.313 MB / 0.528 GB, free: 0.918 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001685/0.5894, allocations: 0.9484 MB / 0.529 GB, free: 15.96 MB / 414.1 MB Notification: Performance of SimCode: time 1.623e-06/0.5894, allocations: 0 / 0.529 GB, free: 15.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07657/0.666, allocations: 39.11 MB / 0.5672 GB, free: 9.145 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/0.6663, allocations: 175.6 kB / 0.5673 GB, free: 8.906 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.983/3.649, allocations: 3.938 kB / 0.5673 GB, free: 8.902 MB / 446.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/linux/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) Environment - environmentSimulation: