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.001156/0.001156, allocations: 110.8 kB / 16.37 MB, free: 6.004 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.00119/0.00119, allocations: 195.8 kB / 17.31 MB, free: 5.613 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.304/1.304, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.03098/0.03098, allocations: 6.493 MB / 297.7 MB, free: 8.398 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.89 kB / 360.2 MB, free: 9.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1844, allocations: 50.86 MB / 411 MB, free: 28.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Trajectory_test): time 0.004865/0.1893, allocations: 4.731 MB / 415.8 MB, free: 23.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005093/0.1944, allocations: 4.548 MB / 420.3 MB, free: 19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006077/0.1951, allocations: 16 kB / 420.3 MB, free: 18.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008089/0.1959, allocations: 357.9 kB / 420.7 MB, free: 18.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002922/0.1989, allocations: 1.64 MB / 422.3 MB, free: 16.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005147/0.1994, allocations: 335.2 kB / 422.7 MB, free: 16.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004197/0.2036, allocations: 5.567 MB / 428.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000674/0.2043, allocations: 0.7779 MB / 429 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006253/0.2049, allocations: 0.7861 MB / 429.8 MB, free: 9.496 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009551/0.2059, allocations: 1.273 MB / 431.1 MB, free: 8.219 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002045/0.2061, allocations: 156 kB / 431.2 MB, free: 8.066 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/0.2077, allocations: 1.255 MB / 432.5 MB, free: 6.809 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000649/0.2084, allocations: 1.087 MB / 433.6 MB, free: 5.719 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007069/0.2091, allocations: 1.134 MB / 434.7 MB, free: 4.578 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00223/0.2114, allocations: 3.372 MB / 438.1 MB, free: 1.195 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2114, allocations: 0 / 438.1 MB, free: 1.195 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2114, allocations: 0 / 438.1 MB, free: 1.195 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.042e-05/0.2114, allocations: 0 / 438.1 MB, free: 1.195 MB / 302.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.007384/0.2188, allocations: 3.623 MB / 441.7 MB, free: 13.51 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.2188, allocations: 8.031 kB / 441.7 MB, free: 13.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002231/0.2211, allocations: 445.5 kB / 442.1 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003944/0.225, allocations: 2.57 MB / 444.7 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000462/0.2255, allocations: 309.2 kB / 445 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.2257, allocations: 68.38 kB / 445.1 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00699/0.2327, allocations: 2.905 MB / 448 MB, free: 7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.2327, allocations: 4 kB / 448 MB, free: 6.996 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.2328, allocations: 31.94 kB / 448 MB, free: 6.965 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.858e-05/0.2329, allocations: 39.98 kB / 448 MB, free: 6.926 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01205/0.2449, allocations: 4.108 MB / 452.2 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00611/0.2511, allocations: 5.435 MB / 457.6 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007322/0.2584, allocations: 2.625 MB / 460.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00576/0.2642, allocations: 2.001 MB / 462.2 MB, free: 8.355 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.2643, allocations: 15.97 kB / 462.2 MB, free: 8.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/0.2644, allocations: 58.88 kB / 462.3 MB, free: 8.273 MB / 334.1 MB Notification: Performance of pre-optimization done (n=44): time 1.339e-05/0.2644, allocations: 0 / 462.3 MB, free: 8.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.01845/0.2828, allocations: 5.863 MB / 468.2 MB, free: 2.395 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002551/0.2831, allocations: 0.6972 MB / 468.9 MB, free: 1.531 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00469/0.2878, allocations: 3.358 MB / 472.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001421/0.288, allocations: 37.7 kB / 472.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000756/0.2887, allocations: 0.9612 MB / 473.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000183/0.2889, allocations: 157.8 kB / 473.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004975/0.2894, allocations: 234.2 kB / 473.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.2896, allocations: 353.9 kB / 473.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006064/0.2956, allocations: 2.136 MB / 476.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006288/0.3019, allocations: 2.431 MB / 478.5 MB, free: 7.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/0.3132, allocations: 4.02 MB / 482.5 MB, free: 3.652 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.3132, allocations: 4 kB / 482.5 MB, free: 3.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01323/0.3264, allocations: 4.633 MB / 487.2 MB, free: 15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.3265, allocations: 15.31 kB / 487.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.3265, allocations: 4 kB / 487.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/0.3266, allocations: 8 kB / 487.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003547/0.3301, allocations: 0.8347 MB / 488 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.362e-05/0.3301, allocations: 11.94 kB / 488 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004253/0.3344, allocations: 0.7872 MB / 488.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001791/0.3346, allocations: 36 kB / 488.9 MB, free: 13.31 MB / 366.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.001153/0.3358, allocations: 0.7286 MB / 489.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008628/0.3366, allocations: 230.1 kB / 489.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004988/0.3371, allocations: 237.6 kB / 490 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/0.3372, allocations: 8 kB / 490 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.3372, allocations: 4 kB / 490.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.759e-05/0.3372, allocations: 15.98 kB / 490.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003015/0.3402, allocations: 1.568 MB / 491.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.597e-06/0.3402, allocations: 4 kB / 491.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003052/0.3433, allocations: 0.7566 MB / 492.4 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/0.3433, allocations: 8 kB / 492.4 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.474e-05/0.3434, allocations: 15.98 kB / 492.4 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/0.3434, allocations: 4 kB / 492.4 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.3434, allocations: 7.938 kB / 492.4 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01202/0.3555, allocations: 5.328 MB / 497.8 MB, free: 4.281 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008196/0.3563, allocations: 358.1 kB / 498.1 MB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005417/0.3569, allocations: 23.98 kB / 498.1 MB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004195/0.3611, allocations: 0.7137 MB / 498.8 MB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000462/0.3615, allocations: 179.7 kB / 499 MB, free: 2.996 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.996e-05/0.3616, allocations: 20 kB / 499 MB, free: 2.977 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003847/0.3655, allocations: 2.42 MB / 0.4897 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3655, allocations: 0 / 0.4897 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002442/0.368, allocations: 0.6753 MB / 0.4904 GB, free: 15.87 MB / 382.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.001294/0.3693, allocations: 0.5218 MB / 0.4909 GB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0133/0.3826, allocations: 4.206 MB / 0.495 GB, free: 11.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.3826, allocations: 4.062 kB / 0.495 GB, free: 11.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006793/0.3894, allocations: 2.556 MB / 0.4975 GB, free: 8.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005784/0.3952, allocations: 1.071 MB / 0.4985 GB, free: 7.562 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.4068, allocations: 5.025 MB / 0.5034 GB, free: 2.441 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001719/0.4086, allocations: 1.76 MB / 0.5052 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001889/0.4105, allocations: 0.5202 MB / 0.5057 GB, free: 124 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1529/0.5634, allocations: 138.4 kB / 0.5058 GB, free: 93.05 MB / 382.1 MB Notification: Performance of SimCode: time 1.683e-06/0.5635, allocations: 0 / 0.5058 GB, free: 93.05 MB / 382.1 MB Notification: Performance of Templates: time 0.05603/0.6195, allocations: 44.06 MB / 0.5488 GB, free: 59.08 MB / 382.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 -s gbode -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.Trajectory_test.pipe 2>&1)