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.001276/0.001276, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001466/0.001466, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.415/1.415, allocations: 230.6 MB / 256 MB, free: 7.801 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.03408/0.03408, allocations: 6.572 MB / 319 MB, free: 12.45 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.002004/0.002004, allocations: 67.89 kB / 444.3 MB, free: 4.391 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1079, allocations: 54.87 MB / 499.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Trajectory_test): time 0.006872/0.1148, allocations: 4.336 MB / 0.4917 GB, free: 9.078 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009393/0.1241, allocations: 4.211 MB / 0.4958 GB, free: 4.855 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/0.1253, allocations: 16 kB / 0.4958 GB, free: 4.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001514/0.1268, allocations: 337.9 kB / 0.4961 GB, free: 4.508 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004854/0.1317, allocations: 1.676 MB / 0.4978 GB, free: 2.828 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008765/0.1325, allocations: 323.2 kB / 0.4981 GB, free: 2.512 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007916/0.1404, allocations: 6.073 MB / 0.504 GB, free: 12.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008608/0.1413, allocations: 409.4 kB / 0.5044 GB, free: 12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.1428, allocations: 0.8017 MB / 0.5052 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002317/0.1451, allocations: 1.331 MB / 0.5065 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006871/0.1458, allocations: 156 kB / 0.5066 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002986/0.1488, allocations: 1.092 MB / 0.5077 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001573/0.1504, allocations: 1.114 MB / 0.5088 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001922/0.1523, allocations: 0.9014 MB / 0.5097 GB, free: 6.594 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005678/0.158, allocations: 3.359 MB / 0.513 GB, free: 3.223 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.158, allocations: 0 / 0.513 GB, free: 3.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.158, allocations: 0 / 0.513 GB, free: 3.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001114/0.1581, allocations: 3.938 kB / 0.513 GB, free: 3.219 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.2685/0.4266, allocations: 3.638 MB / 0.5165 GB, free: 29.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.4266, allocations: 9.531 kB / 0.5165 GB, free: 29.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002464/0.4291, allocations: 456.5 kB / 0.517 GB, free: 29.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004079/0.4332, allocations: 2.528 MB / 0.5194 GB, free: 29.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000555/0.4337, allocations: 0.5468 MB / 0.52 GB, free: 28.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.4339, allocations: 74.47 kB / 0.52 GB, free: 28.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008362/0.4422, allocations: 3.131 MB / 0.5231 GB, free: 28.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.4423, allocations: 6.125 kB / 0.5231 GB, free: 28.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.4424, allocations: 29.53 kB / 0.5231 GB, free: 28.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.326e-05/0.4425, allocations: 45.08 kB / 0.5232 GB, free: 28.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01361/0.4561, allocations: 4.096 MB / 0.5272 GB, free: 28.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005801/0.4619, allocations: 4.751 MB / 0.5318 GB, free: 24.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007599/0.4695, allocations: 2.606 MB / 0.5343 GB, free: 23.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006047/0.4755, allocations: 1.986 MB / 0.5363 GB, free: 22.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.4756, allocations: 17.03 kB / 0.5363 GB, free: 22.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.354e-05/0.4757, allocations: 58.34 kB / 0.5364 GB, free: 22.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 3.918e-06/0.4757, allocations: 0 / 0.5364 GB, free: 22.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.01908/0.4948, allocations: 5.855 MB / 0.5421 GB, free: 19.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001618/0.4949, allocations: 0.6966 MB / 0.5428 GB, free: 18.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004843/0.4998, allocations: 3.101 MB / 0.5458 GB, free: 15.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001311/0.4999, allocations: 37.7 kB / 0.5458 GB, free: 15.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006478/0.5005, allocations: 0.9616 MB / 0.5468 GB, free: 14.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.5007, allocations: 176.9 kB / 0.5469 GB, free: 14.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005599/0.5013, allocations: 258.1 kB / 0.5472 GB, free: 14.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.127e-05/0.5014, allocations: 349.9 kB / 0.5475 GB, free: 14.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005816/0.5072, allocations: 2.135 MB / 0.5496 GB, free: 12.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005929/0.5131, allocations: 2.627 MB / 0.5522 GB, free: 9.277 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01101/0.5241, allocations: 4.014 MB / 0.5561 GB, free: 5.215 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-05/0.5241, allocations: 0 / 0.5561 GB, free: 5.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01269/0.5368, allocations: 4.646 MB / 0.5606 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.5369, allocations: 8 kB / 0.5606 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.5369, allocations: 8 kB / 0.5606 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.908e-05/0.5369, allocations: 8.281 kB / 0.5606 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003447/0.5404, allocations: 0.8346 MB / 0.5615 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.025e-05/0.5404, allocations: 11.98 kB / 0.5615 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004797/0.5452, allocations: 0.7569 MB / 0.5622 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001813/0.5454, allocations: 39.98 kB / 0.5622 GB, free: 14.91 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.001559/0.5469, allocations: 0.722 MB / 0.5629 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001113/0.548, allocations: 218.5 kB / 0.5632 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006103/0.5486, allocations: 224.3 kB / 0.5634 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.5487, allocations: 12 kB / 0.5634 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/0.5487, allocations: 4 kB / 0.5634 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.5487, allocations: 8 kB / 0.5634 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003433/0.5521, allocations: 1.085 MB / 0.5645 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.5521, allocations: 4 kB / 0.5645 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003291/0.5554, allocations: 0.7527 MB / 0.5652 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/0.5554, allocations: 8 kB / 0.5652 GB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.982e-05/0.5555, allocations: 15.98 kB / 0.5652 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.207e-06/0.5555, allocations: 9.125 kB / 0.5652 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.5555, allocations: 7.938 kB / 0.5652 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0136/0.5691, allocations: 5.307 MB / 0.5704 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009822/0.5701, allocations: 264.7 kB / 0.5707 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007182/0.5708, allocations: 19.73 kB / 0.5707 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004611/0.5755, allocations: 0.7254 MB / 0.5714 GB, free: 5.484 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004777/0.5759, allocations: 179.6 kB / 0.5716 GB, free: 5.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.249e-05/0.576, allocations: 19.98 kB / 0.5716 GB, free: 5.289 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00423/0.5803, allocations: 2.235 MB / 0.5738 GB, free: 3.043 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5803, allocations: 0 / 0.5738 GB, free: 3.043 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002978/0.5832, allocations: 0.7044 MB / 0.5745 GB, free: 2.387 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.001439/0.5847, allocations: 0.5362 MB / 0.575 GB, free: 1.855 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0137/0.5984, allocations: 4.165 MB / 0.579 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/0.5984, allocations: 4 kB / 0.579 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007519/0.6059, allocations: 2.545 MB / 0.5815 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00596/0.6119, allocations: 0.9751 MB / 0.5825 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01308/0.6249, allocations: 5.065 MB / 0.5874 GB, free: 5.062 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002202/0.6271, allocations: 1.183 MB / 0.5886 GB, free: 3.848 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002273/0.6294, allocations: 0.491 MB / 0.5891 GB, free: 3.363 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009469/0.6304, allocations: 131.4 kB / 0.5892 GB, free: 3.234 MB / 414.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6304, allocations: 0 / 0.5892 GB, free: 3.234 MB / 414.1 MB Notification: Performance of Templates: time 0.07447/0.7048, allocations: 48.06 MB / 0.6361 GB, free: 3.613 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.046369895339012] Failed to read output from testmodel.py, exit status != 0: 0.7131482902914286 0.728415187 0.567206647 Calling exit ...