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.001508/0.001508, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001695/0.001695, allocations: 214.4 kB / 22.25 MB, free: 5.258 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.325/1.325, allocations: 230.6 MB / 256 MB, free: 7.762 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.03192/0.03192, allocations: 6.579 MB / 319 MB, free: 12.42 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.001944/0.001944, allocations: 67.89 kB / 443.8 MB, free: 4.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08998/0.09192, allocations: 54.87 MB / 498.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.01203/0.104, allocations: 10.22 MB / 0.497 GB, free: 3.633 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008181/0.1121, allocations: 4.206 MB / 0.5011 GB, free: 15.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001463/0.1136, allocations: 87.5 kB / 0.5012 GB, free: 15.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004532/0.1181, allocations: 2.359 MB / 0.5035 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004575/0.1227, allocations: 1.985 MB / 0.5054 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.1243, allocations: 0.7645 MB / 0.5062 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006922/0.1312, allocations: 5.649 MB / 0.5117 GB, free: 4.543 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003526/0.1347, allocations: 2.882 MB / 0.5145 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1965/0.3313, allocations: 1.718 MB / 0.5162 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003409/0.3347, allocations: 2.281 MB / 0.5184 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001058/0.3357, allocations: 399.2 kB / 0.5188 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00224/0.338, allocations: 1.047 MB / 0.5198 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002245/0.3402, allocations: 2.014 MB / 0.5218 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003194/0.3434, allocations: 1.815 MB / 0.5235 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009413/0.3528, allocations: 7.741 MB / 0.5311 GB, free: 8.301 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.3528, allocations: 3.781 kB / 0.5311 GB, free: 8.301 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3528, allocations: 4.438 kB / 0.5311 GB, free: 8.301 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000228/0.3531, allocations: 0 / 0.5311 GB, free: 8.301 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.014/0.3671, allocations: 5.003 MB / 0.536 GB, free: 6.332 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.3671, allocations: 9.75 kB / 0.536 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001431/0.3685, allocations: 0.6315 MB / 0.5366 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09494/0.4635, allocations: 9.275 MB / 0.5457 GB, free: 3.438 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009289/0.4728, allocations: 4.016 MB / 0.5496 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.4729, allocations: 223.7 kB / 0.5498 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0011/0.474, allocations: 297.6 kB / 0.5501 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01444/0.4884, allocations: 8.529 MB / 0.5584 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000155/0.4886, allocations: 45.02 kB / 0.5585 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005327/0.4891, allocations: 141 kB / 0.5586 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00235/0.4915, allocations: 1.56 MB / 0.5601 GB, free: 8.574 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01279/0.5043, allocations: 6.624 MB / 0.5666 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04064/0.5449, allocations: 30.82 MB / 0.5967 GB, free: 2.781 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003997/0.5489, allocations: 1.611 MB / 0.5983 GB, free: 1.152 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009275/0.5498, allocations: 0.6157 MB / 0.5989 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005393/0.5552, allocations: 2.391 MB / 0.6012 GB, free: 14.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.421e-05/0.5553, allocations: 45.88 kB / 0.6012 GB, free: 14.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=114): time 3.667e-06/0.5553, allocations: 0 / 0.6012 GB, free: 14.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=134): time 0.01642/0.5717, allocations: 7.681 MB / 0.6087 GB, free: 6.371 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/0.5718, allocations: 277.7 kB / 0.609 GB, free: 6.035 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006492/0.5783, allocations: 4.322 MB / 0.6132 GB, free: 1.688 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001903/0.5785, allocations: 49.7 kB / 0.6133 GB, free: 1.633 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002435/0.581, allocations: 3.076 MB / 0.6163 GB, free: 14.57 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000626/0.5816, allocations: 0.5512 MB / 0.6168 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001368/0.583, allocations: 1.051 MB / 0.6178 GB, free: 12.96 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.5831, allocations: 304.2 kB / 0.6181 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002046/0.5851, allocations: 1.376 MB / 0.6195 GB, free: 11.28 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004703/0.5898, allocations: 4.87 MB / 0.6242 GB, free: 4.734 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007445/0.5973, allocations: 6.694 MB / 0.6308 GB, free: 12.88 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-05/0.5974, allocations: 32 kB / 0.6308 GB, free: 12.85 MB / 478.1 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.0102/0.6076, allocations: 5.913 MB / 0.6366 GB, free: 7.105 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.6077, allocations: 60.03 kB / 0.6366 GB, free: 7.047 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001796/0.6079, allocations: 120 kB / 0.6368 GB, free: 6.93 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001926/0.6081, allocations: 159.9 kB / 0.6369 GB, free: 6.773 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003555/0.6116, allocations: 1.224 MB / 0.6381 GB, free: 5.547 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002076/0.6118, allocations: 227.2 kB / 0.6383 GB, free: 5.324 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003585/0.6154, allocations: 253.6 kB / 0.6386 GB, free: 5.078 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006512/0.6161, allocations: 331.9 kB / 0.6389 GB, free: 4.754 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.003662/0.6197, allocations: 2.026 MB / 0.6409 GB, free: 2.719 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007634/0.6205, allocations: 361.6 kB / 0.6412 GB, free: 2.363 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000894/0.6214, allocations: 406.2 kB / 0.6416 GB, free: 1.957 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.031e-05/0.6214, allocations: 18.5 kB / 0.6416 GB, free: 1.941 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.6214, allocations: 0 / 0.6416 GB, free: 1.941 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.6214, allocations: 9.766 kB / 0.6416 GB, free: 1.934 MB / 478.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.01023/0.6317, allocations: 4.953 MB / 0.6464 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.951e-05/0.6317, allocations: 12 kB / 0.6465 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008382/0.6325, allocations: 235.6 kB / 0.6467 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.712e-05/0.6325, allocations: 20 kB / 0.6467 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.902e-05/0.6326, allocations: 36 kB / 0.6467 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.262e-05/0.6327, allocations: 27.92 kB / 0.6468 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.206e-05/0.6327, allocations: 16.31 kB / 0.6468 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003648/0.6363, allocations: 2.916 MB / 0.6496 GB, free: 9.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001456/0.6378, allocations: 482.9 kB / 0.6501 GB, free: 8.867 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004858/0.6383, allocations: 39.98 kB / 0.6501 GB, free: 8.828 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/0.6395, allocations: 53.38 kB / 0.6502 GB, free: 8.777 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/0.6397, allocations: 115.5 kB / 0.6503 GB, free: 8.664 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-05/0.6398, allocations: 54.73 kB / 0.6503 GB, free: 8.613 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00466/0.6444, allocations: 2.626 MB / 0.6529 GB, free: 5.977 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6444, allocations: 0 / 0.6529 GB, free: 5.977 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004364/0.6488, allocations: 0.8006 MB / 0.6537 GB, free: 5.176 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.004287/0.6531, allocations: 3.577 MB / 0.6572 GB, free: 1.414 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00539/0.6585, allocations: 3.121 MB / 0.6602 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.537e-05/0.6585, allocations: 0 / 0.6602 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009332/0.6594, allocations: 0.6221 MB / 0.6608 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003252/0.6627, allocations: 0.5481 MB / 0.6614 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05878/0.7214, allocations: 38.71 MB / 0.6992 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003856/0.7253, allocations: 2.574 MB / 0.7017 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003784/0.7291, allocations: 1.639 MB / 0.7033 GB, free: 12.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002503/0.7316, allocations: 1.761 MB / 0.705 GB, free: 11.14 MB / 0.545 GB Notification: Performance of SimCode: time 1.022e-06/0.7316, allocations: 0 / 0.705 GB, free: 11.14 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3038/1.035, allocations: 61.95 MB / 0.7655 GB, free: 191.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.21/15.25, allocations: 7.094 kB / 0.7655 GB, free: 191.2 MB / 0.5606 GB " [Timeout remaining time 645] (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: 17.80430730385706] Failed to read output from testmodel.py, exit status != 0: 15.395254327915609 15.40621646 15.05097661 Calling exit ...