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.0007683/0.0007683, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008125/0.0008124, allocations: 177.3 kB / 15.94 MB, free: 228 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.519/1.519, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.24/0.24, allocations: 6.476 MB / 297.5 MB, free: 3.766 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003663, allocations: 8 kB / 359.8 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1605, allocations: 51.85 MB / 411.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.01288/0.1734, allocations: 12.11 MB / 423.8 MB, free: 224 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3284/0.5019, allocations: 3.281 MB / 427 MB, free: 33.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002987/0.5049, allocations: 56.09 kB / 427.1 MB, free: 33.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001964/0.5069, allocations: 0.5353 MB / 427.6 MB, free: 33.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006558/0.5135, allocations: 1.705 MB / 429.3 MB, free: 33.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000928/0.5145, allocations: 144.1 kB / 429.5 MB, free: 33.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002861/0.5173, allocations: 1.109 MB / 430.6 MB, free: 33.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002527/0.5199, allocations: 1.377 MB / 432 MB, free: 33.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.5209, allocations: 0.52 MB / 432.5 MB, free: 33.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009734/0.5219, allocations: 0.7083 MB / 433.2 MB, free: 33.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002203/0.5222, allocations: 74.06 kB / 433.3 MB, free: 33.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.5233, allocations: 492.9 kB / 433.7 MB, free: 33.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007435/0.524, allocations: 0.7475 MB / 434.5 MB, free: 32.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005411/0.5246, allocations: 460.3 kB / 434.9 MB, free: 32.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003084/0.5277, allocations: 2.604 MB / 437.5 MB, free: 32.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.5277, allocations: 0 / 437.5 MB, free: 32.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.461e-06/0.5277, allocations: 0 / 437.5 MB, free: 32.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.142e-05/0.5278, allocations: 1.531 kB / 437.5 MB, free: 32.6 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.004661/0.5325, allocations: 2.068 MB / 439.6 MB, free: 31.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.101e-05/0.5325, allocations: 9.594 kB / 439.6 MB, free: 31.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006255/0.5388, allocations: 1.875 MB / 441.5 MB, free: 31.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003117/0.542, allocations: 1.005 MB / 442.5 MB, free: 30.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.5421, allocations: 112.1 kB / 442.6 MB, free: 30.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003517/0.5425, allocations: 146.2 kB / 442.8 MB, free: 30.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00959/0.5521, allocations: 5.524 MB / 448.3 MB, free: 29.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.597e-05/0.5522, allocations: 31.44 kB / 448.3 MB, free: 29.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002508/0.5525, allocations: 74.73 kB / 448.4 MB, free: 29.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001981/0.5544, allocations: 1.26 MB / 449.6 MB, free: 29.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009071/0.5635, allocations: 4.609 MB / 454.2 MB, free: 28.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02997/0.5935, allocations: 22.16 MB / 476.4 MB, free: 27.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003013/0.5966, allocations: 1.535 MB / 477.9 MB, free: 26.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000408/0.5971, allocations: 333.5 kB / 478.3 MB, free: 26.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.5971, allocations: 39.36 kB / 478.3 MB, free: 26.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=83): time 3.156e-06/0.5971, allocations: 0 / 478.3 MB, free: 26.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=91): time 0.009794/0.6069, allocations: 4.528 MB / 482.8 MB, free: 23.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/0.6071, allocations: 136 kB / 483 MB, free: 23.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005866/0.613, allocations: 2.543 MB / 485.5 MB, free: 22.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001188/0.6131, allocations: 36.02 kB / 485.6 MB, free: 22.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001967/0.6151, allocations: 1.945 MB / 487.5 MB, free: 21.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004935/0.6156, allocations: 381.6 kB / 487.9 MB, free: 20.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.6158, allocations: 79.78 kB / 487.9 MB, free: 20.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003858/0.6161, allocations: 483.3 kB / 488.4 MB, free: 20.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00207/0.6182, allocations: 1.064 MB / 489.5 MB, free: 20.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003423/0.6217, allocations: 3.761 MB / 493.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003484/0.6252, allocations: 2.013 MB / 495.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.563e-05/0.6252, allocations: 27.53 kB / 495.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.00801/0.6333, allocations: 4.589 MB / 499.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.899e-05/0.6334, allocations: 48 kB / 499.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001076/0.6335, allocations: 96 kB / 0.4883 GB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001726/0.6337, allocations: 140 kB / 0.4884 GB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002621/0.6363, allocations: 0.9435 MB / 0.4893 GB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001657/0.6365, allocations: 195.2 kB / 0.4895 GB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003048/0.6395, allocations: 206.7 kB / 0.4897 GB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003408/0.6399, allocations: 264 kB / 0.49 GB, free: 10.55 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.002399/0.6423, allocations: 1.271 MB / 0.4912 GB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004851/0.6428, allocations: 209.3 kB / 0.4914 GB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004628/0.6432, allocations: 243.9 kB / 0.4917 GB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-05/0.6433, allocations: 12 kB / 0.4917 GB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.338e-05/0.6433, allocations: 4 kB / 0.4917 GB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.6433, allocations: 7.938 kB / 0.4917 GB, free: 8.805 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005937/0.6493, allocations: 3.116 MB / 0.4947 GB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/0.6493, allocations: 11.94 kB / 0.4947 GB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005489/0.6499, allocations: 135.8 kB / 0.4949 GB, free: 5.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.107e-05/0.6499, allocations: 19.89 kB / 0.4949 GB, free: 5.387 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-05/0.65, allocations: 20.28 kB / 0.4949 GB, free: 5.367 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.441e-05/0.65, allocations: 8 kB / 0.4949 GB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/0.65, allocations: 11.94 kB / 0.4949 GB, free: 5.348 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003239/0.6532, allocations: 2.57 MB / 0.4974 GB, free: 2.512 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/0.6543, allocations: 371 kB / 0.4978 GB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/0.6545, allocations: 20 kB / 0.4978 GB, free: 2.109 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006363/0.6552, allocations: 31.97 kB / 0.4978 GB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.6553, allocations: 63.89 kB / 0.4979 GB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-05/0.6554, allocations: 28 kB / 0.4979 GB, free: 1.988 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002703/0.6581, allocations: 1.564 MB / 0.4994 GB, free: 420 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6581, allocations: 4 kB / 0.4995 GB, free: 416 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.004424/0.6625, allocations: 0.5261 MB / 0.5 GB, free: 15.88 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.0004328/0.663, allocations: 149.6 kB / 0.5001 GB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004995/0.668, allocations: 2.495 MB / 0.5025 GB, free: 13.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.668, allocations: 0 / 0.5025 GB, free: 13.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007246/0.6687, allocations: 479 kB / 0.503 GB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.6701, allocations: 189.2 kB / 0.5032 GB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/0.6806, allocations: 5.81 MB / 0.5089 GB, free: 6.684 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002275/0.683, allocations: 2.082 MB / 0.5109 GB, free: 4.566 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003235/0.6862, allocations: 1.316 MB / 0.5122 GB, free: 3.242 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003348/0.6866, allocations: 151.4 kB / 0.5123 GB, free: 3.094 MB / 382.1 MB Notification: Performance of SimCode: time 1.463e-06/0.6866, allocations: 0 / 0.5123 GB, free: 3.094 MB / 382.1 MB Notification: Performance of Templates: time 0.03494/0.7216, allocations: 14.35 MB / 0.5263 GB, free: 4.832 MB / 398.1 MB make -j1 -f StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe 2>&1) Environment - environmentSimulation: