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.008269/0.008269, allocations: 97.03 kB / 15.73 MB, free: 6.484 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.001821/0.001821, allocations: 191.6 kB / 16.67 MB, free: 6.391 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1626/0.1626, allocations: 6.486 MB / 297 MB, free: 2.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 59.91 kB / 410.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.313, allocations: 50.84 MB / 461.3 MB, free: 18.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.01158/0.3246, allocations: 11.64 MB / 472.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009841/0.3345, allocations: 4.387 MB / 477.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003134/0.3377, allocations: 71.34 kB / 477.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005317/0.343, allocations: 2.436 MB / 479.8 MB, free: 6.383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006519/0.3497, allocations: 1.99 MB / 481.8 MB, free: 5.449 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002003/0.3517, allocations: 0.7708 MB / 482.6 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008659/0.3603, allocations: 5.547 MB / 488.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004527/0.3649, allocations: 3.52 MB / 491.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004422/0.3694, allocations: 1.685 MB / 493.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005428/0.3749, allocations: 2.252 MB / 495.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002127/0.377, allocations: 404.7 kB / 496 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004433/0.3815, allocations: 1.163 MB / 497.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002858/0.3844, allocations: 1.979 MB / 499.1 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003389/0.3878, allocations: 2.409 MB / 0.4898 GB, free: 7.832 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009555/0.3973, allocations: 7.769 MB / 0.4973 GB, free: 36 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.3974, allocations: 0 / 0.4973 GB, free: 36 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3974, allocations: 0 / 0.4973 GB, free: 36 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002475/0.3977, allocations: 0 / 0.4973 GB, free: 36 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.01326/0.4109, allocations: 5.121 MB / 0.5023 GB, free: 10.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.411, allocations: 12.03 kB / 0.5024 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001137/0.4122, allocations: 0.6247 MB / 0.503 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09768/0.5098, allocations: 9.267 MB / 0.512 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01091/0.5208, allocations: 4.291 MB / 0.5162 GB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002503/0.5211, allocations: 221.6 kB / 0.5164 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001418/0.5225, allocations: 287.8 kB / 0.5167 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01461/0.5372, allocations: 8.387 MB / 0.5249 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001538/0.5374, allocations: 47.66 kB / 0.5249 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003705/0.5378, allocations: 135.9 kB / 0.5251 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002263/0.54, allocations: 1.568 MB / 0.5266 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01366/0.5537, allocations: 6.626 MB / 0.5331 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0429/0.5967, allocations: 32.74 MB / 0.565 GB, free: 8.844 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0041/0.6008, allocations: 2.152 MB / 0.5671 GB, free: 6.543 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009189/0.6018, allocations: 0.6703 MB / 0.5678 GB, free: 5.863 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00494/0.6067, allocations: 3.066 MB / 0.5708 GB, free: 2.652 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.6068, allocations: 51.06 kB / 0.5708 GB, free: 2.594 MB / 446.1 MB Notification: Performance of pre-optimization done (n=114): time 2.985e-06/0.6068, allocations: 0 / 0.5708 GB, free: 2.594 MB / 446.1 MB Notification: Performance of matching and sorting (n=134): time 0.01633/0.6231, allocations: 7.843 MB / 0.5785 GB, free: 10.65 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/0.6233, allocations: 273.6 kB / 0.5788 GB, free: 10.32 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0057/0.629, allocations: 4.141 MB / 0.5828 GB, free: 6.16 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000234/0.6293, allocations: 45.7 kB / 0.5828 GB, free: 6.109 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002416/0.6317, allocations: 3.068 MB / 0.5858 GB, free: 3.012 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006766/0.6324, allocations: 0.5544 MB / 0.5864 GB, free: 2.453 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001215/0.6336, allocations: 1.048 MB / 0.5874 GB, free: 1.395 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.6337, allocations: 305.1 kB / 0.5877 GB, free: 1.094 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.261/0.8948, allocations: 1.376 MB / 0.589 GB, free: 110.2 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005212/0.9, allocations: 4.754 MB / 0.5937 GB, free: 105.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007814/0.9079, allocations: 6.677 MB / 0.6002 GB, free: 99.55 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002221/0.9081, allocations: 34.41 kB / 0.6002 GB, free: 99.55 MB / 462.1 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.01269/0.9208, allocations: 5.909 MB / 0.606 GB, free: 97.42 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.921, allocations: 56.94 kB / 0.6061 GB, free: 97.42 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002372/0.9212, allocations: 119.2 kB / 0.6062 GB, free: 97.42 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000263/0.9215, allocations: 160.2 kB / 0.6063 GB, free: 97.42 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004164/0.9257, allocations: 1.228 MB / 0.6075 GB, free: 97.26 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002665/0.926, allocations: 232.8 kB / 0.6077 GB, free: 97.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004362/0.9303, allocations: 251.5 kB / 0.608 GB, free: 97.13 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008478/0.9312, allocations: 321 kB / 0.6083 GB, free: 97.09 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.00413/0.9353, allocations: 2.021 MB / 0.6103 GB, free: 96.18 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008221/0.9362, allocations: 362.2 kB / 0.6106 GB, free: 96.18 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008846/0.9371, allocations: 401.8 kB / 0.611 GB, free: 95.99 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.806e-05/0.9371, allocations: 19.42 kB / 0.611 GB, free: 95.99 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.675e-05/0.9371, allocations: 1.219 kB / 0.611 GB, free: 95.99 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/0.9371, allocations: 6.531 kB / 0.611 GB, free: 95.99 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.009832/0.947, allocations: 5.321 MB / 0.6162 GB, free: 93.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.759e-05/0.9471, allocations: 12.7 kB / 0.6162 GB, free: 93.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009225/0.948, allocations: 234.8 kB / 0.6165 GB, free: 93.53 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.57e-05/0.948, allocations: 21.66 kB / 0.6165 GB, free: 93.52 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.699e-05/0.9481, allocations: 40.45 kB / 0.6165 GB, free: 93.51 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.784e-05/0.9481, allocations: 25.19 kB / 0.6165 GB, free: 93.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.601e-05/0.9482, allocations: 21.59 kB / 0.6166 GB, free: 93.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003936/0.9521, allocations: 2.919 MB / 0.6194 GB, free: 91.89 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/0.9534, allocations: 0.5367 MB / 0.6199 GB, free: 91.52 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003558/0.9538, allocations: 40.95 kB / 0.62 GB, free: 91.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.9549, allocations: 62.5 kB / 0.62 GB, free: 91.48 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001974/0.9551, allocations: 112.5 kB / 0.6201 GB, free: 91.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.18e-05/0.9552, allocations: 52.28 kB / 0.6202 GB, free: 91.44 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004617/0.9598, allocations: 2.628 MB / 0.6228 GB, free: 90.51 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.9598, allocations: 0 / 0.6228 GB, free: 90.51 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005409/0.9652, allocations: 0.8139 MB / 0.6235 GB, free: 90.41 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.00334/0.9686, allocations: 3.57 MB / 0.627 GB, free: 88.12 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004635/0.9732, allocations: 3.24 MB / 0.6302 GB, free: 87.03 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/0.9733, allocations: 3.875 kB / 0.6302 GB, free: 87.03 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007692/0.974, allocations: 0.6597 MB / 0.6308 GB, free: 86.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002981/0.977, allocations: 0.5616 MB / 0.6314 GB, free: 86.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0531/1.03, allocations: 38.72 MB / 0.6692 GB, free: 46.23 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004891/1.035, allocations: 3.113 MB / 0.6723 GB, free: 43.09 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003786/1.039, allocations: 1.631 MB / 0.6738 GB, free: 41.45 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002286/1.041, allocations: 1.768 MB / 0.6756 GB, free: 39.68 MB / 462.1 MB Notification: Performance of SimCode: time 1.503e-06/1.041, allocations: 3.938 kB / 0.6756 GB, free: 39.67 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1021/1.143, allocations: 61.46 MB / 0.7356 GB, free: 10.57 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.49/20.64, allocations: 3.938 kB / 0.7356 GB, free: 10.57 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)