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.001473/0.001473, allocations: 112.7 kB / 19.73 MB, free: 2.242 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.001351/0.001351, allocations: 219.3 kB / 23.05 MB, free: 5.074 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.323/1.323, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.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.03207/0.03207, allocations: 6.59 MB / 319.8 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: "" <> buildModelFMU(StewartPlatform.Tests.ElectricCylinder_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_ElectricCylinder_test",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(StewartPlatform.Tests.ElectricCylinder_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_ElectricCylinder_test",fmuType="cs",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.001851/0.001851, allocations: 71.91 kB / 444.7 MB, free: 5.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09793/0.09978, allocations: 54.85 MB / 499.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.01367/0.1135, allocations: 11.71 MB / 0.4993 GB, free: 2.645 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008467/0.1219, allocations: 4.451 MB / 0.5036 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.1232, allocations: 87.5 kB / 0.5037 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004596/0.1278, allocations: 2.468 MB / 0.5061 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004425/0.1322, allocations: 1.981 MB / 0.508 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.1338, allocations: 0.7644 MB / 0.5088 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007388/0.1411, allocations: 5.665 MB / 0.5143 GB, free: 3.191 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003445/0.1446, allocations: 2.898 MB / 0.5171 GB, free: 248 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1943/0.3389, allocations: 1.699 MB / 0.5188 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002884/0.3417, allocations: 2.431 MB / 0.5212 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007675/0.3425, allocations: 397.9 kB / 0.5216 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001912/0.3444, allocations: 1.175 MB / 0.5227 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001784/0.3462, allocations: 2.017 MB / 0.5247 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002297/0.3485, allocations: 2.402 MB / 0.527 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008423/0.3569, allocations: 7.718 MB / 0.5346 GB, free: 7.762 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3569, allocations: 0 / 0.5346 GB, free: 7.762 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3569, allocations: 0.5 kB / 0.5346 GB, free: 7.762 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001945/0.3571, allocations: 1.438 kB / 0.5346 GB, free: 7.762 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.01171/0.3688, allocations: 5.015 MB / 0.5395 GB, free: 5.496 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3689, allocations: 10.66 kB / 0.5395 GB, free: 5.496 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000124/0.369, allocations: 91.59 kB / 0.5396 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008889/0.3699, allocations: 0.6259 MB / 0.5402 GB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09891/0.4688, allocations: 9.279 MB / 0.5492 GB, free: 1.695 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009911/0.4787, allocations: 4.003 MB / 0.5531 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002111/0.4789, allocations: 219 kB / 0.5533 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001473/0.4804, allocations: 292.7 kB / 0.5536 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01788/0.4983, allocations: 8.387 MB / 0.5618 GB, free: 7.383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002383/0.4985, allocations: 49.94 kB / 0.5619 GB, free: 7.352 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001063/0.4996, allocations: 133.9 kB / 0.562 GB, free: 7.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002631/0.5022, allocations: 1.558 MB / 0.5635 GB, free: 5.715 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01408/0.5163, allocations: 6.632 MB / 0.57 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04528/0.5616, allocations: 32.63 MB / 0.6018 GB, free: 13.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004061/0.5656, allocations: 1.626 MB / 0.6034 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009249/0.5666, allocations: 0.6082 MB / 0.604 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005109/0.5717, allocations: 2.615 MB / 0.6066 GB, free: 9.109 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/0.5717, allocations: 47.06 kB / 0.6066 GB, free: 9.055 MB / 446.1 MB Notification: Performance of pre-optimization done (n=114): time 3.236e-06/0.5717, allocations: 0 / 0.6066 GB, free: 9.055 MB / 446.1 MB Notification: Performance of matching and sorting (n=134): time 0.01903/0.5907, allocations: 7.683 MB / 0.6141 GB, free: 1.344 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001735/0.5909, allocations: 269.7 kB / 0.6144 GB, free: 1.016 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008038/0.599, allocations: 4.133 MB / 0.6184 GB, free: 12.86 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001734/0.5991, allocations: 41.7 kB / 0.6185 GB, free: 12.81 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002602/0.6017, allocations: 3.069 MB / 0.6215 GB, free: 9.75 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005958/0.6023, allocations: 0.561 MB / 0.622 GB, free: 9.195 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001387/0.6037, allocations: 1.048 MB / 0.623 GB, free: 8.141 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.6038, allocations: 305.1 kB / 0.6233 GB, free: 7.84 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002111/0.606, allocations: 1.376 MB / 0.6247 GB, free: 6.461 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004809/0.6108, allocations: 4.758 MB / 0.6293 GB, free: 60 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007768/0.6185, allocations: 6.68 MB / 0.6358 GB, free: 8.215 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-05/0.6186, allocations: 32 kB / 0.6359 GB, free: 8.184 MB / 478.1 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.009604/0.6282, allocations: 5.926 MB / 0.6417 GB, free: 2.391 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.255e-05/0.6283, allocations: 56.22 kB / 0.6417 GB, free: 2.336 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001209/0.6284, allocations: 120 kB / 0.6418 GB, free: 2.219 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001558/0.6286, allocations: 163.9 kB / 0.642 GB, free: 2.059 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003325/0.6319, allocations: 1.216 MB / 0.6432 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000178/0.6321, allocations: 231.1 kB / 0.6434 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003127/0.6352, allocations: 255.7 kB / 0.6436 GB, free: 372 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003959/0.6356, allocations: 320 kB / 0.6439 GB, free: 52 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.003347/0.6389, allocations: 2.033 MB / 0.6459 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000664/0.6396, allocations: 361.6 kB / 0.6463 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007791/0.6404, allocations: 398.2 kB / 0.6466 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.09e-05/0.6404, allocations: 23.28 kB / 0.6467 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.6404, allocations: 3.984 kB / 0.6467 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.6404, allocations: 7.984 kB / 0.6467 GB, free: 13.22 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.008792/0.6492, allocations: 5.272 MB / 0.6518 GB, free: 7.727 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.989e-05/0.6492, allocations: 16.2 kB / 0.6518 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008457/0.6501, allocations: 235.6 kB / 0.6521 GB, free: 7.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.847e-05/0.6501, allocations: 16 kB / 0.6521 GB, free: 7.465 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-05/0.6502, allocations: 43.98 kB / 0.6521 GB, free: 7.422 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.091e-05/0.6502, allocations: 23.88 kB / 0.6521 GB, free: 7.398 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.529e-05/0.6502, allocations: 19.94 kB / 0.6522 GB, free: 7.379 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003652/0.6539, allocations: 2.914 MB / 0.655 GB, free: 4.281 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/0.6551, allocations: 483.7 kB / 0.6555 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003442/0.6554, allocations: 36 kB / 0.6555 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/0.6564, allocations: 55.95 kB / 0.6556 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001918/0.6566, allocations: 119.5 kB / 0.6557 GB, free: 3.602 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.038e-05/0.6567, allocations: 50.66 kB / 0.6557 GB, free: 3.555 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004165/0.6609, allocations: 2.634 MB / 0.6583 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6609, allocations: 0 / 0.6583 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003961/0.6649, allocations: 0.7929 MB / 0.6591 GB, free: 120 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.004101/0.669, allocations: 3.569 MB / 0.6626 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005097/0.6741, allocations: 3.121 MB / 0.6656 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.699e-06/0.6741, allocations: 4 kB / 0.6656 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009781/0.675, allocations: 0.6189 MB / 0.6662 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002997/0.678, allocations: 0.5589 MB / 0.6668 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05578/0.7338, allocations: 38.72 MB / 0.7046 GB, free: 12.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003592/0.7374, allocations: 3.106 MB / 0.7076 GB, free: 8.961 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003618/0.741, allocations: 1.643 MB / 0.7092 GB, free: 7.309 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002263/0.7433, allocations: 1.761 MB / 0.7109 GB, free: 5.547 MB / 0.545 GB Notification: Performance of SimCode: time 1.052e-06/0.7433, allocations: 0 / 0.7109 GB, free: 5.547 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.296/1.039, allocations: 66.07 MB / 0.7755 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.14/20.18, allocations: 7.781 kB / 0.7755 GB, free: 181.4 MB / 0.5606 GB " [Timeout remaining time 640] (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: 23.205757335061207] Failed to read output from testmodel.py, exit status != 0: 20.3775902580237 20.38926994 20.029926237 Calling exit ...