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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 110.4 kB / 18.94 MB, free: 2.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 221.7 kB / 22.25 MB, free: 5.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.454/1.454, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.03543/0.03543, allocations: 6.569 MB / 319 MB, free: 12.62 MB / 254.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(StewartPlatform.Tests.Trajectory_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.Trajectory_test") translateModel(StewartPlatform.Tests.Trajectory_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.Trajectory_test") [Timeout 660] "Notification: StewartPlatform requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 68.19 kB / 444.4 MB, free: 4.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1066, allocations: 54.87 MB / 499.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Trajectory_test): time 0.006996/0.1136, allocations: 4.796 MB / 0.4922 GB, free: 9.016 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007747/0.1214, allocations: 4.646 MB / 0.4968 GB, free: 4.355 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006706/0.122, allocations: 16 kB / 0.4968 GB, free: 4.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.1232, allocations: 365.7 kB / 0.4971 GB, free: 3.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004439/0.1276, allocations: 1.661 MB / 0.4987 GB, free: 2.316 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008193/0.1284, allocations: 327.2 kB / 0.499 GB, free: 1.996 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008712/0.1371, allocations: 6.06 MB / 0.505 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008712/0.138, allocations: 421.4 kB / 0.5054 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001342/0.1393, allocations: 0.8095 MB / 0.5062 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002235/0.1416, allocations: 1.37 MB / 0.5075 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005164/0.1421, allocations: 156 kB / 0.5076 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003069/0.1452, allocations: 1.314 MB / 0.5089 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001495/0.1467, allocations: 1.118 MB / 0.51 GB, free: 6.715 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001825/0.1485, allocations: 1.13 MB / 0.5111 GB, free: 5.578 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005142/0.1536, allocations: 3.398 MB / 0.5144 GB, free: 2.168 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1536, allocations: 4 kB / 0.5144 GB, free: 2.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1536, allocations: 0 / 0.5144 GB, free: 2.164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.38e-05/0.1537, allocations: 0 / 0.5144 GB, free: 2.164 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.2124/0.3661, allocations: 3.628 MB / 0.518 GB, free: 29.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.3661, allocations: 10.78 kB / 0.518 GB, free: 29.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002334/0.3684, allocations: 450.8 kB / 0.5184 GB, free: 29.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004365/0.3728, allocations: 2.534 MB / 0.5209 GB, free: 29.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005783/0.3734, allocations: 0.5583 MB / 0.5214 GB, free: 28.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.3735, allocations: 65.28 kB / 0.5215 GB, free: 28.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007671/0.3812, allocations: 2.91 MB / 0.5244 GB, free: 28.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.3812, allocations: 4.844 kB / 0.5244 GB, free: 28.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.3814, allocations: 35.86 kB / 0.5244 GB, free: 28.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.567e-05/0.3814, allocations: 40.27 kB / 0.5244 GB, free: 28.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0133/0.3947, allocations: 4.095 MB / 0.5284 GB, free: 28.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005826/0.4005, allocations: 5.403 MB / 0.5337 GB, free: 24.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007318/0.4079, allocations: 2.61 MB / 0.5363 GB, free: 22.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005806/0.4137, allocations: 1.987 MB / 0.5382 GB, free: 21.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/0.4138, allocations: 18.61 kB / 0.5382 GB, free: 21.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.4138, allocations: 55.44 kB / 0.5383 GB, free: 21.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 3.267e-06/0.4138, allocations: 0 / 0.5383 GB, free: 21.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.01869/0.4325, allocations: 5.871 MB / 0.544 GB, free: 19.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001919/0.4327, allocations: 0.7009 MB / 0.5447 GB, free: 18.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005012/0.4377, allocations: 3.361 MB / 0.548 GB, free: 14.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001711/0.4379, allocations: 37.7 kB / 0.548 GB, free: 14.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006267/0.4385, allocations: 0.9671 MB / 0.5489 GB, free: 13.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.4388, allocations: 160.4 kB / 0.5491 GB, free: 13.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005001/0.4393, allocations: 242.3 kB / 0.5493 GB, free: 13.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.686e-05/0.4393, allocations: 345.9 kB / 0.5497 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005807/0.4451, allocations: 2.14 MB / 0.5518 GB, free: 11.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005941/0.4511, allocations: 2.423 MB / 0.5541 GB, free: 8.605 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01096/0.462, allocations: 4.017 MB / 0.558 GB, free: 4.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/0.462, allocations: 4 kB / 0.558 GB, free: 4.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01317/0.4752, allocations: 4.665 MB / 0.5626 GB, free: 15.85 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.4752, allocations: 9.969 kB / 0.5626 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.4753, allocations: 4 kB / 0.5626 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.635e-05/0.4753, allocations: 16.27 kB / 0.5626 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00393/0.4792, allocations: 0.8345 MB / 0.5634 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-05/0.4793, allocations: 12 kB / 0.5635 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005072/0.4843, allocations: 0.7795 MB / 0.5642 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002534/0.4846, allocations: 42.11 kB / 0.5643 GB, free: 14.16 MB / 398.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.001484/0.4861, allocations: 0.712 MB / 0.565 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001117/0.4872, allocations: 246.4 kB / 0.5652 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006063/0.4878, allocations: 241.6 kB / 0.5654 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.4878, allocations: 8.656 kB / 0.5654 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/0.4878, allocations: 8 kB / 0.5654 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.4878, allocations: 7.984 kB / 0.5654 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003652/0.4915, allocations: 1.53 MB / 0.5669 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/0.4915, allocations: 8 kB / 0.5669 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003553/0.495, allocations: 0.7527 MB / 0.5677 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.459e-05/0.4951, allocations: 8 kB / 0.5677 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.4952, allocations: 19.98 kB / 0.5677 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.939e-06/0.4952, allocations: 8 kB / 0.5677 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.4952, allocations: 11.92 kB / 0.5677 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01413/0.5093, allocations: 5.335 MB / 0.5729 GB, free: 5.176 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/0.5103, allocations: 298 kB / 0.5732 GB, free: 4.887 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00065/0.511, allocations: 15.98 kB / 0.5732 GB, free: 4.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004704/0.5157, allocations: 0.7221 MB / 0.5739 GB, free: 4.148 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005016/0.5162, allocations: 180.5 kB / 0.5741 GB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/0.5163, allocations: 27.98 kB / 0.5741 GB, free: 3.945 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.004612/0.5209, allocations: 2.42 MB / 0.5765 GB, free: 1.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5209, allocations: 3.938 kB / 0.5765 GB, free: 1.516 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002967/0.5239, allocations: 0.6828 MB / 0.5772 GB, free: 0.832 MB / 398.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.001398/0.5253, allocations: 0.5294 MB / 0.5777 GB, free: 300 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01405/0.5393, allocations: 4.165 MB / 0.5818 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/0.5393, allocations: 0 / 0.5818 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007854/0.5472, allocations: 2.553 MB / 0.5842 GB, free: 9.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006591/0.5538, allocations: 1.088 MB / 0.5853 GB, free: 8.547 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01395/0.5677, allocations: 5.089 MB / 0.5903 GB, free: 3.367 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002245/0.57, allocations: 1.764 MB / 0.592 GB, free: 1.578 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002403/0.5724, allocations: 0.51 MB / 0.5925 GB, free: 1.066 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/0.5734, allocations: 139.4 kB / 0.5926 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5734, allocations: 0 / 0.5926 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of Templates: time 0.08231/0.6557, allocations: 45.35 MB / 0.6369 GB, free: 3.801 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f StewartPlatform_StewartPlatform.Tests.Trajectory_test.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.195974368834868] Failed to read output from testmodel.py, exit status != 0: 0.6643074499443173 0.6806655149999999 0.523679736 Calling exit ...