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.0009346/0.0009346, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.0009171/0.0009171, allocations: 173 kB / 23.5 MB, free: 1.055 MB / 18.57 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 0.8972/0.8972, allocations: 177.1 MB / 203.8 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.02021/0.02021, allocations: 5.075 MB / 265.4 MB, free: 8.152 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 336.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.584e-05/1.734e-05, allocations: 2.312 kB / 336.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Trajectory_test): time 0.00334/0.003357, allocations: 4.688 MB / 340.9 MB, free: 8.691 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003704/0.007061, allocations: 4.485 MB / 345.4 MB, free: 4.195 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002057/0.007266, allocations: 16 kB / 345.4 MB, free: 4.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005307/0.007797, allocations: 341.8 kB / 345.7 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001738/0.009535, allocations: 1.723 MB / 347.4 MB, free: 2.113 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.009817, allocations: 339.1 kB / 347.8 MB, free: 1.781 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003742/0.01356, allocations: 6.119 MB / 353.9 MB, free: 11.65 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004421/0.014, allocations: 409.5 kB / 354.3 MB, free: 11.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007073/0.01471, allocations: 1.06 MB / 355.4 MB, free: 10.16 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008926/0.0156, allocations: 1.239 MB / 356.6 MB, free: 8.922 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001644/0.01577, allocations: 156 kB / 356.8 MB, free: 8.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.01691, allocations: 1.095 MB / 357.8 MB, free: 7.672 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006698/0.01758, allocations: 1.149 MB / 359 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005152/0.01809, allocations: 0.7284 MB / 359.7 MB, free: 5.789 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001996/0.02009, allocations: 2.799 MB / 362.5 MB, free: 2.98 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.02009, allocations: 0 / 362.5 MB, free: 2.98 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.02009, allocations: 0 / 362.5 MB, free: 2.98 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.529e-05/0.02011, allocations: 4 kB / 362.5 MB, free: 2.977 MB / 282.7 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.003588/0.0237, allocations: 3.478 MB / 366 MB, free: 15.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.02373, allocations: 8.031 kB / 366 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.02498, allocations: 0.5185 MB / 366.5 MB, free: 14.92 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002024/0.027, allocations: 1.909 MB / 368.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003224/0.02732, allocations: 0.5162 MB / 369 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.02743, allocations: 72.36 kB / 369 MB, free: 12.28 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.02896, allocations: 1.404 MB / 370.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.02898, allocations: 11.92 kB / 370.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.462e-05/0.02905, allocations: 32 kB / 370.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.961e-05/0.02909, allocations: 43.98 kB / 370.5 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008682/0.02996, allocations: 386.7 kB / 370.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003302/0.03326, allocations: 6.064 MB / 377 MB, free: 3.934 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006677/0.03393, allocations: 0.6093 MB / 377.6 MB, free: 3.098 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000418/0.03435, allocations: 282.3 kB / 377.8 MB, free: 2.746 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.314e-05/0.03442, allocations: 23.94 kB / 377.9 MB, free: 2.723 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.03445, allocations: 61.81 kB / 377.9 MB, free: 2.652 MB / 298.7 MB Notification: Performance of pre-optimization done (n=44): time 1.763e-06/0.03445, allocations: 0 / 377.9 MB, free: 2.652 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.001565/0.03602, allocations: 0.7159 MB / 378.6 MB, free: 1.934 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001799/0.0362, allocations: 0.7011 MB / 379.3 MB, free: 1.066 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00204/0.03824, allocations: 2.367 MB / 381.7 MB, free: 14.67 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.418e-05/0.0383, allocations: 33.7 kB / 381.7 MB, free: 14.63 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006364/0.03894, allocations: 1.115 MB / 382.9 MB, free: 13.51 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.03907, allocations: 170.6 kB / 383 MB, free: 13.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003272/0.0394, allocations: 272 kB / 383.3 MB, free: 13.06 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.03959, allocations: 0.5277 MB / 383.8 MB, free: 12.53 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004972/0.04009, allocations: 214 kB / 384 MB, free: 12.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007052/0.04079, allocations: 0.7327 MB / 384.8 MB, free: 11.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008465/0.04164, allocations: 0.6307 MB / 385.4 MB, free: 10.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.04164, allocations: 8 kB / 385.4 MB, free: 10.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001483/0.04313, allocations: 0.9255 MB / 386.3 MB, free: 9.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.04314, allocations: 8 kB / 386.3 MB, free: 9.742 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.04315, allocations: 4 kB / 386.3 MB, free: 9.738 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.04317, allocations: 12 kB / 386.3 MB, free: 9.727 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.04421, allocations: 483.4 kB / 386.8 MB, free: 9.254 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.04422, allocations: 8 kB / 386.8 MB, free: 9.246 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.04546, allocations: 407.3 kB / 387.2 MB, free: 8.848 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-05/0.04554, allocations: 43.92 kB / 387.3 MB, free: 8.805 MB / 314.7 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.0003026/0.04584, allocations: 208.3 kB / 387.5 MB, free: 8.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000383/0.04623, allocations: 242.5 kB / 387.7 MB, free: 8.352 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001534/0.04638, allocations: 187.6 kB / 387.9 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.04639, allocations: 8 kB / 387.9 MB, free: 8.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.04639, allocations: 8 kB / 387.9 MB, free: 8.152 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.0464, allocations: 4 kB / 387.9 MB, free: 8.148 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.04791, allocations: 1.211 MB / 389.1 MB, free: 6.902 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.04791, allocations: 4 kB / 389.1 MB, free: 6.898 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007974/0.04871, allocations: 391.5 kB / 389.5 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.04872, allocations: 8 kB / 389.5 MB, free: 6.508 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.792e-05/0.04876, allocations: 19.98 kB / 389.5 MB, free: 6.488 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.04877, allocations: 7.938 kB / 389.5 MB, free: 6.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.04877, allocations: 8 kB / 389.6 MB, free: 6.473 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/0.05027, allocations: 2.708 MB / 392.3 MB, free: 3.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002485/0.05052, allocations: 258.4 kB / 392.5 MB, free: 3.477 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002113/0.05073, allocations: 12 kB / 392.5 MB, free: 3.465 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/0.05207, allocations: 375.5 kB / 392.9 MB, free: 3.098 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00027/0.05234, allocations: 147.6 kB / 393 MB, free: 2.953 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-05/0.05239, allocations: 20 kB / 393.1 MB, free: 2.934 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001293/0.05368, allocations: 1.38 MB / 394.4 MB, free: 1.543 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05368, allocations: 4 kB / 394.4 MB, free: 1.539 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001518/0.0552, allocations: 0.702 MB / 395.1 MB, free: 0.8359 MB / 314.7 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.0007387/0.05594, allocations: 0.5491 MB / 395.7 MB, free: 280 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001103/0.05704, allocations: 0.525 MB / 396.2 MB, free: 15.74 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.05705, allocations: 4 kB / 396.2 MB, free: 15.74 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004559/0.0575, allocations: 219.2 kB / 396.4 MB, free: 15.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002616/0.06012, allocations: 1.048 MB / 397.5 MB, free: 14.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005545/0.06566, allocations: 4.137 MB / 401.6 MB, free: 10.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.06608, allocations: 0.528 MB / 402.1 MB, free: 9.703 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007906/0.06687, allocations: 359.2 kB / 402.5 MB, free: 9.348 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004703/0.06734, allocations: 128.5 kB / 402.6 MB, free: 9.219 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.06734, allocations: 0 / 402.6 MB, free: 9.219 MB / 330.7 MB Notification: Performance of Templates: time 0.1454/0.2128, allocations: 45.44 MB / 448.1 MB, free: 51.98 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.Trajectory_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5571263839956373]