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.001599/0.001599, allocations: 77.23 kB / 19.76 MB, free: 2.031 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.001751/0.001751, allocations: 158.4 kB / 23.01 MB, free: 4.941 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.358/1.358, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 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.03144/0.03144, allocations: 5.084 MB / 264.9 MB, free: 11.69 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.002015/0.002015, allocations: 63.91 kB / 390.2 MB, free: 13.9 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09644/0.09845, allocations: 54.83 MB / 445 MB, free: 6.973 MB / 414.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.01253/0.111, allocations: 10.22 MB / 455.2 MB, free: 12.7 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00868/0.1197, allocations: 4.227 MB / 459.4 MB, free: 8.461 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001446/0.1211, allocations: 91.5 kB / 459.5 MB, free: 8.371 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004715/0.1258, allocations: 2.347 MB / 461.9 MB, free: 6.016 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004811/0.1306, allocations: 1.981 MB / 463.8 MB, free: 4.027 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.1322, allocations: 0.7761 MB / 464.6 MB, free: 3.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007586/0.1398, allocations: 5.653 MB / 470.3 MB, free: 13.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003432/0.1433, allocations: 2.882 MB / 473.2 MB, free: 10.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002431/0.1457, allocations: 1.706 MB / 474.9 MB, free: 8.945 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003351/0.149, allocations: 2.293 MB / 477.2 MB, free: 6.645 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007547/0.1498, allocations: 396 kB / 477.5 MB, free: 6.258 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00197/0.1518, allocations: 1.057 MB / 478.6 MB, free: 5.195 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001942/0.1537, allocations: 1.995 MB / 480.6 MB, free: 3.195 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002082/0.1558, allocations: 1.702 MB / 482.3 MB, free: 1.484 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2129/0.3687, allocations: 7.41 MB / 489.7 MB, free: 55.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.3687, allocations: 3.281 kB / 489.7 MB, free: 55.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3687, allocations: 0 / 489.7 MB, free: 55.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000176/0.3689, allocations: 0 / 489.7 MB, free: 55.78 MB / 446.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.008905/0.3778, allocations: 4.768 MB / 494.5 MB, free: 53.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.3778, allocations: 9.812 kB / 494.5 MB, free: 53.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01734/0.3952, allocations: 2.943 MB / 497.4 MB, free: 53.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007459/0.4026, allocations: 3.561 MB / 0.4892 GB, free: 53.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.4027, allocations: 217.8 kB / 0.4895 GB, free: 53.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006471/0.4034, allocations: 301.6 kB / 0.4897 GB, free: 53 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0108/0.4142, allocations: 8.684 MB / 0.4982 GB, free: 49.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001333/0.4143, allocations: 50.27 kB / 0.4983 GB, free: 49.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003587/0.4147, allocations: 138.4 kB / 0.4984 GB, free: 49.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002335/0.417, allocations: 1.554 MB / 0.4999 GB, free: 49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01199/0.429, allocations: 6.922 MB / 0.5067 GB, free: 46.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03201/0.461, allocations: 30.23 MB / 0.5362 GB, free: 24.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00379/0.4648, allocations: 1.68 MB / 0.5378 GB, free: 24.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008671/0.4657, allocations: 0.6197 MB / 0.5384 GB, free: 23.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004231/0.4699, allocations: 2.395 MB / 0.5408 GB, free: 22.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.4699, allocations: 41.09 kB / 0.5408 GB, free: 22.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=114): time 2.906e-06/0.4699, allocations: 1.125 kB / 0.5408 GB, free: 22.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=134): time 0.01361/0.4835, allocations: 7.865 MB / 0.5485 GB, free: 18.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.551e-05/0.4836, allocations: 281.5 kB / 0.5488 GB, free: 18.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004083/0.4877, allocations: 3.941 MB / 0.5526 GB, free: 16.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.468e-05/0.4878, allocations: 45.42 kB / 0.5527 GB, free: 16.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00118/0.489, allocations: 3.054 MB / 0.5556 GB, free: 14.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002843/0.4892, allocations: 0.5551 MB / 0.5562 GB, free: 13.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001004/0.4902, allocations: 1.123 MB / 0.5573 GB, free: 12.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.897e-05/0.4903, allocations: 305.1 kB / 0.5576 GB, free: 12.33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00161/0.4919, allocations: 1.483 MB / 0.559 GB, free: 11.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002706/0.4946, allocations: 5.067 MB / 0.564 GB, free: 4.617 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00663/0.5012, allocations: 6.9 MB / 0.5707 GB, free: 12.89 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.671e-05/0.5013, allocations: 36 kB / 0.5707 GB, free: 12.85 MB / 462.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01073/0.512, allocations: 6.193 MB / 0.5768 GB, free: 7.762 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.905e-05/0.5121, allocations: 56 kB / 0.5768 GB, free: 7.707 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001442/0.5123, allocations: 127.9 kB / 0.577 GB, free: 7.582 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000173/0.5124, allocations: 163.9 kB / 0.5771 GB, free: 7.426 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00341/0.5159, allocations: 1.278 MB / 0.5784 GB, free: 6.172 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002081/0.5161, allocations: 239.1 kB / 0.5786 GB, free: 5.938 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002968/0.519, allocations: 264 kB / 0.5789 GB, free: 5.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004157/0.5194, allocations: 336 kB / 0.5792 GB, free: 5.352 MB / 462.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.003027/0.5225, allocations: 2.034 MB / 0.5812 GB, free: 3.309 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000526/0.523, allocations: 332.2 kB / 0.5815 GB, free: 2.984 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005602/0.5236, allocations: 358.6 kB / 0.5818 GB, free: 2.633 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.433e-05/0.5236, allocations: 16 kB / 0.5818 GB, free: 2.617 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.5236, allocations: 4 kB / 0.5818 GB, free: 2.613 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.5236, allocations: 7.922 kB / 0.5818 GB, free: 2.605 MB / 462.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.007419/0.531, allocations: 4.192 MB / 0.5859 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.821e-05/0.531, allocations: 15.94 kB / 0.586 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008196/0.5319, allocations: 235.6 kB / 0.5862 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.85e-05/0.5319, allocations: 16.72 kB / 0.5862 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.241e-05/0.532, allocations: 36 kB / 0.5862 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.13e-05/0.532, allocations: 27.92 kB / 0.5863 GB, free: 13.92 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-05/0.532, allocations: 19.94 kB / 0.5863 GB, free: 13.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003556/0.5356, allocations: 2.881 MB / 0.5891 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009591/0.5365, allocations: 445.6 kB / 0.5895 GB, free: 10.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002828/0.5368, allocations: 39.98 kB / 0.5895 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009833/0.5378, allocations: 55.95 kB / 0.5896 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/0.538, allocations: 111.5 kB / 0.5897 GB, free: 10.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.5381, allocations: 52.88 kB / 0.5898 GB, free: 10.14 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003662/0.5417, allocations: 2.349 MB / 0.5921 GB, free: 7.812 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5417, allocations: 4 kB / 0.5921 GB, free: 7.809 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004743/0.5465, allocations: 0.831 MB / 0.5929 GB, free: 6.98 MB / 478.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.0004203/0.5469, allocations: 180.2 kB / 0.593 GB, free: 6.801 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004988/0.5519, allocations: 3.279 MB / 0.5962 GB, free: 3.559 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.5519, allocations: 0 / 0.5962 GB, free: 3.559 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000887/0.5528, allocations: 0.6153 MB / 0.5968 GB, free: 2.945 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002363/0.5551, allocations: 486.9 kB / 0.5973 GB, free: 2.512 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01306/0.5682, allocations: 8.294 MB / 0.6054 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003511/0.5717, allocations: 2.566 MB / 0.6079 GB, free: 7.422 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003658/0.5754, allocations: 1.598 MB / 0.6095 GB, free: 5.82 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004608/0.5758, allocations: 220.5 kB / 0.6097 GB, free: 5.605 MB / 494.1 MB Notification: Performance of SimCode: time 9.12e-07/0.5758, allocations: 0 / 0.6097 GB, free: 5.605 MB / 494.1 MB Notification: Performance of Templates: time 0.0532/0.629, allocations: 22.31 MB / 0.6315 GB, free: 15.84 MB / 0.5137 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 -s ida -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.792416370939463] Failed to read output from testmodel.py, exit status != 0: 0.6381654429715127 0.653114666 0.281136247 Calling exit ...