Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr StewartPlatform_StewartPlatform.Tests.Trajectory_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.Trajectory_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.Trajectory_test") translateModel(StewartPlatform.Tests.Trajectory_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.Trajectory_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001212, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.348/1.348, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1557/0.1557, allocations: 6.48 MB / 296.9 MB, free: 2.684 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 59.91 kB / 358.7 MB, free: 256 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1121, allocations: 50.85 MB / 409.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Trajectory_test): time 0.006373/0.1185, allocations: 4.735 MB / 414.3 MB, free: 8.582 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006791/0.1254, allocations: 4.55 MB / 418.9 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004678/0.1259, allocations: 16 kB / 418.9 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009774/0.1269, allocations: 345.9 kB / 419.2 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004074/0.131, allocations: 1.647 MB / 420.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008047/0.1318, allocations: 331.2 kB / 421.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2041/0.3359, allocations: 5.548 MB / 426.7 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008827/0.3368, allocations: 0.7873 MB / 427.5 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.3379, allocations: 0.7886 MB / 428.3 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.3391, allocations: 1.271 MB / 429.6 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002499/0.3393, allocations: 155.5 kB / 429.7 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002054/0.3414, allocations: 1.243 MB / 431 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007279/0.3422, allocations: 1.092 MB / 432.1 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008255/0.343, allocations: 1.137 MB / 433.2 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002692/0.3457, allocations: 3.334 MB / 436.6 MB, free: 36.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3457, allocations: 0 / 436.6 MB, free: 36.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3457, allocations: 4 kB / 436.6 MB, free: 36.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.297e-05/0.3457, allocations: 3.562 kB / 436.6 MB, free: 36.32 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.006978/0.3527, allocations: 3.621 MB / 440.2 MB, free: 34.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.3528, allocations: 11.59 kB / 440.2 MB, free: 34.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002196/0.355, allocations: 434.8 kB / 440.6 MB, free: 34.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003183/0.3582, allocations: 2.565 MB / 443.2 MB, free: 33.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007808/0.359, allocations: 314.9 kB / 443.5 MB, free: 33.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.3591, allocations: 65.12 kB / 443.6 MB, free: 33.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01508/0.3742, allocations: 3.106 MB / 446.7 MB, free: 32.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/0.3743, allocations: 9.953 kB / 446.7 MB, free: 32.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000156/0.3745, allocations: 34.56 kB / 446.7 MB, free: 32.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.002e-05/0.3745, allocations: 44.75 kB / 446.7 MB, free: 32.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02753/0.4021, allocations: 4.389 MB / 451.1 MB, free: 31.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006864/0.409, allocations: 5.686 MB / 456.8 MB, free: 27.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0205/0.4295, allocations: 2.859 MB / 459.7 MB, free: 26.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01437/0.4439, allocations: 2.153 MB / 461.8 MB, free: 26.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002159/0.4442, allocations: 15 kB / 461.8 MB, free: 26.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.186e-05/0.4442, allocations: 62.61 kB / 461.9 MB, free: 26.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 3.717e-06/0.4442, allocations: 4 kB / 461.9 MB, free: 26.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.04306/0.4873, allocations: 6.2 MB / 468.1 MB, free: 25.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000201/0.4875, allocations: 0.7055 MB / 468.8 MB, free: 24.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005646/0.4932, allocations: 3.358 MB / 472.2 MB, free: 23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003561/0.4936, allocations: 38.02 kB / 472.2 MB, free: 22.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007006/0.4943, allocations: 0.9591 MB / 473.2 MB, free: 22.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002381/0.4945, allocations: 160.6 kB / 473.3 MB, free: 22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005656/0.4951, allocations: 235 kB / 473.6 MB, free: 21.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.294e-05/0.4952, allocations: 349.2 kB / 473.9 MB, free: 21.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01381/0.509, allocations: 2.288 MB / 476.2 MB, free: 20.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01426/0.5233, allocations: 2.579 MB / 478.8 MB, free: 19.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02647/0.5498, allocations: 4.109 MB / 482.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/0.5498, allocations: 0 / 482.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.02917/0.579, allocations: 4.844 MB / 487.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.4e-05/0.5791, allocations: 8 kB / 487.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.163e-05/0.5791, allocations: 8 kB / 487.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/0.5791, allocations: 8 kB / 487.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007333/0.5865, allocations: 0.8614 MB / 488.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.624e-05/0.5865, allocations: 8 kB / 488.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008502/0.595, allocations: 0.8045 MB / 489.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004302/0.5955, allocations: 43.98 kB / 489.5 MB, free: 8.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * Array equations: 1 * 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.001656/0.5972, allocations: 0.7222 MB / 490.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001203/0.5984, allocations: 229.1 kB / 490.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006269/0.599, allocations: 245.6 kB / 490.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.599, allocations: 12 kB / 490.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.5991, allocations: 4 kB / 490.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.5991, allocations: 7.984 kB / 490.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003842/0.6029, allocations: 1.694 MB / 492.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/0.6029, allocations: 4 kB / 492.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007246/0.6102, allocations: 0.7825 MB / 493.2 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.467e-05/0.6102, allocations: 8 kB / 493.2 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002268/0.6105, allocations: 15.98 kB / 493.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.267e-06/0.6105, allocations: 8 kB / 493.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.6105, allocations: 11.47 kB / 493.2 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02815/0.6386, allocations: 5.519 MB / 498.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/0.6398, allocations: 358.1 kB / 499.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001044/0.6409, allocations: 12 kB / 499.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008651/0.6495, allocations: 0.7446 MB / 499.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007561/0.6503, allocations: 204.2 kB / 0.4883 GB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002307/0.6506, allocations: 19.98 kB / 0.4883 GB, free: 13.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.004649/0.6552, allocations: 2.42 MB / 0.4907 GB, free: 11.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6553, allocations: 0 / 0.4907 GB, free: 11.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003291/0.6586, allocations: 0.7339 MB / 0.4914 GB, free: 10.77 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 0 () * 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 (44): * Single equations (assignments): 44 * Array equations: 0 * 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.001519/0.6601, allocations: 0.5156 MB / 0.4919 GB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.02998/0.6901, allocations: 4.524 MB / 0.4963 GB, free: 5.789 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/0.6901, allocations: 0 / 0.4963 GB, free: 5.789 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01587/0.706, allocations: 2.806 MB / 0.4991 GB, free: 3.012 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00689/0.7129, allocations: 1.082 MB / 0.5001 GB, free: 2.004 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/0.7286, allocations: 5.138 MB / 0.5051 GB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002089/0.7307, allocations: 1.763 MB / 0.5069 GB, free: 11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002698/0.7334, allocations: 0.5351 MB / 0.5074 GB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/0.7346, allocations: 134.4 kB / 0.5075 GB, free: 10.33 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.7346, allocations: 4 kB / 0.5075 GB, free: 10.33 MB / 382.1 MB Notification: Performance of Templates: time 0.07944/0.814, allocations: 50.12 MB / 0.5565 GB, free: 8.5 MB / 430.1 MB make -j1 -f StewartPlatform_StewartPlatform.Tests.Trajectory_test.makefile (rm -f StewartPlatform_StewartPlatform.Tests.Trajectory_test.pipe ; mkfifo StewartPlatform_StewartPlatform.Tests.Trajectory_test.pipe ; head -c 1048576 < StewartPlatform_StewartPlatform.Tests.Trajectory_test.pipe >> ../files/StewartPlatform_StewartPlatform.Tests.Trajectory_test.sim & ./StewartPlatform_StewartPlatform.Tests.Trajectory_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.Trajectory_test.pipe 2>&1)