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.001501/0.001501, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 191.8 kB / 16.53 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.294/1.294, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1281/0.1281, allocations: 6.482 MB / 296.9 MB, free: 2.73 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001402, allocations: 59.91 kB / 358.8 MB, free: 168 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08524/0.08666, allocations: 50.86 MB / 409.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.01099/0.09769, allocations: 11.63 MB / 421.3 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1492/0.247, allocations: 4.366 MB / 425.7 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.2481, allocations: 76 kB / 425.8 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003156/0.2513, allocations: 2.427 MB / 428.2 MB, free: 35.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003089/0.2544, allocations: 1.951 MB / 430.2 MB, free: 34.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.2556, allocations: 0.7648 MB / 430.9 MB, free: 34.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00524/0.2608, allocations: 5.553 MB / 436.5 MB, free: 33.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003236/0.2641, allocations: 3.524 MB / 440 MB, free: 32.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001465/0.2655, allocations: 1.663 MB / 441.7 MB, free: 31.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001685/0.2672, allocations: 2.25 MB / 443.9 MB, free: 30.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004338/0.2677, allocations: 399.2 kB / 444.3 MB, free: 30.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001444/0.2691, allocations: 1.167 MB / 445.5 MB, free: 30.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001016/0.2702, allocations: 1.958 MB / 447.4 MB, free: 29.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001358/0.2715, allocations: 2.411 MB / 449.8 MB, free: 28.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004384/0.2759, allocations: 7.528 MB / 457.4 MB, free: 25.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2759, allocations: 4 kB / 457.4 MB, free: 25.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2759, allocations: 3.344 kB / 457.4 MB, free: 25.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.715e-05/0.276, allocations: 4.5 kB / 457.4 MB, free: 25.59 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.008436/0.2845, allocations: 4.983 MB / 462.4 MB, free: 22.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.2845, allocations: 9.156 kB / 462.4 MB, free: 22.9 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006842/0.2852, allocations: 0.6303 MB / 463 MB, free: 22.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1018/0.387, allocations: 9.24 MB / 472.2 MB, free: 20.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007879/0.3949, allocations: 4.214 MB / 476.4 MB, free: 18.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.395, allocations: 215.5 kB / 476.7 MB, free: 18.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005099/0.3955, allocations: 299.8 kB / 477 MB, free: 18.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009465/0.405, allocations: 8.375 MB / 485.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-05/0.4051, allocations: 51.55 kB / 485.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000286/0.4054, allocations: 134.9 kB / 485.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001689/0.4071, allocations: 1.564 MB / 487.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008436/0.4156, allocations: 6.633 MB / 493.7 MB, free: 3.535 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02924/0.4448, allocations: 32.8 MB / 0.5142 GB, free: 1.824 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003733/0.4486, allocations: 2.154 MB / 0.5163 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008507/0.4495, allocations: 0.671 MB / 0.5169 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003921/0.4534, allocations: 3.069 MB / 0.5199 GB, free: 11.65 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.4534, allocations: 51.05 kB / 0.52 GB, free: 11.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=114): time 3.427e-06/0.4534, allocations: 0 / 0.52 GB, free: 11.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=134): time 0.01522/0.4687, allocations: 7.615 MB / 0.5274 GB, free: 3.863 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.4688, allocations: 285.5 kB / 0.5277 GB, free: 3.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005479/0.4743, allocations: 4.124 MB / 0.5317 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.364e-05/0.4744, allocations: 41.7 kB / 0.5318 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001819/0.4762, allocations: 2.96 MB / 0.5346 GB, free: 12.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004044/0.4766, allocations: 0.5411 MB / 0.5352 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001144/0.4778, allocations: 1.035 MB / 0.5362 GB, free: 10.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.563e-05/0.4779, allocations: 305.1 kB / 0.5365 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00187/0.4797, allocations: 1.376 MB / 0.5378 GB, free: 9.098 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003636/0.4834, allocations: 4.752 MB / 0.5425 GB, free: 2.637 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005992/0.4894, allocations: 6.672 MB / 0.549 GB, free: 10.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.758e-05/0.4895, allocations: 36 kB / 0.549 GB, free: 10.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.008349/0.4978, allocations: 5.891 MB / 0.5548 GB, free: 4.371 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.467e-05/0.4979, allocations: 56.22 kB / 0.5548 GB, free: 4.316 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001398/0.4981, allocations: 127.9 kB / 0.5549 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001396/0.4982, allocations: 156 kB / 0.5551 GB, free: 4.039 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003202/0.5014, allocations: 1.224 MB / 0.5563 GB, free: 2.812 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001633/0.5016, allocations: 231.1 kB / 0.5565 GB, free: 2.586 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002906/0.5045, allocations: 254.5 kB / 0.5567 GB, free: 2.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003444/0.5049, allocations: 320 kB / 0.557 GB, free: 2.027 MB / 430.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.002555/0.5074, allocations: 2.03 MB / 0.559 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006101/0.5081, allocations: 343.5 kB / 0.5594 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006964/0.5088, allocations: 406.2 kB / 0.5597 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/0.5088, allocations: 15.94 kB / 0.5598 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.5088, allocations: 4 kB / 0.5598 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.5088, allocations: 3.984 kB / 0.5598 GB, free: 15.22 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.008119/0.5169, allocations: 5.314 MB / 0.565 GB, free: 9.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.83e-05/0.517, allocations: 12 kB / 0.565 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008124/0.5178, allocations: 235.6 kB / 0.5652 GB, free: 9.438 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.945e-05/0.5178, allocations: 16 kB / 0.5652 GB, free: 9.422 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.536e-05/0.5179, allocations: 40 kB / 0.5652 GB, free: 9.383 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-05/0.5179, allocations: 31.92 kB / 0.5653 GB, free: 9.352 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.179e-05/0.518, allocations: 24.25 kB / 0.5653 GB, free: 9.328 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003098/0.5211, allocations: 2.897 MB / 0.5681 GB, free: 6.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009871/0.5221, allocations: 0.5238 MB / 0.5686 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000534/0.5226, allocations: 34.42 kB / 0.5687 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/0.5239, allocations: 59.95 kB / 0.5687 GB, free: 5.613 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/0.524, allocations: 115.6 kB / 0.5688 GB, free: 5.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.139e-05/0.5241, allocations: 55.98 kB / 0.5689 GB, free: 5.445 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003662/0.5278, allocations: 2.626 MB / 0.5715 GB, free: 2.809 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5278, allocations: 0 / 0.5715 GB, free: 2.809 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003642/0.5314, allocations: 0.8112 MB / 0.5723 GB, free: 2 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.1647/0.6962, allocations: 3.546 MB / 0.5757 GB, free: 122.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004155/0.7003, allocations: 3.349 MB / 0.579 GB, free: 122.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/0.7003, allocations: 0 / 0.579 GB, free: 122.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006508/0.701, allocations: 0.6681 MB / 0.5796 GB, free: 122.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0028/0.7038, allocations: 0.5487 MB / 0.5802 GB, free: 122.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03694/0.7408, allocations: 44.44 MB / 0.6236 GB, free: 88.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002719/0.7435, allocations: 3.114 MB / 0.6266 GB, free: 87.08 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003857/0.7474, allocations: 1.633 MB / 0.6282 GB, free: 86.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001549/0.7489, allocations: 1.764 MB / 0.6299 GB, free: 85.5 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.749, allocations: 0 / 0.6299 GB, free: 85.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.574/3.323, allocations: 64.7 MB / 0.6931 GB, free: 32.74 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/13.87, allocations: 15.88 kB / 0.6931 GB, free: 32.72 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)