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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004838/0.004838, allocations: 97.34 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 192.2 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1255/0.1255, allocations: 6.486 MB / 297 MB, free: 2.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 63.89 kB / 410.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2177, allocations: 50.86 MB / 461.3 MB, free: 18.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.009849/0.2276, allocations: 11.62 MB / 472.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007462/0.2351, allocations: 4.387 MB / 477.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001602/0.2368, allocations: 72.34 kB / 477.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004112/0.2409, allocations: 2.434 MB / 479.8 MB, free: 6.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004591/0.2455, allocations: 1.95 MB / 481.7 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.2471, allocations: 0.7647 MB / 482.5 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00661/0.2537, allocations: 5.551 MB / 488.1 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00354/0.2573, allocations: 3.504 MB / 491.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002852/0.2602, allocations: 1.671 MB / 493.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003452/0.2637, allocations: 2.252 MB / 495.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008039/0.2645, allocations: 397.4 kB / 495.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002448/0.2669, allocations: 1.167 MB / 497 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002022/0.269, allocations: 1.964 MB / 499 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002964/0.2719, allocations: 2.405 MB / 0.4897 GB, free: 7.957 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008905/0.2809, allocations: 7.761 MB / 0.4972 GB, free: 172 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.2809, allocations: 3.938 kB / 0.4972 GB, free: 168 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2809, allocations: 0 / 0.4972 GB, free: 168 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001713/0.2811, allocations: 0 / 0.4972 GB, free: 168 kB / 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.01159/0.2927, allocations: 5.121 MB / 0.5022 GB, free: 10.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.2927, allocations: 12.03 kB / 0.5023 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009003/0.2937, allocations: 0.6325 MB / 0.5029 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1083/0.402, allocations: 9.267 MB / 0.5119 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008946/0.411, allocations: 4.287 MB / 0.5161 GB, free: 12.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/0.4112, allocations: 221.6 kB / 0.5163 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006249/0.4118, allocations: 295.8 kB / 0.5166 GB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01233/0.4241, allocations: 8.376 MB / 0.5248 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001139/0.4243, allocations: 55.58 kB / 0.5248 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003475/0.4246, allocations: 135.9 kB / 0.525 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002381/0.427, allocations: 1.56 MB / 0.5265 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01164/0.4387, allocations: 6.638 MB / 0.533 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0391/0.4778, allocations: 32.73 MB / 0.5649 GB, free: 8.973 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004313/0.4821, allocations: 2.15 MB / 0.567 GB, free: 6.676 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009877/0.4832, allocations: 0.6746 MB / 0.5677 GB, free: 5.992 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004619/0.4878, allocations: 3.078 MB / 0.5707 GB, free: 2.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.4878, allocations: 43.12 kB / 0.5707 GB, free: 2.719 MB / 446.1 MB Notification: Performance of pre-optimization done (n=114): time 3.577e-06/0.4879, allocations: 0 / 0.5707 GB, free: 2.719 MB / 446.1 MB Notification: Performance of matching and sorting (n=134): time 0.01692/0.5048, allocations: 7.845 MB / 0.5784 GB, free: 10.78 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001588/0.505, allocations: 273.7 kB / 0.5787 GB, free: 10.45 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005711/0.5107, allocations: 4.133 MB / 0.5827 GB, free: 6.293 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001263/0.5108, allocations: 53.64 kB / 0.5827 GB, free: 6.234 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002487/0.5133, allocations: 3.071 MB / 0.5857 GB, free: 3.133 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005383/0.5139, allocations: 0.5545 MB / 0.5863 GB, free: 2.574 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001269/0.5151, allocations: 1.052 MB / 0.5873 GB, free: 1.512 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.5153, allocations: 301.1 kB / 0.5876 GB, free: 1.215 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1719/0.6872, allocations: 1.37 MB / 0.5889 GB, free: 110.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003416/0.6906, allocations: 4.759 MB / 0.5936 GB, free: 105.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005487/0.6961, allocations: 6.674 MB / 0.6001 GB, free: 99.54 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.493e-05/0.6962, allocations: 33.75 kB / 0.6001 GB, free: 99.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.008113/0.7044, allocations: 5.913 MB / 0.6059 GB, free: 97.41 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.902e-05/0.7045, allocations: 55.91 kB / 0.606 GB, free: 97.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000122/0.7046, allocations: 119.3 kB / 0.6061 GB, free: 97.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001655/0.7048, allocations: 163.8 kB / 0.6062 GB, free: 97.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003154/0.7079, allocations: 1.223 MB / 0.6074 GB, free: 97.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001794/0.7081, allocations: 233.8 kB / 0.6076 GB, free: 97.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002857/0.711, allocations: 254.1 kB / 0.6079 GB, free: 97.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003356/0.7113, allocations: 320.8 kB / 0.6082 GB, free: 97.08 MB / 462.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.00237/0.7137, allocations: 2.018 MB / 0.6102 GB, free: 96.16 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000438/0.7141, allocations: 361.2 kB / 0.6105 GB, free: 96.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006008/0.7147, allocations: 403 kB / 0.6109 GB, free: 95.97 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/0.7148, allocations: 15.84 kB / 0.6109 GB, free: 95.97 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.7148, allocations: 1.25 kB / 0.6109 GB, free: 95.97 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.7148, allocations: 7.016 kB / 0.6109 GB, free: 95.97 MB / 462.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.006776/0.7216, allocations: 5.315 MB / 0.6161 GB, free: 93.54 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/0.7216, allocations: 15.81 kB / 0.6161 GB, free: 93.54 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008103/0.7224, allocations: 238.2 kB / 0.6164 GB, free: 93.51 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.835e-05/0.7225, allocations: 18.28 kB / 0.6164 GB, free: 93.51 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-05/0.7225, allocations: 38.45 kB / 0.6164 GB, free: 93.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-05/0.7226, allocations: 25.17 kB / 0.6164 GB, free: 93.49 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.304e-05/0.7226, allocations: 26.64 kB / 0.6165 GB, free: 93.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002785/0.7254, allocations: 2.919 MB / 0.6193 GB, free: 91.88 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007455/0.7261, allocations: 0.5365 MB / 0.6198 GB, free: 91.51 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003135/0.7265, allocations: 45.44 kB / 0.6199 GB, free: 91.49 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.7275, allocations: 53.94 kB / 0.6199 GB, free: 91.48 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/0.7277, allocations: 116.4 kB / 0.62 GB, free: 91.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.923e-05/0.7278, allocations: 52.97 kB / 0.6201 GB, free: 91.43 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003319/0.7311, allocations: 2.627 MB / 0.6227 GB, free: 90.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.32e-07/0.7311, allocations: 4 kB / 0.6227 GB, free: 90.49 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003893/0.735, allocations: 0.815 MB / 0.6235 GB, free: 90.4 MB / 462.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.002769/0.7378, allocations: 3.566 MB / 0.6269 GB, free: 88.11 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003831/0.7416, allocations: 3.24 MB / 0.6301 GB, free: 87.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.7416, allocations: 3.844 kB / 0.6301 GB, free: 87.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006656/0.7423, allocations: 0.6574 MB / 0.6307 GB, free: 86.79 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002479/0.7448, allocations: 0.5515 MB / 0.6313 GB, free: 86.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03514/0.7799, allocations: 38.75 MB / 0.6691 GB, free: 46.39 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002384/0.7824, allocations: 3.106 MB / 0.6722 GB, free: 43.25 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00291/0.7853, allocations: 1.639 MB / 0.6738 GB, free: 41.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001515/0.7868, allocations: 1.765 MB / 0.6755 GB, free: 39.83 MB / 462.1 MB Notification: Performance of SimCode: time 7.32e-07/0.7868, allocations: 0 / 0.6755 GB, free: 39.83 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09261/0.8794, allocations: 61.46 MB / 0.7355 GB, free: 10.73 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.36/17.24, allocations: 6.906 kB / 0.7355 GB, free: 10.72 MB / 494.1 MB (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)