Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr StewartPlatform_StewartPlatform.Tests.ElectricCylinder_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.001297/0.001297, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001639/0.001639, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.98 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.03587/0.03587, allocations: 6.567 MB / 319 MB, free: 12.65 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.ElectricCylinder_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test") translateModel(StewartPlatform.Tests.ElectricCylinder_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ElectricCylinder_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.002089/0.002089, allocations: 71.89 kB / 444.4 MB, free: 4.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09946/0.1016, allocations: 54.87 MB / 499.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.01405/0.1156, allocations: 11.69 MB / 0.499 GB, free: 2.121 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009201/0.1248, allocations: 4.463 MB / 0.5033 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001956/0.1268, allocations: 87.5 kB / 0.5034 GB, free: 13.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005327/0.1321, allocations: 2.464 MB / 0.5058 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005287/0.1374, allocations: 1.981 MB / 0.5077 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.1392, allocations: 0.7644 MB / 0.5085 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008508/0.1477, allocations: 5.657 MB / 0.514 GB, free: 2.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2308/0.3785, allocations: 2.899 MB / 0.5168 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003039/0.3816, allocations: 1.705 MB / 0.5185 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003803/0.3854, allocations: 2.425 MB / 0.5209 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001117/0.3865, allocations: 399.8 kB / 0.5213 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002451/0.3889, allocations: 1.18 MB / 0.5224 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002224/0.3912, allocations: 2 MB / 0.5244 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003152/0.3943, allocations: 2.273 MB / 0.5266 GB, free: 7.594 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0099/0.4042, allocations: 7.392 MB / 0.5338 GB, free: 6.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.4042, allocations: 0 / 0.5338 GB, free: 6.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.4042, allocations: 4.812 kB / 0.5338 GB, free: 6.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003239/0.4045, allocations: 0 / 0.5338 GB, free: 6.574 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: 1308 * Number of variables: 1308 Notification: Performance of Generate backend data structure: time 0.01495/0.4195, allocations: 4.764 MB / 0.5385 GB, free: 4.637 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.4195, allocations: 12.34 kB / 0.5385 GB, free: 4.637 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01926/0.4388, allocations: 2.828 MB / 0.5412 GB, free: 3.906 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009375/0.4482, allocations: 3.56 MB / 0.5447 GB, free: 1.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001781/0.4484, allocations: 209.8 kB / 0.5449 GB, free: 1.734 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001797/0.4502, allocations: 301.6 kB / 0.5452 GB, free: 1.656 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01684/0.467, allocations: 8.528 MB / 0.5535 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001883/0.4672, allocations: 55.02 kB / 0.5536 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005041/0.4677, allocations: 135.3 kB / 0.5537 GB, free: 12.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002261/0.4699, allocations: 1.562 MB / 0.5552 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01503/0.485, allocations: 6.924 MB / 0.562 GB, free: 5.605 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04675/0.5317, allocations: 32.91 MB / 0.5941 GB, free: 4.078 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004295/0.536, allocations: 1.625 MB / 0.5957 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.537, allocations: 0.6131 MB / 0.5963 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00552/0.5425, allocations: 2.639 MB / 0.5989 GB, free: 15.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/0.5426, allocations: 47 kB / 0.5989 GB, free: 15.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=114): time 3.386e-06/0.5426, allocations: 0 / 0.5989 GB, free: 15.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=134): time 0.02024/0.5628, allocations: 7.633 MB / 0.6064 GB, free: 7.445 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002076/0.563, allocations: 276.8 kB / 0.6067 GB, free: 7.117 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00926/0.5723, allocations: 4.126 MB / 0.6107 GB, free: 2.965 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002986/0.5726, allocations: 45.7 kB / 0.6107 GB, free: 2.914 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003194/0.5758, allocations: 3.039 MB / 0.6137 GB, free: 15.89 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009086/0.5767, allocations: 0.5589 MB / 0.6142 GB, free: 15.34 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00234/0.579, allocations: 1.119 MB / 0.6153 GB, free: 14.21 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.5792, allocations: 305.1 kB / 0.6156 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002856/0.5821, allocations: 1.479 MB / 0.6171 GB, free: 12.42 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007143/0.5892, allocations: 4.947 MB / 0.6219 GB, free: 5.801 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009739/0.5989, allocations: 6.898 MB / 0.6286 GB, free: 13.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001101/0.5991, allocations: 39.38 kB / 0.6287 GB, free: 13.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01348/0.6125, allocations: 6.223 MB / 0.6348 GB, free: 7.52 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001132/0.6126, allocations: 56 kB / 0.6348 GB, free: 7.465 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002046/0.6129, allocations: 124 kB / 0.6349 GB, free: 7.344 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001981/0.613, allocations: 160 kB / 0.6351 GB, free: 7.188 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004896/0.6179, allocations: 1.283 MB / 0.6363 GB, free: 5.902 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003846/0.6183, allocations: 242.8 kB / 0.6366 GB, free: 5.668 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005309/0.6236, allocations: 267.9 kB / 0.6368 GB, free: 5.406 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009525/0.6246, allocations: 336 kB / 0.6371 GB, free: 5.078 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * Number of states: 0 () * Number of discrete variables: 30 (pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],electricCylinder.bodyCylinder.color[3],electricCylinder.bodyCylinder.color[2],electricCylinder.bodyCylinder.color[1],electricCylinder.bodyCylinder.body.sphereColor[3],electricCylinder.bodyCylinder.body.sphereColor[2],electricCylinder.bodyCylinder.body.sphereColor[1],electricCylinder.bodyBox.color[3],electricCylinder.bodyBox.color[2],electricCylinder.bodyBox.color[1],electricCylinder.bodyBox.body.sphereColor[3],electricCylinder.bodyBox.body.sphereColor[2],electricCylinder.bodyBox.body.sphereColor[1],electricCylinder.prismatic.boxColor[3],electricCylinder.prismatic.boxColor[2],electricCylinder.prismatic.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (690): * Single equations (assignments): 687 * Array equations: 3 * 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.004732/0.6293, allocations: 2.026 MB / 0.6391 GB, free: 3.039 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009328/0.6303, allocations: 361.6 kB / 0.6395 GB, free: 2.684 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.6314, allocations: 381.5 kB / 0.6398 GB, free: 2.305 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.152e-05/0.6315, allocations: 19.94 kB / 0.6398 GB, free: 2.285 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/0.6315, allocations: 4 kB / 0.6398 GB, free: 2.281 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.735e-05/0.6315, allocations: 7.984 kB / 0.6399 GB, free: 2.273 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01371/0.6452, allocations: 5.281 MB / 0.645 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-05/0.6453, allocations: 12 kB / 0.645 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009989/0.6462, allocations: 231.6 kB / 0.6452 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.689e-05/0.6463, allocations: 23.94 kB / 0.6453 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001381/0.6464, allocations: 39.98 kB / 0.6453 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-05/0.6465, allocations: 27.88 kB / 0.6453 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.478e-05/0.6465, allocations: 15.94 kB / 0.6453 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004497/0.651, allocations: 2.91 MB / 0.6482 GB, free: 9.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001838/0.6528, allocations: 474.4 kB / 0.6486 GB, free: 8.875 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001033/0.6539, allocations: 46.25 kB / 0.6487 GB, free: 8.832 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001834/0.6557, allocations: 51.97 kB / 0.6487 GB, free: 8.781 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000227/0.6559, allocations: 119.5 kB / 0.6488 GB, free: 8.664 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.656, allocations: 55.98 kB / 0.6489 GB, free: 8.609 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006305/0.6623, allocations: 2.604 MB / 0.6514 GB, free: 5.992 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6623, allocations: 0 / 0.6514 GB, free: 5.992 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006213/0.6685, allocations: 0.8349 MB / 0.6523 GB, free: 5.16 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 2 (electricCylinder.prismatic.s,electricCylinder.prismatic.v) * 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 (118): * Single equations (assignments): 115 * Array equations: 3 * 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.000704/0.6692, allocations: 177.1 kB / 0.6524 GB, free: 4.98 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00655/0.6758, allocations: 3.278 MB / 0.6556 GB, free: 1.734 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/0.6758, allocations: 0 / 0.6556 GB, free: 1.734 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.677, allocations: 0.6233 MB / 0.6562 GB, free: 1.113 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004472/0.6814, allocations: 0.5213 MB / 0.6567 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02185/0.7033, allocations: 8.344 MB / 0.6649 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006345/0.7096, allocations: 3.105 MB / 0.6679 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004434/0.7141, allocations: 1.627 MB / 0.6695 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007439/0.7148, allocations: 227.4 kB / 0.6697 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of SimCode: time 1.042e-06/0.7148, allocations: 4 kB / 0.6697 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of Templates: time 0.06949/0.7843, allocations: 29.6 MB / 0.6986 GB, free: 5.754 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.makefile [Timeout 660] (rm -f StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe ; mkfifo StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe ; head -c 1048576 < StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe >> ../files/StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.sim & ./StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.5941895169671625] Failed to read output from testmodel.py, exit status != 0: 0.7931419198866934 0.809084043 0.40142521000000003 Calling exit ...