Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr StewartPlatform_StewartPlatform.Tests.ElectricCylinder_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.ElectricCylinder_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test") translateModel(StewartPlatform.Tests.ElectricCylinder_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 110.7 kB / 16.42 MB, free: 6.5 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.002221/0.002221, allocations: 185.4 kB / 17.35 MB, free: 5.738 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.484/1.484, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.03089/0.03089, allocations: 6.509 MB / 297.7 MB, free: 8.359 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 71.89 kB / 411.6 MB, free: 24.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1278, allocations: 50.84 MB / 462.5 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.01586/0.1437, allocations: 11.64 MB / 474.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01283/0.1566, allocations: 4.373 MB / 478.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004236/0.1609, allocations: 71.75 kB / 478.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007085/0.168, allocations: 2.433 MB / 481 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008752/0.1769, allocations: 2.008 MB / 483 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00258/0.1795, allocations: 0.7566 MB / 483.7 MB, free: 284 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01072/0.1902, allocations: 5.547 MB / 489.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00471/0.195, allocations: 3.516 MB / 492.8 MB, free: 7.148 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003207/0.1982, allocations: 1.686 MB / 494.5 MB, free: 5.457 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003731/0.202, allocations: 2.243 MB / 496.7 MB, free: 3.207 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001139/0.2031, allocations: 404 kB / 497.1 MB, free: 2.812 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002854/0.206, allocations: 1.174 MB / 498.3 MB, free: 1.637 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002377/0.2084, allocations: 1.987 MB / 0.4886 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005177/0.2136, allocations: 2.289 MB / 0.4908 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01063/0.2242, allocations: 7.41 MB / 0.498 GB, free: 5.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.2243, allocations: 0 / 0.498 GB, free: 5.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.2243, allocations: 0 / 0.498 GB, free: 5.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002369/0.2246, allocations: 0 / 0.498 GB, free: 5.91 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1308 * Number of variables: 1308 Notification: Performance of Generate backend data structure: time 0.01209/0.2367, allocations: 4.745 MB / 0.5027 GB, free: 1.094 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.74e-05/0.2368, allocations: 8.031 kB / 0.5027 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3683/0.6051, allocations: 2.793 MB / 0.5054 GB, free: 45.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01041/0.6156, allocations: 3.664 MB / 0.509 GB, free: 44.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002404/0.6158, allocations: 219 kB / 0.5092 GB, free: 44.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008555/0.6167, allocations: 288.1 kB / 0.5095 GB, free: 44.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0176/0.6343, allocations: 8.539 MB / 0.5178 GB, free: 40.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001812/0.6345, allocations: 44 kB / 0.5178 GB, free: 40.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003922/0.6349, allocations: 141.5 kB / 0.518 GB, free: 40.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002456/0.6374, allocations: 1.559 MB / 0.5195 GB, free: 39.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01376/0.6512, allocations: 6.928 MB / 0.5263 GB, free: 35.44 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04703/0.6983, allocations: 32.95 MB / 0.5584 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004458/0.7028, allocations: 2.156 MB / 0.5605 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001215/0.704, allocations: 0.6699 MB / 0.5612 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006765/0.7108, allocations: 3.101 MB / 0.5642 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.426e-05/0.7109, allocations: 51.12 kB / 0.5643 GB, free: 11.31 MB / 398.1 MB Notification: Performance of pre-optimization done (n=114): time 6.071e-06/0.711, allocations: 0 / 0.5643 GB, free: 11.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=134): time 0.02426/0.7352, allocations: 7.578 MB / 0.5717 GB, free: 3.613 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001511/0.7354, allocations: 269.7 kB / 0.5719 GB, free: 3.289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00977/0.7452, allocations: 4.116 MB / 0.576 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001758/0.7454, allocations: 49.7 kB / 0.576 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003132/0.7486, allocations: 2.914 MB / 0.5788 GB, free: 12.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007484/0.7493, allocations: 0.5441 MB / 0.5794 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002367/0.7517, allocations: 1.103 MB / 0.5805 GB, free: 10.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.7519, allocations: 313.1 kB / 0.5808 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002712/0.7546, allocations: 1.482 MB / 0.5822 GB, free: 8.676 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005558/0.7601, allocations: 4.941 MB / 0.587 GB, free: 1.992 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008205/0.7684, allocations: 6.899 MB / 0.5938 GB, free: 9.395 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001329/0.7685, allocations: 40 kB / 0.5938 GB, free: 9.355 MB / 430.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01303/0.7816, allocations: 6.195 MB / 0.5999 GB, free: 3.156 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001211/0.7817, allocations: 56 kB / 0.5999 GB, free: 3.102 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002046/0.7819, allocations: 128 kB / 0.6 GB, free: 2.977 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001991/0.7821, allocations: 160 kB / 0.6002 GB, free: 2.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00377/0.7859, allocations: 1.279 MB / 0.6014 GB, free: 1.539 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002904/0.7862, allocations: 239.1 kB / 0.6017 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00503/0.7912, allocations: 259.5 kB / 0.6019 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009053/0.7922, allocations: 332.1 kB / 0.6022 GB, free: 0.7266 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * Number of states: 0 () * Number of discrete variables: 30 (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],electricCylinder.bodyCylinder.color[3],electricCylinder.bodyCylinder.color[2],electricCylinder.bodyCylinder.color[1],electricCylinder.bodyCylinder.body.sphereColor[3],electricCylinder.bodyCylinder.body.sphereColor[2],electricCylinder.bodyCylinder.body.sphereColor[1],electricCylinder.bodyBox.color[3],electricCylinder.bodyBox.color[2],electricCylinder.bodyBox.color[1],electricCylinder.bodyBox.body.sphereColor[3],electricCylinder.bodyBox.body.sphereColor[2],electricCylinder.bodyBox.body.sphereColor[1],electricCylinder.prismatic.boxColor[3],electricCylinder.prismatic.boxColor[2],electricCylinder.prismatic.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (690): * Single equations (assignments): 687 * 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.004711/0.7969, allocations: 2.042 MB / 0.6042 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001139/0.798, allocations: 343.5 kB / 0.6045 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.7992, allocations: 389.6 kB / 0.6049 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/0.7992, allocations: 3.984 kB / 0.6049 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/0.7992, allocations: 0 / 0.6049 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001669/0.8009, allocations: 0.5161 MB / 0.6054 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008978/0.8018, allocations: 23.94 kB / 0.6054 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001569/0.8034, allocations: 43.97 kB / 0.6055 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/0.8036, allocations: 64.5 kB / 0.6056 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002611/0.8062, allocations: 1.634 MB / 0.6071 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003539/0.8098, allocations: 2.683 MB / 0.6098 GB, free: 8.918 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007988/0.8106, allocations: 0.5866 MB / 0.6103 GB, free: 8.336 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006197/0.8168, allocations: 2.612 MB / 0.6129 GB, free: 5.711 MB / 446.1 MB Notification: Performance of Backend: time 6.61e-07/0.8168, allocations: 0 / 0.6129 GB, free: 5.711 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008603/0.8254, allocations: 3.082 MB / 0.6159 GB, free: 2.66 MB / 446.1 MB Notification: Performance of SimCode: time 0.01752/0.8429, allocations: 8.523 MB / 0.6242 GB, free: 10.1 MB / 462.1 MB Notification: Performance of Templates: time 0.07786/0.9209, allocations: 36.73 MB / 0.6601 GB, free: 5.52 MB / 494.1 MB make -j1 -f StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.makefile (rm -f StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe ; mkfifo StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe ; head -c 1048576 < StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe >> ../files/StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.sim & ./StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe 2>&1)