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.001168/0.001168, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001244/0.001244, allocations: 191.2 kB / 16.25 MB, free: 6.629 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.389/1.389, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1624/0.1624, allocations: 6.496 MB / 296.6 MB, free: 2.73 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 67.83 kB / 358.3 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1211, allocations: 50.85 MB / 409.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.2288/0.3499, allocations: 14.2 MB / 423.3 MB, free: 35.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009004/0.359, allocations: 3.36 MB / 426.7 MB, free: 35.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002922/0.362, allocations: 53.62 kB / 426.7 MB, free: 35.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001809/0.3638, allocations: 0.7593 MB / 427.5 MB, free: 35.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002095/0.3659, allocations: 0.76 MB / 428.2 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005595/0.3665, allocations: 193.5 kB / 428.4 MB, free: 35.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002/0.3685, allocations: 1.914 MB / 430.3 MB, free: 34.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001284/0.3698, allocations: 1.245 MB / 431.6 MB, free: 34.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007893/0.3706, allocations: 0.6728 MB / 432.3 MB, free: 34.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009939/0.3716, allocations: 1.071 MB / 433.3 MB, free: 34.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002017/0.3719, allocations: 129.2 kB / 433.5 MB, free: 34.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008755/0.3727, allocations: 0.6089 MB / 434.1 MB, free: 34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005457/0.3733, allocations: 0.8903 MB / 435 MB, free: 33.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006581/0.374, allocations: 1.101 MB / 436.1 MB, free: 32.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002469/0.3764, allocations: 3.35 MB / 439.4 MB, free: 31.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3765, allocations: 0 / 439.4 MB, free: 31.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3765, allocations: 0 / 439.4 MB, free: 31.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.654e-05/0.3765, allocations: 0 / 439.4 MB, free: 31.76 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.003112/0.3796, allocations: 2.472 MB / 441.9 MB, free: 30.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.3797, allocations: 8.75 kB / 441.9 MB, free: 30.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004531/0.3842, allocations: 1.556 MB / 443.4 MB, free: 30.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001689/0.3859, allocations: 1.026 MB / 444.5 MB, free: 29.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.485e-05/0.386, allocations: 112.6 kB / 444.6 MB, free: 29.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002503/0.3863, allocations: 153 kB / 444.7 MB, free: 29.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006233/0.3925, allocations: 5.526 MB / 450.3 MB, free: 26.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.573e-05/0.3926, allocations: 23.69 kB / 450.3 MB, free: 26.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001942/0.3928, allocations: 76.05 kB / 450.3 MB, free: 26.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001552/0.3944, allocations: 1.266 MB / 451.6 MB, free: 26.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006829/0.4012, allocations: 4.594 MB / 456.2 MB, free: 24.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02254/0.4238, allocations: 22.15 MB / 478.4 MB, free: 24.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002672/0.4265, allocations: 1.522 MB / 479.9 MB, free: 23.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006921/0.4272, allocations: 439.2 kB / 480.3 MB, free: 23.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003465/0.4276, allocations: 333.6 kB / 480.6 MB, free: 22.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.4276, allocations: 38.86 kB / 480.7 MB, free: 22.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=83): time 3.186e-06/0.4276, allocations: 4 kB / 480.7 MB, free: 22.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=91): time 0.009008/0.4366, allocations: 4.257 MB / 484.9 MB, free: 20.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.4368, allocations: 135.7 kB / 485.1 MB, free: 20.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00405/0.4408, allocations: 2.554 MB / 487.6 MB, free: 19.22 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001486/0.441, allocations: 36.55 kB / 487.7 MB, free: 19.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001256/0.4423, allocations: 1.937 MB / 489.6 MB, free: 17.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004295/0.4427, allocations: 397.5 kB / 490 MB, free: 17.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001077/0.4438, allocations: 0.8101 MB / 490.8 MB, free: 17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.444, allocations: 302.3 kB / 491.1 MB, free: 16.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/0.4456, allocations: 1.083 MB / 492.2 MB, free: 16.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002647/0.4483, allocations: 3.795 MB / 496 MB, free: 12.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006004/0.4543, allocations: 5.337 MB / 0.4896 GB, free: 6.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001148/0.4544, allocations: 28 kB / 0.4896 GB, free: 6.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.009622/0.4641, allocations: 4.619 MB / 0.4941 GB, free: 2.391 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.481e-05/0.4642, allocations: 47.94 kB / 0.4941 GB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001272/0.4643, allocations: 100 kB / 0.4942 GB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001164/0.4644, allocations: 124 kB / 0.4943 GB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002872/0.4673, allocations: 0.9435 MB / 0.4953 GB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001398/0.4675, allocations: 191.2 kB / 0.4955 GB, free: 0.9922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003366/0.4709, allocations: 203.8 kB / 0.4956 GB, free: 0.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006835/0.4716, allocations: 260 kB / 0.4959 GB, free: 0.5391 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003028/0.4746, allocations: 1.283 MB / 0.4971 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007918/0.4754, allocations: 213.2 kB / 0.4974 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007394/0.4762, allocations: 251.9 kB / 0.4976 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.905e-05/0.4762, allocations: 12 kB / 0.4976 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.886e-05/0.4762, allocations: 0 / 0.4976 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.4763, allocations: 3.984 kB / 0.4976 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006252/0.4825, allocations: 3.108 MB / 0.5006 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/0.4826, allocations: 4 kB / 0.5006 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006093/0.4832, allocations: 139.8 kB / 0.5008 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-05/0.4832, allocations: 20.64 kB / 0.5008 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.665e-05/0.4833, allocations: 24 kB / 0.5008 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.909e-06/0.4833, allocations: 11.94 kB / 0.5008 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.918e-06/0.4833, allocations: 11.94 kB / 0.5008 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002581/0.4859, allocations: 2.082 MB / 0.5029 GB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009288/0.4868, allocations: 354.2 kB / 0.5032 GB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002199/0.4871, allocations: 27.05 kB / 0.5032 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006767/0.4878, allocations: 31.97 kB / 0.5033 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.4879, allocations: 67.81 kB / 0.5033 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.078e-05/0.4879, allocations: 38.19 kB / 0.5034 GB, free: 8.629 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002453/0.4904, allocations: 1.572 MB / 0.5049 GB, free: 7.039 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4904, allocations: 0 / 0.5049 GB, free: 7.039 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003863/0.4943, allocations: 0.5234 MB / 0.5054 GB, free: 6.516 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.0004031/0.4947, allocations: 161 kB / 0.5056 GB, free: 6.352 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004642/0.4994, allocations: 2.619 MB / 0.5081 GB, free: 3.762 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/0.4994, allocations: 0 / 0.5081 GB, free: 3.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007662/0.5002, allocations: 486.2 kB / 0.5086 GB, free: 3.289 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/0.5026, allocations: 213.5 kB / 0.5088 GB, free: 3.086 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.5141, allocations: 6.011 MB / 0.5147 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003225/0.5174, allocations: 2.043 MB / 0.5167 GB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.003155/0.5206, allocations: 1.312 MB / 0.5179 GB, free: 9.562 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003602/0.5209, allocations: 147.4 kB / 0.5181 GB, free: 9.418 MB / 398.1 MB Notification: Performance of SimCode: time 1.663e-06/0.5209, allocations: 0 / 0.5181 GB, free: 9.418 MB / 398.1 MB Notification: Performance of Templates: time 0.0346/0.5555, allocations: 15.21 MB / 0.5329 GB, free: 10.3 MB / 414.1 MB make -j1 -f StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.makefile (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)