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.001351/0.001351, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001671/0.001671, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.581/1.581, allocations: 230.6 MB / 256 MB, free: 7.996 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.03437/0.03437, allocations: 6.584 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: "" <> buildModelFMU(StewartPlatform.Tests.ElectricCylinder_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_ElectricCylinder_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(StewartPlatform.Tests.ElectricCylinder_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_ElectricCylinder_test",fmuType="me",version="2.0",platforms={"static"}) [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.002197/0.002197, allocations: 63.91 kB / 443.9 MB, free: 5.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1499, allocations: 54.86 MB / 498.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.01528/0.1652, allocations: 11.71 MB / 0.4985 GB, free: 2.594 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01034/0.1755, allocations: 4.459 MB / 0.5028 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002593/0.1781, allocations: 91.5 kB / 0.5029 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005585/0.1837, allocations: 2.464 MB / 0.5053 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006509/0.1902, allocations: 1.977 MB / 0.5073 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002278/0.1925, allocations: 0.7606 MB / 0.508 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009789/0.2022, allocations: 5.657 MB / 0.5135 GB, free: 3.145 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007475/0.2097, allocations: 2.898 MB / 0.5164 GB, free: 200 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3875/0.5973, allocations: 1.712 MB / 0.518 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00692/0.6042, allocations: 2.419 MB / 0.5204 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002895/0.6071, allocations: 399.6 kB / 0.5208 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004773/0.6118, allocations: 1.176 MB / 0.5219 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00421/0.6161, allocations: 2.014 MB / 0.5239 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006559/0.6226, allocations: 2.396 MB / 0.5262 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01663/0.6392, allocations: 7.717 MB / 0.5338 GB, free: 7.781 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.155e-05/0.6393, allocations: 3.375 kB / 0.5338 GB, free: 7.781 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6393, allocations: 0 / 0.5338 GB, free: 7.781 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004226/0.6397, allocations: 2.75 kB / 0.5338 GB, free: 7.781 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.02191/0.6616, allocations: 5.016 MB / 0.5387 GB, free: 5.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.599e-05/0.6617, allocations: 8.75 kB / 0.5387 GB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002197/0.6639, allocations: 0.626 MB / 0.5393 GB, free: 5.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09384/0.7577, allocations: 9.278 MB / 0.5484 GB, free: 1.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01376/0.7715, allocations: 4.006 MB / 0.5523 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003432/0.7718, allocations: 213.3 kB / 0.5525 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002205/0.774, allocations: 302 kB / 0.5528 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01998/0.794, allocations: 8.385 MB / 0.561 GB, free: 7.426 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001948/0.7942, allocations: 45.2 kB / 0.561 GB, free: 7.398 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000429/0.7946, allocations: 136.9 kB / 0.5611 GB, free: 7.293 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002794/0.7974, allocations: 1.559 MB / 0.5626 GB, free: 5.758 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01591/0.8133, allocations: 6.641 MB / 0.5691 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05368/0.867, allocations: 32.63 MB / 0.601 GB, free: 14.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004496/0.8715, allocations: 1.618 MB / 0.6026 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/0.8726, allocations: 0.6138 MB / 0.6032 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006535/0.8791, allocations: 2.614 MB / 0.6057 GB, free: 9.152 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.19e-05/0.8792, allocations: 43.06 kB / 0.6058 GB, free: 9.102 MB / 446.1 MB Notification: Performance of pre-optimization done (n=114): time 3.627e-06/0.8792, allocations: 0 / 0.6058 GB, free: 9.102 MB / 446.1 MB Notification: Performance of matching and sorting (n=134): time 0.02052/0.8997, allocations: 7.683 MB / 0.6133 GB, free: 1.391 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002271/0.9, allocations: 273.6 kB / 0.6135 GB, free: 1.059 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009678/0.9096, allocations: 4.133 MB / 0.6176 GB, free: 12.9 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003102/0.9099, allocations: 49.06 kB / 0.6176 GB, free: 12.85 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003081/0.913, allocations: 3.072 MB / 0.6206 GB, free: 9.789 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006678/0.9137, allocations: 0.5526 MB / 0.6212 GB, free: 9.242 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001412/0.9151, allocations: 1.047 MB / 0.6222 GB, free: 8.188 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.9152, allocations: 309.1 kB / 0.6225 GB, free: 7.883 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002154/0.9174, allocations: 1.376 MB / 0.6238 GB, free: 6.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004888/0.9223, allocations: 4.755 MB / 0.6285 GB, free: 104 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008261/0.9305, allocations: 6.694 MB / 0.635 GB, free: 8.25 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.595e-05/0.9306, allocations: 32 kB / 0.635 GB, free: 8.219 MB / 478.1 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.01194/0.9426, allocations: 5.915 MB / 0.6408 GB, free: 2.426 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.9427, allocations: 56 kB / 0.6409 GB, free: 2.371 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001897/0.9429, allocations: 124.1 kB / 0.641 GB, free: 2.25 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002032/0.9431, allocations: 156 kB / 0.6411 GB, free: 2.098 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003966/0.947, allocations: 1.224 MB / 0.6423 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002682/0.9473, allocations: 231.5 kB / 0.6425 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004475/0.9518, allocations: 255.7 kB / 0.6428 GB, free: 404 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000804/0.9526, allocations: 326.5 kB / 0.6431 GB, free: 80 kB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 542 * 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 (652): * Single equations (assignments): 649 * 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.005932/0.9585, allocations: 2.015 MB / 0.6451 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001576/0.9601, allocations: 365.6 kB / 0.6454 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/0.9619, allocations: 406.2 kB / 0.6458 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.802e-05/0.9619, allocations: 19.94 kB / 0.6458 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.121e-05/0.962, allocations: 0 / 0.6458 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.865e-05/0.962, allocations: 3.984 kB / 0.6458 GB, free: 13.26 MB / 494.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.01546/0.9774, allocations: 5.279 MB / 0.651 GB, free: 7.758 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.514e-05/0.9775, allocations: 12 kB / 0.651 GB, free: 7.746 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009887/0.9785, allocations: 235.6 kB / 0.6512 GB, free: 7.516 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.343e-05/0.9785, allocations: 16 kB / 0.6512 GB, free: 7.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001545/0.9787, allocations: 43.59 kB / 0.6513 GB, free: 7.461 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.248e-05/0.9787, allocations: 27.86 kB / 0.6513 GB, free: 7.434 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.243e-05/0.9787, allocations: 20.31 kB / 0.6513 GB, free: 7.414 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004815/0.9835, allocations: 2.918 MB / 0.6542 GB, free: 4.312 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002097/0.9856, allocations: 473.3 kB / 0.6546 GB, free: 3.848 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001046/0.9867, allocations: 39.98 kB / 0.6547 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001937/0.9886, allocations: 55.53 kB / 0.6547 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002205/0.9888, allocations: 123.5 kB / 0.6548 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/0.989, allocations: 56 kB / 0.6549 GB, free: 3.582 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006861/0.9958, allocations: 2.626 MB / 0.6574 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.9958, allocations: 0 / 0.6574 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006453/1.002, allocations: 0.799 MB / 0.6582 GB, free: 152 kB / 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.005372/1.008, allocations: 3.568 MB / 0.6617 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006262/1.014, allocations: 3.121 MB / 0.6648 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.987e-05/1.014, allocations: 4 kB / 0.6648 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/1.015, allocations: 0.6221 MB / 0.6654 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005345/1.02, allocations: 0.5493 MB / 0.6659 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09692/1.117, allocations: 38.72 MB / 0.7037 GB, free: 12.13 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007883/1.125, allocations: 3.114 MB / 0.7068 GB, free: 8.984 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005007/1.13, allocations: 1.631 MB / 0.7083 GB, free: 7.344 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003796/1.134, allocations: 1.765 MB / 0.7101 GB, free: 5.578 MB / 0.545 GB Notification: Performance of SimCode: time 1.153e-06/1.134, allocations: 0 / 0.7101 GB, free: 5.578 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4706/1.605, allocations: 66.03 MB / 0.7745 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.16/22.77, allocations: 9.953 kB / 0.7746 GB, free: 181.4 MB / 0.5606 GB " [Timeout remaining time 637] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_StewartPlatform_StewartPlatform_Tests_ElectricCylinder_test_fmu --startTime=0 --stopTime=10 --stepSize=0.002 --timeout=50 --tolerance=1e-06 StewartPlatform_StewartPlatform_Tests_ElectricCylinder_test.fmu > StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 26.043122828006744] Failed to read output from testmodel.py, exit status != 0: 22.91680873511359 22.932071678 22.289463755 Calling exit ...