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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 190.4 kB / 22.11 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 225.6 MB / 250.8 MB, free: 13.06 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.03214/0.03214, allocations: 6.586 MB / 312.6 MB, free: 2.191 MB / 238.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001869/0.001869, allocations: 67.89 kB / 435 MB, free: 16.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09494/0.09681, allocations: 53.68 MB / 488.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.01328/0.1101, allocations: 11.65 MB / 0.4886 GB, free: 14.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00858/0.1187, allocations: 4.405 MB / 0.4929 GB, free: 10.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001665/0.1203, allocations: 87.5 kB / 0.493 GB, free: 10.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004722/0.1251, allocations: 2.48 MB / 0.4954 GB, free: 7.742 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004915/0.13, allocations: 2.016 MB / 0.4974 GB, free: 5.719 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.1317, allocations: 0.7605 MB / 0.4981 GB, free: 4.957 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2095/0.3412, allocations: 5.56 MB / 0.5036 GB, free: 6.375 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004211/0.3454, allocations: 2.63 MB / 0.5061 GB, free: 6.234 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003423/0.3488, allocations: 1.713 MB / 0.5078 GB, free: 6.133 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0043/0.3531, allocations: 2.424 MB / 0.5102 GB, free: 5.898 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001359/0.3545, allocations: 399.7 kB / 0.5106 GB, free: 5.898 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002838/0.3573, allocations: 1.08 MB / 0.5116 GB, free: 5.898 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002968/0.3603, allocations: 2.024 MB / 0.5136 GB, free: 5.676 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003811/0.3641, allocations: 2.424 MB / 0.516 GB, free: 4.617 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009137/0.3732, allocations: 7.737 MB / 0.5235 GB, free: 1.594 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.3732, allocations: 0 / 0.5235 GB, free: 1.594 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3732, allocations: 0 / 0.5235 GB, free: 1.594 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002523/0.3735, allocations: 0 / 0.5235 GB, free: 1.594 MB / 366.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.01437/0.3879, allocations: 5.043 MB / 0.5284 GB, free: 14.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.3879, allocations: 7.906 kB / 0.5284 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001499/0.3894, allocations: 0.6302 MB / 0.5291 GB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08638/0.4758, allocations: 9.263 MB / 0.5381 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01079/0.4866, allocations: 4.222 MB / 0.5422 GB, free: 4.695 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002435/0.4868, allocations: 213 kB / 0.5424 GB, free: 4.516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001369/0.4882, allocations: 300.1 kB / 0.5427 GB, free: 4.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01747/0.5057, allocations: 8.386 MB / 0.5509 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002465/0.5059, allocations: 43.94 kB / 0.551 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001016/0.5069, allocations: 137.5 kB / 0.5511 GB, free: 11.28 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002517/0.5094, allocations: 1.568 MB / 0.5526 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01396/0.5234, allocations: 6.628 MB / 0.5591 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0453/0.5687, allocations: 32.51 MB / 0.5908 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004186/0.5729, allocations: 1.633 MB / 0.5924 GB, free: 476 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/0.5739, allocations: 0.6139 MB / 0.593 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005586/0.5795, allocations: 2.611 MB / 0.5956 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.016e-05/0.5796, allocations: 50.34 kB / 0.5956 GB, free: 13.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=114): time 4.478e-06/0.5796, allocations: 0 / 0.5956 GB, free: 13.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=134): time 0.0194/0.599, allocations: 7.69 MB / 0.6031 GB, free: 5.461 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001814/0.5992, allocations: 272.3 kB / 0.6034 GB, free: 5.137 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008286/0.6075, allocations: 4.133 MB / 0.6074 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002031/0.6077, allocations: 45.7 kB / 0.6075 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002893/0.6106, allocations: 3.073 MB / 0.6105 GB, free: 13.87 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007426/0.6113, allocations: 0.5654 MB / 0.611 GB, free: 13.31 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002109/0.6134, allocations: 1.044 MB / 0.6121 GB, free: 12.26 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.6135, allocations: 309.1 kB / 0.6123 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002415/0.616, allocations: 1.373 MB / 0.6137 GB, free: 10.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00528/0.6212, allocations: 4.75 MB / 0.6183 GB, free: 4.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008211/0.6294, allocations: 6.677 MB / 0.6248 GB, free: 12.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001124/0.6296, allocations: 32 kB / 0.6249 GB, free: 12.17 MB / 478.1 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.01123/0.6408, allocations: 5.916 MB / 0.6307 GB, free: 6.246 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001369/0.6409, allocations: 58.81 kB / 0.6307 GB, free: 6.191 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001837/0.6411, allocations: 116 kB / 0.6308 GB, free: 6.078 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001993/0.6413, allocations: 159.9 kB / 0.631 GB, free: 5.922 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003668/0.645, allocations: 1.22 MB / 0.6322 GB, free: 4.699 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002344/0.6452, allocations: 227.2 kB / 0.6324 GB, free: 4.477 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003711/0.6489, allocations: 263.7 kB / 0.6326 GB, free: 4.219 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007083/0.6496, allocations: 323 kB / 0.6329 GB, free: 3.906 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.003997/0.6536, allocations: 2.025 MB / 0.6349 GB, free: 1.867 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008296/0.6545, allocations: 361.6 kB / 0.6353 GB, free: 1.512 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/0.6556, allocations: 398.2 kB / 0.6356 GB, free: 1.117 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.041e-05/0.6556, allocations: 16 kB / 0.6357 GB, free: 1.102 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/0.6556, allocations: 7.984 kB / 0.6357 GB, free: 1.094 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/0.6556, allocations: 11.92 kB / 0.6357 GB, free: 1.082 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.01183/0.6675, allocations: 5.283 MB / 0.6408 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.245e-05/0.6675, allocations: 12.06 kB / 0.6409 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008961/0.6684, allocations: 239.6 kB / 0.6411 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.941e-05/0.6684, allocations: 16 kB / 0.6411 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/0.6685, allocations: 43.98 kB / 0.6411 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.069e-05/0.6686, allocations: 19.94 kB / 0.6412 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.711e-05/0.6686, allocations: 19.94 kB / 0.6412 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004045/0.6726, allocations: 2.921 MB / 0.644 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001618/0.6743, allocations: 477.3 kB / 0.6445 GB, free: 7.656 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008092/0.6751, allocations: 36.75 kB / 0.6445 GB, free: 7.621 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001529/0.6766, allocations: 55.95 kB / 0.6446 GB, free: 7.566 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/0.6768, allocations: 111.6 kB / 0.6447 GB, free: 7.457 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/0.6769, allocations: 59.98 kB / 0.6447 GB, free: 7.398 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005645/0.6826, allocations: 2.626 MB / 0.6473 GB, free: 4.762 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6826, allocations: 0 / 0.6473 GB, free: 4.762 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005193/0.6877, allocations: 0.8124 MB / 0.6481 GB, free: 3.949 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.004901/0.6926, allocations: 3.574 MB / 0.6516 GB, free: 196 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00575/0.6984, allocations: 3.12 MB / 0.6546 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.428e-05/0.6984, allocations: 4 kB / 0.6546 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.6994, allocations: 0.6112 MB / 0.6552 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004177/0.7036, allocations: 0.56 MB / 0.6558 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06988/0.7735, allocations: 38.73 MB / 0.6936 GB, free: 15.92 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004206/0.7777, allocations: 3.121 MB / 0.6966 GB, free: 12.77 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003851/0.7815, allocations: 1.639 MB / 0.6982 GB, free: 11.12 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002636/0.7842, allocations: 1.761 MB / 0.7 GB, free: 9.359 MB / 0.545 GB Notification: Performance of SimCode: time 1.162e-06/0.7842, allocations: 0 / 0.7 GB, free: 9.359 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3101/1.094, allocations: 65.98 MB / 0.7644 GB, free: 161.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.49/17.59, allocations: 10.12 kB / 0.7644 GB, free: 161.7 MB / 0.545 GB " [Timeout remaining time 642] (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: 20.17736658398644] Failed to read output from testmodel.py, exit status != 0: 17.69854524699622 17.709255719 17.333474981 Calling exit ...