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.000934/0.0009338, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001087/0.001088, allocations: 172.7 kB / 15.95 MB, free: 208 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.571/1.571, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1804/0.1804, allocations: 6.478 MB / 297.6 MB, free: 3.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005346/0.0005347, allocations: 8 kB / 359.9 MB, free: 228 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1658, allocations: 51.84 MB / 411.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.3375/0.5033, allocations: 12.76 MB / 424.5 MB, free: 33.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009245/0.5126, allocations: 3.18 MB / 427.7 MB, free: 33.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002519/0.5152, allocations: 54.41 kB / 427.7 MB, free: 33.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001961/0.5172, allocations: 0.5932 MB / 428.3 MB, free: 33.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00513/0.5224, allocations: 1.709 MB / 430 MB, free: 33.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000803/0.5232, allocations: 165.3 kB / 430.2 MB, free: 33.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003248/0.5264, allocations: 2.075 MB / 432.3 MB, free: 32.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002394/0.5288, allocations: 1.39 MB / 433.7 MB, free: 32.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001316/0.5302, allocations: 0.61 MB / 434.3 MB, free: 32.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001443/0.5316, allocations: 0.9689 MB / 435.3 MB, free: 32.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002285/0.5319, allocations: 73.28 kB / 435.3 MB, free: 32.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.533, allocations: 0.4977 MB / 435.8 MB, free: 32.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007713/0.5338, allocations: 0.7912 MB / 436.6 MB, free: 32.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00051/0.5343, allocations: 454.3 kB / 437.1 MB, free: 32.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002472/0.5368, allocations: 2.6 MB / 439.7 MB, free: 31.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.5368, allocations: 3.219 kB / 439.7 MB, free: 31.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.5368, allocations: 0 / 439.7 MB, free: 31.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.867e-05/0.5369, allocations: 7.938 kB / 439.7 MB, free: 31.95 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.003604/0.5405, allocations: 2.069 MB / 441.7 MB, free: 30.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.5406, allocations: 10.69 kB / 441.7 MB, free: 30.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004694/0.5453, allocations: 1.6 MB / 443.3 MB, free: 30.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002035/0.5473, allocations: 0.9978 MB / 444.3 MB, free: 30.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.5474, allocations: 114.3 kB / 444.5 MB, free: 30.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000253/0.5477, allocations: 143.1 kB / 444.6 MB, free: 30.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007373/0.5551, allocations: 5.515 MB / 450.1 MB, free: 28.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.997e-05/0.5552, allocations: 36.44 kB / 450.1 MB, free: 28.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002082/0.5554, allocations: 77.66 kB / 450.2 MB, free: 28.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001704/0.5571, allocations: 1.262 MB / 451.5 MB, free: 28.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008266/0.5654, allocations: 4.578 MB / 456.1 MB, free: 27.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02808/0.5935, allocations: 22.15 MB / 478.2 MB, free: 26.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003191/0.5968, allocations: 1.523 MB / 479.7 MB, free: 25.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008829/0.5977, allocations: 449.4 kB / 480.2 MB, free: 25.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004618/0.5982, allocations: 339.3 kB / 480.5 MB, free: 25.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/0.5983, allocations: 39.61 kB / 480.5 MB, free: 25.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=83): time 4.048e-06/0.5983, allocations: 0 / 480.5 MB, free: 25.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=91): time 0.01339/0.6117, allocations: 4.259 MB / 484.8 MB, free: 23.01 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.6118, allocations: 139.8 kB / 484.9 MB, free: 22.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007553/0.6194, allocations: 2.544 MB / 487.5 MB, free: 21.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001677/0.6196, allocations: 36.7 kB / 487.5 MB, free: 21.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001936/0.6215, allocations: 1.941 MB / 489.5 MB, free: 20.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005877/0.6221, allocations: 380.1 kB / 489.8 MB, free: 20.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003247/0.6225, allocations: 80.5 kB / 489.9 MB, free: 20 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0004686/0.623, allocations: 488.1 kB / 490.4 MB, free: 19.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002543/0.6255, allocations: 1.065 MB / 491.5 MB, free: 19.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004211/0.6298, allocations: 3.782 MB / 495.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003312/0.6331, allocations: 1.999 MB / 497.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000184/0.6333, allocations: 28.66 kB / 497.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.01048/0.6438, allocations: 4.595 MB / 0.4901 GB, free: 10.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001644/0.644, allocations: 48 kB / 0.4901 GB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002244/0.6442, allocations: 96 kB / 0.4902 GB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000225/0.6445, allocations: 140 kB / 0.4904 GB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003146/0.6476, allocations: 0.9473 MB / 0.4913 GB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002238/0.6479, allocations: 187.3 kB / 0.4915 GB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003428/0.6513, allocations: 204.9 kB / 0.4917 GB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006005/0.6519, allocations: 260 kB / 0.4919 GB, free: 8.535 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.003109/0.6551, allocations: 1.281 MB / 0.4932 GB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00074/0.6558, allocations: 209.3 kB / 0.4934 GB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007557/0.6566, allocations: 247.9 kB / 0.4936 GB, free: 6.797 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.102e-05/0.6566, allocations: 12.27 kB / 0.4936 GB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.322e-05/0.6567, allocations: 7.953 kB / 0.4936 GB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.6567, allocations: 7.984 kB / 0.4936 GB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007828/0.6645, allocations: 3.116 MB / 0.4967 GB, free: 3.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.933e-05/0.6646, allocations: 8 kB / 0.4967 GB, free: 3.512 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006157/0.6652, allocations: 135.8 kB / 0.4968 GB, free: 3.379 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-05/0.6653, allocations: 15.95 kB / 0.4968 GB, free: 3.363 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.967e-05/0.6653, allocations: 27.92 kB / 0.4968 GB, free: 3.336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-05/0.6654, allocations: 11.94 kB / 0.4969 GB, free: 3.324 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.02e-05/0.6654, allocations: 11.94 kB / 0.4969 GB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00321/0.6686, allocations: 2.075 MB / 0.4989 GB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001284/0.6699, allocations: 366.1 kB / 0.4992 GB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000804/0.6707, allocations: 23.95 kB / 0.4993 GB, free: 0.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/0.672, allocations: 35.91 kB / 0.4993 GB, free: 0.7148 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.6722, allocations: 63.89 kB / 0.4994 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.964e-05/0.6723, allocations: 32 kB / 0.4994 GB, free: 0.6211 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002846/0.6751, allocations: 1.561 MB / 0.5009 GB, free: 15.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6752, allocations: 0 / 0.5009 GB, free: 15.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004187/0.6793, allocations: 0.5222 MB / 0.5014 GB, free: 14.53 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.000356/0.6797, allocations: 153.8 kB / 0.5016 GB, free: 14.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004958/0.6847, allocations: 2.485 MB / 0.504 GB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.6847, allocations: 4 kB / 0.504 GB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007874/0.6855, allocations: 484 kB / 0.5045 GB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/0.6878, allocations: 201.5 kB / 0.5047 GB, free: 11.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.6982, allocations: 5.85 MB / 0.5104 GB, free: 5.281 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002018/0.7003, allocations: 2.043 MB / 0.5124 GB, free: 3.203 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003273/0.7036, allocations: 1.304 MB / 0.5136 GB, free: 1.891 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000337/0.7039, allocations: 147.4 kB / 0.5138 GB, free: 1.746 MB / 382.1 MB Notification: Performance of SimCode: time 3.837e-06/0.7039, allocations: 0 / 0.5138 GB, free: 1.746 MB / 382.1 MB Notification: Performance of Templates: time 0.03118/0.7351, allocations: 14.38 MB / 0.5278 GB, free: 3.453 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: