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.006587/0.006587, allocations: 102 kB / 15.73 MB, free: 6.477 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.001523/0.001523, allocations: 195.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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1527/0.1527, allocations: 6.489 MB / 297 MB, free: 2.762 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 63.91 kB / 410.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2541, allocations: 50.85 MB / 461.3 MB, free: 18.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.01044/0.2646, allocations: 11.61 MB / 472.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00803/0.2727, allocations: 4.393 MB / 477.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001909/0.2746, allocations: 72.09 kB / 477.4 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004178/0.2789, allocations: 2.44 MB / 479.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005235/0.2841, allocations: 1.987 MB / 481.8 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001655/0.2858, allocations: 0.7731 MB / 482.6 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007088/0.2929, allocations: 5.541 MB / 488.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004599/0.2975, allocations: 3.509 MB / 491.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003552/0.3011, allocations: 1.689 MB / 493.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003923/0.305, allocations: 2.248 MB / 495.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001316/0.3063, allocations: 401.8 kB / 495.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003305/0.3096, allocations: 1.178 MB / 497.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002803/0.3125, allocations: 1.976 MB / 499.1 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004228/0.3167, allocations: 2.421 MB / 0.4898 GB, free: 7.859 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009197/0.3259, allocations: 7.73 MB / 0.4973 GB, free: 108 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.326, allocations: 3.938 kB / 0.4973 GB, free: 104 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.326, allocations: 0 / 0.4973 GB, free: 104 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002557/0.3262, allocations: 0 / 0.4973 GB, free: 104 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.01351/0.3397, allocations: 4.987 MB / 0.5022 GB, free: 11.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.3398, allocations: 8.031 kB / 0.5022 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001667/0.3415, allocations: 0.6325 MB / 0.5028 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08474/0.4262, allocations: 9.237 MB / 0.5118 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009694/0.436, allocations: 4.282 MB / 0.516 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002245/0.4362, allocations: 217.6 kB / 0.5162 GB, free: 12.58 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00124/0.4375, allocations: 295.7 kB / 0.5165 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0145/0.452, allocations: 8.38 MB / 0.5247 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001997/0.4522, allocations: 47.55 kB / 0.5247 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000821/0.4531, allocations: 139.9 kB / 0.5249 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002209/0.4553, allocations: 1.556 MB / 0.5264 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01201/0.4673, allocations: 6.638 MB / 0.5329 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03985/0.5072, allocations: 32.66 MB / 0.5648 GB, free: 9.152 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003971/0.5112, allocations: 2.16 MB / 0.5669 GB, free: 6.844 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009561/0.5122, allocations: 0.6703 MB / 0.5675 GB, free: 6.164 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004773/0.517, allocations: 3.066 MB / 0.5705 GB, free: 2.953 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.5171, allocations: 51.05 kB / 0.5706 GB, free: 2.895 MB / 446.1 MB Notification: Performance of pre-optimization done (n=114): time 4.418e-06/0.5171, allocations: 0 / 0.5706 GB, free: 2.895 MB / 446.1 MB Notification: Performance of matching and sorting (n=134): time 0.01689/0.534, allocations: 7.617 MB / 0.578 GB, free: 11.16 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001477/0.5342, allocations: 281.6 kB / 0.5783 GB, free: 10.82 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006641/0.5408, allocations: 4.128 MB / 0.5823 GB, free: 6.668 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001333/0.541, allocations: 45.7 kB / 0.5823 GB, free: 6.617 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002152/0.5431, allocations: 2.961 MB / 0.5852 GB, free: 3.613 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005544/0.5437, allocations: 0.5286 MB / 0.5858 GB, free: 3.078 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001478/0.5452, allocations: 1.039 MB / 0.5868 GB, free: 2.027 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.565e-05/0.5453, allocations: 305.1 kB / 0.5871 GB, free: 1.727 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001937/0.5473, allocations: 1.38 MB / 0.5884 GB, free: 348 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2107/0.758, allocations: 4.743 MB / 0.593 GB, free: 106.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007186/0.7652, allocations: 6.683 MB / 0.5996 GB, free: 100.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001147/0.7654, allocations: 33.88 kB / 0.5996 GB, free: 100.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.009422/0.7748, allocations: 5.89 MB / 0.6053 GB, free: 98.16 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.486e-05/0.7749, allocations: 55.62 kB / 0.6054 GB, free: 98.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001561/0.7751, allocations: 118.9 kB / 0.6055 GB, free: 98.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001932/0.7753, allocations: 161.6 kB / 0.6057 GB, free: 98.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003139/0.7785, allocations: 1.22 MB / 0.6069 GB, free: 98.01 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002042/0.7787, allocations: 232.5 kB / 0.6071 GB, free: 97.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002911/0.7816, allocations: 255.9 kB / 0.6073 GB, free: 97.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003911/0.782, allocations: 321.6 kB / 0.6076 GB, free: 97.84 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.002744/0.7847, allocations: 2.032 MB / 0.6096 GB, free: 96.91 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005596/0.7853, allocations: 343.8 kB / 0.6099 GB, free: 96.91 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006448/0.786, allocations: 404.1 kB / 0.6103 GB, free: 96.73 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.476e-05/0.786, allocations: 15.16 kB / 0.6103 GB, free: 96.73 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/0.786, allocations: 2.719 kB / 0.6103 GB, free: 96.73 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.786, allocations: 7.062 kB / 0.6104 GB, free: 96.73 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.007426/0.7935, allocations: 5.299 MB / 0.6155 GB, free: 94.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-05/0.7935, allocations: 11.88 kB / 0.6155 GB, free: 94.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008186/0.7943, allocations: 233.9 kB / 0.6158 GB, free: 94.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-05/0.7944, allocations: 21.56 kB / 0.6158 GB, free: 94.27 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.417e-05/0.7944, allocations: 45.28 kB / 0.6158 GB, free: 94.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.589e-05/0.7945, allocations: 28.95 kB / 0.6159 GB, free: 94.24 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.275e-05/0.7945, allocations: 17.66 kB / 0.6159 GB, free: 94.23 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003192/0.7977, allocations: 2.9 MB / 0.6187 GB, free: 92.65 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009696/0.7987, allocations: 0.5214 MB / 0.6192 GB, free: 92.29 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002803/0.7989, allocations: 39.25 kB / 0.6192 GB, free: 92.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.8, allocations: 54.88 kB / 0.6193 GB, free: 92.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.8001, allocations: 116.3 kB / 0.6194 GB, free: 92.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.202e-05/0.8002, allocations: 53.41 kB / 0.6195 GB, free: 92.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003939/0.8042, allocations: 2.627 MB / 0.622 GB, free: 91.27 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.8042, allocations: 3.75 kB / 0.622 GB, free: 91.27 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004578/0.8088, allocations: 0.8133 MB / 0.6228 GB, free: 91.18 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.003165/0.8119, allocations: 3.554 MB / 0.6263 GB, free: 88.89 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004308/0.8163, allocations: 3.246 MB / 0.6295 GB, free: 87.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.8163, allocations: 4.062 kB / 0.6295 GB, free: 87.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007076/0.817, allocations: 0.6589 MB / 0.6301 GB, free: 87.57 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002749/0.8198, allocations: 0.556 MB / 0.6307 GB, free: 87.34 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03993/0.8597, allocations: 38.56 MB / 0.6683 GB, free: 47.28 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002378/0.8621, allocations: 3.113 MB / 0.6714 GB, free: 44.13 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002961/0.8651, allocations: 1.634 MB / 0.6729 GB, free: 42.49 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001511/0.8666, allocations: 1.768 MB / 0.6747 GB, free: 40.72 MB / 462.1 MB Notification: Performance of SimCode: time 8.82e-07/0.8667, allocations: 0 / 0.6747 GB, free: 40.72 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09248/0.9591, allocations: 61.46 MB / 0.7347 GB, free: 11.63 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.92/16.88, allocations: 11.03 kB / 0.7347 GB, free: 11.62 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 & /home/hudson/saved_omc/OMSimulator/install/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)