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.0008527/0.0008527, 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.001157/0.001157, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9024/0.9024, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.01931/0.01931, allocations: 5.06 MB / 264.3 MB, free: 8.293 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 2.475e-06/2.475e-06, allocations: 0 / 389.2 MB, free: 7.379 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.335e-05, allocations: 2.281 kB / 389.2 MB, free: 7.375 MB / 314.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.008773/0.008796, allocations: 10.24 MB / 399.4 MB, free: 13.08 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006816/0.01561, allocations: 4.217 MB / 403.6 MB, free: 8.852 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.0168, allocations: 87.5 kB / 403.7 MB, free: 8.766 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002563/0.01937, allocations: 2.48 MB / 406.2 MB, free: 6.277 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002971/0.02234, allocations: 2.041 MB / 408.2 MB, free: 4.227 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.02339, allocations: 0.8578 MB / 409.1 MB, free: 3.367 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.1574/0.1808, allocations: 6.418 MB / 415.5 MB, free: 16.87 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003476/0.1843, allocations: 3.416 MB / 418.9 MB, free: 16.59 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003334/0.1876, allocations: 2.649 MB / 421.6 MB, free: 16.41 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00297/0.1906, allocations: 2.523 MB / 424.1 MB, free: 16.08 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006489/0.1912, allocations: 414.9 kB / 424.5 MB, free: 16.08 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001809/0.1931, allocations: 1.104 MB / 425.6 MB, free: 15.97 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001672/0.1947, allocations: 2.112 MB / 427.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001674/0.1964, allocations: 1.491 MB / 429.2 MB, free: 14.39 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006174/0.2026, allocations: 7.882 MB / 437.1 MB, free: 10.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2026, allocations: 2.25 kB / 437.1 MB, free: 10.16 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.215e-06/0.2026, allocations: 0 / 437.1 MB, free: 10.16 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.816e-05/0.2027, allocations: 0 / 437.1 MB, free: 10.16 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.006368/0.209, allocations: 5.102 MB / 442.2 MB, free: 6.711 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.2091, allocations: 9.375 kB / 442.2 MB, free: 6.711 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005153/0.2096, allocations: 0.6344 MB / 442.8 MB, free: 6.293 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04652/0.2561, allocations: 9.706 MB / 452.5 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007022/0.2631, allocations: 3.668 MB / 456.2 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.2633, allocations: 215.5 kB / 456.4 MB, free: 9.828 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005588/0.2638, allocations: 302 kB / 456.7 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009022/0.2728, allocations: 8.541 MB / 465.3 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-05/0.2729, allocations: 49.16 kB / 465.3 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002505/0.2732, allocations: 135.9 kB / 465.4 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001378/0.2746, allocations: 1.56 MB / 467 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008412/0.283, allocations: 6.634 MB / 473.6 MB, free: 8.379 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02718/0.3102, allocations: 31.38 MB / 0.4932 GB, free: 8.473 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003044/0.3132, allocations: 1.688 MB / 0.4948 GB, free: 6.762 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006595/0.3139, allocations: 0.6068 MB / 0.4954 GB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004342/0.3182, allocations: 2.662 MB / 0.498 GB, free: 3.477 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.3182, allocations: 51.06 kB / 0.4981 GB, free: 3.418 MB / 394.7 MB Notification: Performance of pre-optimization done (n=114): time 3.957e-06/0.3182, allocations: 0 / 0.4981 GB, free: 3.418 MB / 394.7 MB Notification: Performance of matching and sorting (n=134): time 0.01053/0.3288, allocations: 8.015 MB / 0.5059 GB, free: 11.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.3289, allocations: 272.2 kB / 0.5062 GB, free: 11.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004557/0.3334, allocations: 4.732 MB / 0.5108 GB, free: 6.277 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.388e-05/0.3335, allocations: 44.44 kB / 0.5108 GB, free: 6.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001434/0.335, allocations: 3.045 MB / 0.5138 GB, free: 3.195 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002995/0.3352, allocations: 0.5436 MB / 0.5143 GB, free: 2.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009531/0.3362, allocations: 1.032 MB / 0.5153 GB, free: 1.617 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.68e-05/0.3363, allocations: 305.1 kB / 0.5156 GB, free: 1.316 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.3375, allocations: 1.373 MB / 0.517 GB, free: 15.94 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002962/0.3405, allocations: 4.882 MB / 0.5217 GB, free: 9.383 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004642/0.3451, allocations: 6.679 MB / 0.5283 GB, free: 1.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.35e-05/0.3452, allocations: 36.28 kB / 0.5283 GB, free: 1.305 MB / 426.7 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.006072/0.3513, allocations: 5.918 MB / 0.5341 GB, free: 11.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.329e-05/0.3513, allocations: 60.08 kB / 0.5341 GB, free: 11.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.255e-05/0.3514, allocations: 123.9 kB / 0.5342 GB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.178e-05/0.3515, allocations: 156 kB / 0.5344 GB, free: 11.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00182/0.3533, allocations: 1.213 MB / 0.5356 GB, free: 9.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001002/0.3534, allocations: 231.1 kB / 0.5358 GB, free: 9.613 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/0.3557, allocations: 326.1 kB / 0.5361 GB, free: 9.297 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002621/0.356, allocations: 324 kB / 0.5364 GB, free: 8.98 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.002349/0.3583, allocations: 2.021 MB / 0.5384 GB, free: 6.949 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005011/0.3588, allocations: 361.6 kB / 0.5387 GB, free: 6.594 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004291/0.3592, allocations: 402.2 kB / 0.5391 GB, free: 6.188 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/0.3593, allocations: 19.27 kB / 0.5391 GB, free: 6.176 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.3593, allocations: 8 kB / 0.5392 GB, free: 6.168 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.3593, allocations: 3.984 kB / 0.5392 GB, free: 6.164 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.005636/0.3649, allocations: 5.113 MB / 0.5441 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.3649, allocations: 15.98 kB / 0.5442 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000458/0.3654, allocations: 231.6 kB / 0.5444 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.347e-05/0.3654, allocations: 16.66 kB / 0.5444 GB, free: 0.5938 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.696e-05/0.3654, allocations: 46.17 kB / 0.5444 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.375e-05/0.3655, allocations: 31.94 kB / 0.5445 GB, free: 0.5195 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/0.3655, allocations: 19.94 kB / 0.5445 GB, free: 0.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002234/0.3677, allocations: 2.893 MB / 0.5473 GB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008929/0.3686, allocations: 0.513 MB / 0.5478 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002016/0.3688, allocations: 35.98 kB / 0.5479 GB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007038/0.3695, allocations: 98.39 kB / 0.5479 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.3696, allocations: 119.5 kB / 0.5481 GB, free: 12.67 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.335e-05/0.3697, allocations: 52 kB / 0.5481 GB, free: 12.62 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002681/0.3724, allocations: 2.93 MB / 0.551 GB, free: 9.676 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3724, allocations: 0 / 0.551 GB, free: 9.676 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003014/0.3754, allocations: 0.9062 MB / 0.5519 GB, free: 8.77 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.002841/0.3782, allocations: 3.563 MB / 0.5553 GB, free: 5.023 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003328/0.3815, allocations: 3.11 MB / 0.5584 GB, free: 1.941 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.3815, allocations: 4 kB / 0.5584 GB, free: 1.938 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005607/0.3821, allocations: 0.6267 MB / 0.559 GB, free: 1.316 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/0.3841, allocations: 0.5568 MB / 0.5595 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1865/0.5706, allocations: 39.84 MB / 0.5984 GB, free: 139.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002041/0.5726, allocations: 2.565 MB / 0.6009 GB, free: 138.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00215/0.5748, allocations: 1.65 MB / 0.6026 GB, free: 138.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001145/0.5759, allocations: 1.781 MB / 0.6043 GB, free: 137.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.793e-06/0.5759, allocations: 0 / 0.6043 GB, free: 137.4 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06459/0.6405, allocations: 63.85 MB / 0.6666 GB, free: 77.18 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.542/10.18, allocations: 0 / 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 & /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: 12.135660799220204] Failed to read output from testmodel.py, exit status != 0: 10.299474348314106 10.305474401 10.101397172 Calling exit ...