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.0008386/0.0008386, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001021/0.001021, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.908/0.908, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.7 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.01918/0.01918, allocations: 5.058 MB / 264.2 MB, free: 8.32 MB / 250.7 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: Performance of FrontEnd - loaded program: time 3.186e-06/3.186e-06, allocations: 0 / 389.2 MB, free: 7.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.991e-05, allocations: 4.953 kB / 389.2 MB, free: 7.379 MB / 314.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.009223/0.009253, allocations: 10.25 MB / 399.4 MB, free: 13.08 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007708/0.01696, allocations: 4.217 MB / 403.6 MB, free: 8.848 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001233/0.01819, allocations: 83.56 kB / 403.7 MB, free: 8.766 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002709/0.0209, allocations: 2.483 MB / 406.2 MB, free: 6.273 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002923/0.02383, allocations: 2.034 MB / 408.2 MB, free: 4.23 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.02514, allocations: 0.8578 MB / 409.1 MB, free: 3.371 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.1749/0.2, allocations: 6.418 MB / 415.5 MB, free: 16.9 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003918/0.204, allocations: 3.417 MB / 418.9 MB, free: 16.62 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003575/0.2075, allocations: 2.65 MB / 421.6 MB, free: 16.44 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002846/0.2104, allocations: 2.518 MB / 424.1 MB, free: 16.12 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007278/0.2111, allocations: 415.5 kB / 424.5 MB, free: 16.12 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.2127, allocations: 1.113 MB / 425.6 MB, free: 16 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001325/0.2141, allocations: 2.109 MB / 427.7 MB, free: 15.14 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001587/0.2157, allocations: 1.488 MB / 429.2 MB, free: 14.42 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004761/0.2204, allocations: 7.882 MB / 437.1 MB, free: 10.21 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.2204, allocations: 5.625 kB / 437.1 MB, free: 10.21 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2204, allocations: 0 / 437.1 MB, free: 10.21 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.264e-05/0.2205, allocations: 0 / 437.1 MB, free: 10.21 MB / 330.7 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.005834/0.2263, allocations: 5.102 MB / 442.2 MB, free: 6.758 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.2264, allocations: 15.25 kB / 442.2 MB, free: 6.754 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004477/0.2268, allocations: 0.6297 MB / 442.8 MB, free: 6.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0455/0.2723, allocations: 9.711 MB / 452.6 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006955/0.2793, allocations: 3.667 MB / 456.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.2794, allocations: 215.9 kB / 456.4 MB, free: 9.871 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00038/0.2798, allocations: 296.3 kB / 456.7 MB, free: 9.613 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008372/0.2881, allocations: 8.542 MB / 465.3 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.826e-05/0.2882, allocations: 45.06 kB / 465.3 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002416/0.2885, allocations: 136.9 kB / 465.4 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001308/0.2898, allocations: 1.563 MB / 467 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007102/0.2969, allocations: 6.638 MB / 473.6 MB, free: 8.422 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02414/0.321, allocations: 31.38 MB / 0.4932 GB, free: 8.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002638/0.3237, allocations: 1.679 MB / 0.4948 GB, free: 6.812 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005957/0.3242, allocations: 0.6176 MB / 0.4954 GB, free: 6.191 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003046/0.3273, allocations: 2.664 MB / 0.498 GB, free: 3.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.3273, allocations: 49.41 kB / 0.4981 GB, free: 3.465 MB / 394.7 MB Notification: Performance of pre-optimization done (n=114): time 3.948e-06/0.3273, allocations: 0 / 0.4981 GB, free: 3.465 MB / 394.7 MB Notification: Performance of matching and sorting (n=134): time 0.01053/0.3379, allocations: 8.02 MB / 0.5059 GB, free: 11.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.819e-05/0.338, allocations: 269.7 kB / 0.5062 GB, free: 11.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00444/0.3424, allocations: 4.732 MB / 0.5108 GB, free: 6.328 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.398e-05/0.3425, allocations: 49.7 kB / 0.5108 GB, free: 6.273 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001402/0.3439, allocations: 3.04 MB / 0.5138 GB, free: 3.246 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002701/0.3441, allocations: 0.5396 MB / 0.5143 GB, free: 2.711 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009614/0.3451, allocations: 1.035 MB / 0.5153 GB, free: 1.668 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.207e-05/0.3452, allocations: 305.1 kB / 0.5156 GB, free: 1.367 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.3464, allocations: 1.376 MB / 0.517 GB, free: 15.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002987/0.3494, allocations: 4.885 MB / 0.5217 GB, free: 9.426 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004594/0.354, allocations: 6.674 MB / 0.5283 GB, free: 1.391 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.009e-05/0.354, allocations: 36.22 kB / 0.5283 GB, free: 1.355 MB / 426.7 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.006345/0.3604, allocations: 5.912 MB / 0.5341 GB, free: 11.44 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.266e-05/0.3604, allocations: 60.08 kB / 0.5341 GB, free: 11.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.368e-05/0.3605, allocations: 119.9 kB / 0.5342 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001084/0.3606, allocations: 159.9 kB / 0.5344 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001958/0.3626, allocations: 1.22 MB / 0.5356 GB, free: 9.887 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001222/0.3627, allocations: 231.5 kB / 0.5358 GB, free: 9.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00236/0.3651, allocations: 319.5 kB / 0.5361 GB, free: 9.348 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002417/0.3653, allocations: 326.3 kB / 0.5364 GB, free: 9.031 MB / 442.7 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.002397/0.3677, allocations: 2.014 MB / 0.5384 GB, free: 7.004 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003186/0.368, allocations: 365.6 kB / 0.5387 GB, free: 6.645 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003652/0.3684, allocations: 406.2 kB / 0.5391 GB, free: 6.234 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.3684, allocations: 20 kB / 0.5391 GB, free: 6.215 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.3684, allocations: 0 / 0.5391 GB, free: 6.215 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.3684, allocations: 3.984 kB / 0.5392 GB, free: 6.211 MB / 442.7 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.005119/0.3735, allocations: 5.125 MB / 0.5442 GB, free: 0.8906 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.3736, allocations: 16 kB / 0.5442 GB, free: 0.875 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004344/0.374, allocations: 232.5 kB / 0.5444 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.138e-05/0.374, allocations: 20 kB / 0.5444 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.176e-05/0.374, allocations: 39.98 kB / 0.5444 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.194e-05/0.3741, allocations: 23.94 kB / 0.5445 GB, free: 0.5664 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/0.3741, allocations: 19.88 kB / 0.5445 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002241/0.3763, allocations: 2.903 MB / 0.5473 GB, free: 13.47 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005729/0.3769, allocations: 0.5091 MB / 0.5478 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000198/0.3771, allocations: 43.98 kB / 0.5479 GB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000699/0.3778, allocations: 87.89 kB / 0.5479 GB, free: 12.83 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.3779, allocations: 119.5 kB / 0.5481 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-05/0.3779, allocations: 52 kB / 0.5481 GB, free: 12.66 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002491/0.3804, allocations: 2.934 MB / 0.551 GB, free: 9.719 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3804, allocations: 4.062 kB / 0.551 GB, free: 9.715 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002436/0.3829, allocations: 0.905 MB / 0.5519 GB, free: 8.812 MB / 458.7 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.00264/0.3855, allocations: 3.561 MB / 0.5553 GB, free: 5.066 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002749/0.3883, allocations: 3.111 MB / 0.5584 GB, free: 1.98 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.3883, allocations: 0 / 0.5584 GB, free: 1.98 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005421/0.3888, allocations: 0.616 MB / 0.559 GB, free: 1.367 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.3904, allocations: 0.5599 MB / 0.5595 GB, free: 0.8242 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2029/0.5934, allocations: 39.84 MB / 0.5984 GB, free: 139.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002219/0.5956, allocations: 2.567 MB / 0.6009 GB, free: 139.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00207/0.5977, allocations: 1.647 MB / 0.6026 GB, free: 139.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/0.5988, allocations: 1.779 MB / 0.6043 GB, free: 137.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.863e-06/0.5988, allocations: 0 / 0.6043 GB, free: 137.6 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06302/0.6618, allocations: 63.85 MB / 0.6666 GB, free: 77.18 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.476/10.14, allocations: 2.812 kB / 0.6666 GB, free: 77.18 MB / 474.7 MB " [Timeout remaining time 650] (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: 12.081133738160133] Failed to read output from testmodel.py, exit status != 0: 10.256915485486388 10.264285437 10.042310961 Calling exit ...