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.0007758/0.0007758, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.0008318/0.0008319, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.2046/0.2046, allocations: 6.481 MB / 297.6 MB, free: 3.676 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003537, allocations: 8 kB / 360 MB, free: 164 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1287, allocations: 51.84 MB / 411.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.3172/0.4459, allocations: 35.85 MB / 447.7 MB, free: 25.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02987/0.4759, allocations: 8.809 MB / 456.5 MB, free: 19.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01222/0.4882, allocations: 169.9 kB / 456.7 MB, free: 19.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008904/0.4971, allocations: 1.872 MB / 458.5 MB, free: 19.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0251/0.5223, allocations: 5.558 MB / 464.1 MB, free: 16.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004223/0.5265, allocations: 0.6116 MB / 464.7 MB, free: 16.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.08246/0.609, allocations: 61.07 MB / 0.5134 GB, free: 7.297 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01066/0.6198, allocations: 4.082 MB / 0.5174 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004039/0.6239, allocations: 1.339 MB / 0.5187 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004103/0.628, allocations: 2.084 MB / 0.5208 GB, free: 15.76 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001231/0.6293, allocations: 155.9 kB / 0.5209 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003051/0.6324, allocations: 0.8426 MB / 0.5217 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003167/0.6356, allocations: 1.687 MB / 0.5234 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002169/0.6378, allocations: 0.8507 MB / 0.5242 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008606/0.6464, allocations: 6.032 MB / 0.5301 GB, free: 6.168 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.6464, allocations: 8 kB / 0.5301 GB, free: 6.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6464, allocations: 0 / 0.5301 GB, free: 6.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003053/0.6468, allocations: 0 / 0.5301 GB, free: 6.16 MB / 398.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.01374/0.6605, allocations: 4.157 MB / 0.5342 GB, free: 1.934 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.6606, allocations: 11.97 kB / 0.5342 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002562/0.6631, allocations: 0.6284 MB / 0.5348 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08251/0.7457, allocations: 9.451 MB / 0.544 GB, free: 7.812 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01099/0.7567, allocations: 4.147 MB / 0.5481 GB, free: 3.609 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003185/0.7571, allocations: 213.5 kB / 0.5483 GB, free: 3.398 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001623/0.7587, allocations: 299.6 kB / 0.5486 GB, free: 3.105 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01792/0.7767, allocations: 8.382 MB / 0.5568 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002601/0.777, allocations: 51.5 kB / 0.5568 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009433/0.7779, allocations: 139.8 kB / 0.5569 GB, free: 9.918 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00251/0.7805, allocations: 1.556 MB / 0.5585 GB, free: 8.359 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01424/0.7947, allocations: 6.622 MB / 0.5649 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3625/1.157, allocations: 32.82 MB / 0.597 GB, free: 103.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004003/1.161, allocations: 2.145 MB / 0.5991 GB, free: 102.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008372/1.162, allocations: 0.6691 MB / 0.5997 GB, free: 102.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004149/1.166, allocations: 3.07 MB / 0.6027 GB, free: 101.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/1.166, allocations: 52.19 kB / 0.6028 GB, free: 101.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=114): time 3.146e-06/1.166, allocations: 4.688 kB / 0.6028 GB, free: 101.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=134): time 0.01464/1.181, allocations: 7.608 MB / 0.6102 GB, free: 98.28 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/1.181, allocations: 283.7 kB / 0.6105 GB, free: 97.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005428/1.187, allocations: 4.097 MB / 0.6145 GB, free: 96.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001009/1.187, allocations: 51.58 kB / 0.6145 GB, free: 96.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001897/1.189, allocations: 2.968 MB / 0.6174 GB, free: 94.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004488/1.189, allocations: 0.5272 MB / 0.6179 GB, free: 94.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/1.189, allocations: 107.4 kB / 0.618 GB, free: 93.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002413/1.19, allocations: 0.5224 MB / 0.6186 GB, free: 93.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001799/1.191, allocations: 1.356 MB / 0.6199 GB, free: 93.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003386/1.195, allocations: 4.731 MB / 0.6245 GB, free: 88.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003287/1.198, allocations: 2.524 MB / 0.627 GB, free: 87.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-05/1.198, allocations: 37.69 kB / 0.627 GB, free: 87.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.009527/1.208, allocations: 5.855 MB / 0.6327 GB, free: 84.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001149/1.208, allocations: 56.62 kB / 0.6328 GB, free: 84.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001752/1.208, allocations: 118.8 kB / 0.6329 GB, free: 84.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002514/1.208, allocations: 172.8 kB / 0.6331 GB, free: 84.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003533/1.212, allocations: 1.221 MB / 0.6342 GB, free: 84.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002291/1.212, allocations: 236.9 kB / 0.6345 GB, free: 84.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00369/1.216, allocations: 256.2 kB / 0.6347 GB, free: 84.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000482/1.216, allocations: 323.4 kB / 0.635 GB, free: 84.54 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004236/1.22, allocations: 2.024 MB / 0.637 GB, free: 83.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009424/1.221, allocations: 353.4 kB / 0.6373 GB, free: 83.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008957/1.222, allocations: 406.5 kB / 0.6377 GB, free: 83.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.906e-05/1.222, allocations: 15.56 kB / 0.6377 GB, free: 83.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.477e-05/1.222, allocations: 1.031 kB / 0.6377 GB, free: 83.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/1.222, allocations: 5.219 kB / 0.6377 GB, free: 83.17 MB / 446.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.01017/1.233, allocations: 5.309 MB / 0.6429 GB, free: 80.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.868e-05/1.233, allocations: 13.16 kB / 0.6429 GB, free: 80.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009215/1.234, allocations: 240.4 kB / 0.6432 GB, free: 80.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.571e-05/1.234, allocations: 18.91 kB / 0.6432 GB, free: 80.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/1.234, allocations: 41.33 kB / 0.6432 GB, free: 80.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.404e-05/1.234, allocations: 30.42 kB / 0.6433 GB, free: 80.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.287e-05/1.234, allocations: 17.62 kB / 0.6433 GB, free: 80.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004279/1.238, allocations: 2.898 MB / 0.6461 GB, free: 78.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/1.239, allocations: 0.5243 MB / 0.6466 GB, free: 78.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003417/1.24, allocations: 39.94 kB / 0.6467 GB, free: 78.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/1.241, allocations: 67.81 kB / 0.6467 GB, free: 78.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/1.241, allocations: 112.3 kB / 0.6468 GB, free: 78.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/1.241, allocations: 51.16 kB / 0.6469 GB, free: 78.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004335/1.245, allocations: 2.609 MB / 0.6494 GB, free: 77.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.5e-07/1.245, allocations: 3.812 kB / 0.6494 GB, free: 77.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005378/1.251, allocations: 0.8039 MB / 0.6502 GB, free: 77.4 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003852/1.255, allocations: 3.551 MB / 0.6537 GB, free: 75.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005612/1.26, allocations: 3.178 MB / 0.6568 GB, free: 74.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/1.26, allocations: 4 kB / 0.6568 GB, free: 74.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000876/1.261, allocations: 0.6638 MB / 0.6574 GB, free: 73.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003093/1.264, allocations: 0.5271 MB / 0.658 GB, free: 73.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05798/1.322, allocations: 30.35 MB / 0.6876 GB, free: 43.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004497/1.327, allocations: 3.119 MB / 0.6906 GB, free: 41.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004216/1.331, allocations: 1.639 MB / 0.6922 GB, free: 39.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002195/1.333, allocations: 1.761 MB / 0.694 GB, free: 38.13 MB / 446.1 MB Notification: Performance of SimCode: time 1.603e-06/1.333, allocations: 4 kB / 0.694 GB, free: 38.13 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1073/1.441, allocations: 68 MB / 0.7604 GB, free: 2.57 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002556/1.441, allocations: 172.7 kB / 0.7605 GB, free: 2.332 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.738/5.179, allocations: 3.938 kB / 0.7605 GB, free: 2.328 MB / 478.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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_StewartPlatform_StewartPlatform_Tests_ElectricCylinder_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 StewartPlatform_StewartPlatform_Tests_ElectricCylinder_test.fmu > StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe 2>&1) Environment - environmentSimulation: