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.001191/0.001191, allocations: 106.2 kB / 16.45 MB, free: 6.488 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.001327/0.001327, allocations: 216.2 kB / 19.43 MB, free: 3.66 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.629/1.629, allocations: 230.6 MB / 252.8 MB, free: 8.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.03521/0.03521, allocations: 6.582 MB / 315.4 MB, free: 13.81 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.002421/0.002421, allocations: 71.91 kB / 438.7 MB, free: 8.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1409, allocations: 54.82 MB / 493.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.01497/0.1559, allocations: 11.66 MB / 0.4933 GB, free: 6.059 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01043/0.1663, allocations: 4.436 MB / 0.4977 GB, free: 1.609 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002522/0.1688, allocations: 87.5 kB / 0.4978 GB, free: 1.523 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005717/0.1746, allocations: 2.46 MB / 0.5002 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00769/0.1823, allocations: 1.971 MB / 0.5021 GB, free: 13.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002282/0.1845, allocations: 0.7605 MB / 0.5028 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009351/0.1939, allocations: 5.65 MB / 0.5083 GB, free: 6.656 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004475/0.1984, allocations: 2.93 MB / 0.5112 GB, free: 3.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003543/0.2019, allocations: 1.706 MB / 0.5129 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3912/0.5931, allocations: 2.414 MB / 0.5152 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001881/0.595, allocations: 400.7 kB / 0.5156 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003696/0.5986, allocations: 1.177 MB / 0.5168 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003745/0.6024, allocations: 2.013 MB / 0.5187 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007222/0.6096, allocations: 2.398 MB / 0.5211 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01647/0.6261, allocations: 7.718 MB / 0.5286 GB, free: 7.668 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.6261, allocations: 0 / 0.5286 GB, free: 7.668 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.367e-06/0.6261, allocations: 1.188 kB / 0.5286 GB, free: 7.668 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004547/0.6266, allocations: 0 / 0.5286 GB, free: 7.668 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.0237/0.6502, allocations: 5.092 MB / 0.5336 GB, free: 5.605 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.292e-05/0.6503, allocations: 9.094 kB / 0.5336 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002633/0.6529, allocations: 0.6312 MB / 0.5342 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1075/0.7604, allocations: 9.266 MB / 0.5433 GB, free: 3.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01014/0.7706, allocations: 4.086 MB / 0.5472 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001792/0.7708, allocations: 216.7 kB / 0.5475 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0011/0.7719, allocations: 294.2 kB / 0.5477 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01928/0.7911, allocations: 8.385 MB / 0.5559 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002062/0.7913, allocations: 51.25 kB / 0.556 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004555/0.7918, allocations: 135.9 kB / 0.5561 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002762/0.7946, allocations: 1.557 MB / 0.5576 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01453/0.8091, allocations: 6.634 MB / 0.5641 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04888/0.858, allocations: 32.74 MB / 0.5961 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004498/0.8625, allocations: 2.066 MB / 0.5981 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009474/0.8634, allocations: 0.6112 MB / 0.5987 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005503/0.8689, allocations: 3.085 MB / 0.6017 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/0.869, allocations: 46.88 kB / 0.6017 GB, free: 10.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=114): time 3.106e-06/0.869, allocations: 0 / 0.6017 GB, free: 10.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=134): time 0.01864/0.8876, allocations: 7.836 MB / 0.6094 GB, free: 2.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000233/0.8878, allocations: 273.6 kB / 0.6097 GB, free: 2.652 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0069/0.8947, allocations: 4.13 MB / 0.6137 GB, free: 14.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001671/0.8949, allocations: 41.7 kB / 0.6137 GB, free: 14.45 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002689/0.8976, allocations: 3.082 MB / 0.6167 GB, free: 11.38 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006114/0.8982, allocations: 0.5491 MB / 0.6173 GB, free: 10.84 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001371/0.8996, allocations: 1.05 MB / 0.6183 GB, free: 9.777 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.8997, allocations: 305.1 kB / 0.6186 GB, free: 9.477 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002075/0.9018, allocations: 1.38 MB / 0.6199 GB, free: 8.094 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005016/0.9068, allocations: 4.753 MB / 0.6246 GB, free: 1.691 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008235/0.915, allocations: 6.682 MB / 0.6311 GB, free: 9.844 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.838e-05/0.9151, allocations: 36 kB / 0.6311 GB, free: 9.809 MB / 478.1 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.01075/0.9258, allocations: 5.911 MB / 0.6369 GB, free: 4.152 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.774e-05/0.9259, allocations: 59.98 kB / 0.637 GB, free: 4.094 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001067/0.926, allocations: 120.1 kB / 0.6371 GB, free: 3.977 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001566/0.9262, allocations: 160 kB / 0.6372 GB, free: 3.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003433/0.9296, allocations: 1.22 MB / 0.6384 GB, free: 2.598 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002308/0.9299, allocations: 231.1 kB / 0.6386 GB, free: 2.371 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004278/0.9341, allocations: 262 kB / 0.6389 GB, free: 2.117 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004433/0.9346, allocations: 320 kB / 0.6392 GB, free: 1.805 MB / 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.003977/0.9386, allocations: 2.022 MB / 0.6412 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007787/0.9393, allocations: 365.6 kB / 0.6415 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008468/0.9402, allocations: 398.2 kB / 0.6419 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.439e-05/0.9402, allocations: 18.05 kB / 0.6419 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.755e-05/0.9402, allocations: 4 kB / 0.6419 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/0.9402, allocations: 11.97 kB / 0.6419 GB, free: 14.98 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.009074/0.9493, allocations: 5.309 MB / 0.6471 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.816e-05/0.9493, allocations: 16 kB / 0.6471 GB, free: 9.426 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008186/0.9501, allocations: 227.6 kB / 0.6474 GB, free: 9.203 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.326e-05/0.9502, allocations: 20.75 kB / 0.6474 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.043e-05/0.9503, allocations: 39.98 kB / 0.6474 GB, free: 9.145 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.527e-05/0.9503, allocations: 27.88 kB / 0.6474 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.648e-05/0.9503, allocations: 15.94 kB / 0.6475 GB, free: 9.102 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003802/0.9541, allocations: 2.919 MB / 0.6503 GB, free: 6.004 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001196/0.9553, allocations: 0.5414 MB / 0.6508 GB, free: 5.441 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003235/0.9556, allocations: 38.41 kB / 0.6509 GB, free: 5.406 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.9567, allocations: 55.97 kB / 0.6509 GB, free: 5.352 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/0.9568, allocations: 119.1 kB / 0.651 GB, free: 5.238 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.792e-05/0.9569, allocations: 60 kB / 0.6511 GB, free: 5.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004469/0.9614, allocations: 2.626 MB / 0.6537 GB, free: 2.543 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.9614, allocations: 0 / 0.6537 GB, free: 2.543 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004785/0.9662, allocations: 0.7968 MB / 0.6544 GB, free: 1.746 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.004378/0.9706, allocations: 3.576 MB / 0.6579 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005597/0.9762, allocations: 3.117 MB / 0.661 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/0.9762, allocations: 4 kB / 0.661 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009695/0.9772, allocations: 0.6189 MB / 0.6616 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00313/0.9803, allocations: 0.5567 MB / 0.6621 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07831/1.059, allocations: 38.71 MB / 0.6999 GB, free: 13.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006556/1.065, allocations: 3.106 MB / 0.703 GB, free: 10.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004765/1.07, allocations: 1.635 MB / 0.7046 GB, free: 8.945 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003718/1.074, allocations: 1.761 MB / 0.7063 GB, free: 7.184 MB / 0.545 GB Notification: Performance of SimCode: time 1.803e-06/1.074, allocations: 0 / 0.7063 GB, free: 7.184 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4743/1.548, allocations: 61.81 MB / 0.7666 GB, free: 188 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.1/18.65, allocations: 0 / 0.7666 GB, free: 188 MB / 0.5606 GB " [Timeout remaining time 641] (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 & python3 -m fmpy simulate --output-file StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 StewartPlatform_StewartPlatform_Tests_ElectricCylinder_test.fmu > StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.843015473990818] Failed to read output from testmodel.py, exit status != 0: 18.762315949003096 18.771883259 18.14343178 Calling exit ...