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.001161/0.001161, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001215/0.001215, allocations: 194.3 kB / 16.14 MB, free: 6.664 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.197/1.197, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1242/0.1242, allocations: 6.484 MB / 296.4 MB, free: 2.773 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001048/0.001048, allocations: 63.91 kB / 358.2 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07923/0.08029, allocations: 50.85 MB / 409 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.1648/0.2451, allocations: 39.57 MB / 448.6 MB, free: 23.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0131/0.2582, allocations: 9.298 MB / 457.9 MB, free: 17.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004901/0.2632, allocations: 175.9 kB / 458 MB, free: 17.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00339/0.2666, allocations: 2.41 MB / 460.5 MB, free: 16.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003176/0.2698, allocations: 1.824 MB / 462.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.271, allocations: 0.6923 MB / 463 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005644/0.2766, allocations: 7.558 MB / 470.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003213/0.2798, allocations: 3.308 MB / 473.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001922/0.2818, allocations: 1.433 MB / 475.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002712/0.2845, allocations: 2.346 MB / 477.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000812/0.2853, allocations: 230.9 kB / 477.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00204/0.2874, allocations: 1.059 MB / 478.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002008/0.2894, allocations: 1.82 MB / 480.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00338/0.2928, allocations: 2.21 MB / 482.9 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007064/0.2998, allocations: 7.405 MB / 490.3 MB, free: 5.254 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2999, allocations: 4 kB / 490.3 MB, free: 5.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.2999, allocations: 0 / 490.3 MB, free: 5.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001387/0.3, allocations: 0 / 490.3 MB, free: 5.25 MB / 350.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.009015/0.3091, allocations: 4.986 MB / 495.3 MB, free: 1.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.3091, allocations: 9.125 kB / 495.3 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006033/0.3097, allocations: 0.6331 MB / 496 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08674/0.3965, allocations: 9.234 MB / 0.4934 GB, free: 9.828 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00797/0.4045, allocations: 4.211 MB / 0.4975 GB, free: 5.559 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.4046, allocations: 225.8 kB / 0.4977 GB, free: 5.336 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005089/0.4051, allocations: 299.6 kB / 0.498 GB, free: 5.043 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01072/0.4158, allocations: 8.372 MB / 0.5062 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-05/0.416, allocations: 47.64 kB / 0.5062 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003218/0.4163, allocations: 143.9 kB / 0.5063 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002066/0.4184, allocations: 1.556 MB / 0.5079 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01089/0.4293, allocations: 6.642 MB / 0.5143 GB, free: 3.656 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03233/0.4616, allocations: 32.8 MB / 0.5464 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003611/0.4653, allocations: 2.158 MB / 0.5485 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008314/0.4661, allocations: 0.673 MB / 0.5491 GB, free: 14.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00414/0.4703, allocations: 3.073 MB / 0.5521 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.4703, allocations: 47.06 kB / 0.5522 GB, free: 11.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=114): time 3.206e-06/0.4703, allocations: 0 / 0.5522 GB, free: 11.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=134): time 0.01649/0.4868, allocations: 7.608 MB / 0.5596 GB, free: 3.809 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/0.487, allocations: 281.7 kB / 0.5599 GB, free: 3.469 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006402/0.4934, allocations: 4.128 MB / 0.5639 GB, free: 15.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.531e-05/0.4935, allocations: 41.7 kB / 0.564 GB, free: 15.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001831/0.4954, allocations: 2.969 MB / 0.5669 GB, free: 12.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004311/0.4958, allocations: 0.5325 MB / 0.5674 GB, free: 11.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001086/0.4969, allocations: 1.043 MB / 0.5684 GB, free: 10.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.145e-05/0.497, allocations: 301.1 kB / 0.5687 GB, free: 10.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/0.4987, allocations: 1.373 MB / 0.57 GB, free: 8.988 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003475/0.5022, allocations: 4.756 MB / 0.5747 GB, free: 2.527 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1497/0.6519, allocations: 6.667 MB / 0.5812 GB, free: 119.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-05/0.652, allocations: 31.31 kB / 0.5812 GB, free: 119.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.007221/0.6593, allocations: 5.892 MB / 0.587 GB, free: 118.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.584e-05/0.6593, allocations: 55.78 kB / 0.587 GB, free: 118.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.987e-05/0.6594, allocations: 123.3 kB / 0.5871 GB, free: 118.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00011/0.6595, allocations: 166.7 kB / 0.5873 GB, free: 118.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00275/0.6623, allocations: 1.218 MB / 0.5885 GB, free: 118.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001181/0.6624, allocations: 230.5 kB / 0.5887 GB, free: 118.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002946/0.6654, allocations: 255.2 kB / 0.5889 GB, free: 118.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002819/0.6657, allocations: 323.9 kB / 0.5892 GB, free: 118.3 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002371/0.668, allocations: 2.019 MB / 0.5912 GB, free: 117.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003984/0.6684, allocations: 347.7 kB / 0.5916 GB, free: 117.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004893/0.6689, allocations: 402.1 kB / 0.5919 GB, free: 117.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.669, allocations: 17 kB / 0.592 GB, free: 117.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.669, allocations: 2.656 kB / 0.592 GB, free: 117.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.669, allocations: 6.938 kB / 0.592 GB, free: 117.2 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.005742/0.6747, allocations: 5.318 MB / 0.5972 GB, free: 114.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.6748, allocations: 13.06 kB / 0.5972 GB, free: 114.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006799/0.6754, allocations: 232.8 kB / 0.5974 GB, free: 114.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/0.6755, allocations: 19.41 kB / 0.5974 GB, free: 114.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.762e-05/0.6755, allocations: 39.61 kB / 0.5974 GB, free: 114.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.246e-05/0.6755, allocations: 23.75 kB / 0.5975 GB, free: 114.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-06/0.6756, allocations: 19.97 kB / 0.5975 GB, free: 114.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/0.6779, allocations: 2.906 MB / 0.6003 GB, free: 113.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007129/0.6786, allocations: 0.5224 MB / 0.6008 GB, free: 112.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003002/0.6789, allocations: 39.25 kB / 0.6009 GB, free: 112.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009529/0.6798, allocations: 55.12 kB / 0.6009 GB, free: 112.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.68, allocations: 120.4 kB / 0.601 GB, free: 112.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.669e-05/0.6801, allocations: 51.81 kB / 0.6011 GB, free: 112.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002604/0.6827, allocations: 2.633 MB / 0.6037 GB, free: 111.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6827, allocations: 0 / 0.6037 GB, free: 111.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00325/0.6859, allocations: 0.8026 MB / 0.6044 GB, free: 111.7 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 (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.002598/0.6885, allocations: 3.551 MB / 0.6079 GB, free: 109.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003729/0.6923, allocations: 3.201 MB / 0.611 GB, free: 108.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.6923, allocations: 3.531 kB / 0.611 GB, free: 108.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000708/0.693, allocations: 0.661 MB / 0.6117 GB, free: 108.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002521/0.6955, allocations: 0.5315 MB / 0.6122 GB, free: 107.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05583/0.7514, allocations: 46.07 MB / 0.6572 GB, free: 67.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00353/0.7549, allocations: 3.11 MB / 0.6602 GB, free: 64.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003493/0.7584, allocations: 1.641 MB / 0.6618 GB, free: 63.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001649/0.7601, allocations: 1.762 MB / 0.6636 GB, free: 62 MB / 446.1 MB Notification: Performance of SimCode: time 7.71e-07/0.7601, allocations: 0 / 0.6636 GB, free: 62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06923/0.8294, allocations: 63.51 MB / 0.7256 GB, free: 1.668 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001346/0.8295, allocations: 193.2 kB / 0.7258 GB, free: 1.414 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.929/3.758, allocations: 0 / 0.7258 GB, free: 1.414 MB / 446.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)