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.004634/0.004635, allocations: 104.6 kB / 15.73 MB, free: 5.578 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.001066/0.001066, allocations: 189.8 kB / 16.67 MB, free: 5.516 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.293/1.293, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.02932/0.02932, allocations: 6.493 MB / 297 MB, free: 8.359 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 63.89 kB / 410.4 MB, free: 25.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.092/0.09317, allocations: 50.86 MB / 461.3 MB, free: 6.246 MB / 334.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.01198/0.1052, allocations: 11.62 MB / 472.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008145/0.1134, allocations: 4.388 MB / 477.3 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00175/0.1152, allocations: 71.75 kB / 477.4 MB, free: 6.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004368/0.1196, allocations: 2.433 MB / 479.8 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004719/0.1243, allocations: 1.996 MB / 481.8 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.126, allocations: 0.7644 MB / 482.5 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006913/0.1329, allocations: 5.555 MB / 488.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003875/0.1368, allocations: 3.505 MB / 491.6 MB, free: 7.766 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002616/0.1394, allocations: 1.69 MB / 493.3 MB, free: 6.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002883/0.1423, allocations: 2.247 MB / 495.5 MB, free: 3.816 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006705/0.143, allocations: 400 kB / 495.9 MB, free: 3.426 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001893/0.1449, allocations: 1.174 MB / 497.1 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001686/0.1466, allocations: 1.964 MB / 499.1 MB, free: 288 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002599/0.1492, allocations: 2.417 MB / 0.4897 GB, free: 13.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007967/0.1572, allocations: 7.749 MB / 0.4973 GB, free: 6.078 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.1572, allocations: 0 / 0.4973 GB, free: 6.078 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1573, allocations: 0 / 0.4973 GB, free: 6.078 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001887/0.1574, allocations: 0 / 0.4973 GB, free: 6.078 MB / 382.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.01084/0.1683, allocations: 4.979 MB / 0.5022 GB, free: 1.027 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.1684, allocations: 12.03 kB / 0.5022 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000868/0.1692, allocations: 0.6402 MB / 0.5028 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2923/0.4615, allocations: 9.228 MB / 0.5118 GB, free: 44.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009423/0.471, allocations: 4.275 MB / 0.516 GB, free: 42.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.4712, allocations: 217.3 kB / 0.5162 GB, free: 42.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005773/0.4717, allocations: 290.2 kB / 0.5165 GB, free: 42.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01041/0.4822, allocations: 8.391 MB / 0.5247 GB, free: 36.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.891e-05/0.4823, allocations: 51.48 kB / 0.5247 GB, free: 36.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002975/0.4826, allocations: 139 kB / 0.5249 GB, free: 35.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001644/0.4843, allocations: 1.555 MB / 0.5264 GB, free: 34.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009071/0.4933, allocations: 6.64 MB / 0.5329 GB, free: 27.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02911/0.5225, allocations: 32.66 MB / 0.5648 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003943/0.5265, allocations: 2.156 MB / 0.5669 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008998/0.5274, allocations: 0.6709 MB / 0.5675 GB, free: 7.172 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004819/0.5322, allocations: 3.063 MB / 0.5705 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.068e-05/0.5323, allocations: 51.06 kB / 0.5706 GB, free: 3.902 MB / 398.1 MB Notification: Performance of pre-optimization done (n=114): time 3.847e-06/0.5323, allocations: 0 / 0.5706 GB, free: 3.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=134): time 0.0173/0.5496, allocations: 7.611 MB / 0.578 GB, free: 12.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001574/0.5498, allocations: 273.7 kB / 0.5782 GB, free: 11.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005699/0.5555, allocations: 4.128 MB / 0.5823 GB, free: 7.688 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001156/0.5556, allocations: 41.7 kB / 0.5823 GB, free: 7.641 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002059/0.5577, allocations: 2.965 MB / 0.5852 GB, free: 4.633 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004548/0.5582, allocations: 0.5324 MB / 0.5857 GB, free: 4.094 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001187/0.5593, allocations: 1.039 MB / 0.5868 GB, free: 3.043 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.5595, allocations: 309.1 kB / 0.587 GB, free: 2.738 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00187/0.5613, allocations: 1.373 MB / 0.5884 GB, free: 1.359 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004035/0.5654, allocations: 4.752 MB / 0.593 GB, free: 10.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006782/0.5722, allocations: 6.688 MB / 0.5996 GB, free: 2.551 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.578e-05/0.5723, allocations: 32 kB / 0.5996 GB, free: 2.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.008749/0.581, allocations: 5.897 MB / 0.6053 GB, free: 12.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.72e-05/0.5811, allocations: 56 kB / 0.6054 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001057/0.5812, allocations: 116 kB / 0.6055 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001453/0.5814, allocations: 156 kB / 0.6057 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003072/0.5845, allocations: 1.22 MB / 0.6069 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001708/0.5846, allocations: 231.5 kB / 0.6071 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00296/0.5876, allocations: 259.4 kB / 0.6073 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003782/0.588, allocations: 328 kB / 0.6076 GB, free: 10.27 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.00292/0.5909, allocations: 2.022 MB / 0.6096 GB, free: 8.242 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006198/0.5916, allocations: 343.5 kB / 0.6099 GB, free: 7.902 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006586/0.5922, allocations: 402.2 kB / 0.6103 GB, free: 7.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.188e-05/0.5922, allocations: 16 kB / 0.6103 GB, free: 7.484 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.5923, allocations: 96 / 0.6103 GB, free: 7.484 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/0.5923, allocations: 15.91 kB / 0.6103 GB, free: 7.469 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.007594/0.5999, allocations: 5.309 MB / 0.6155 GB, free: 1.902 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.938e-05/0.5999, allocations: 12 kB / 0.6155 GB, free: 1.891 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007982/0.6007, allocations: 239.6 kB / 0.6158 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.959e-05/0.6008, allocations: 20 kB / 0.6158 GB, free: 1.637 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.971e-05/0.6008, allocations: 35.98 kB / 0.6158 GB, free: 1.602 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.138e-05/0.6009, allocations: 27.92 kB / 0.6159 GB, free: 1.574 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.389e-05/0.6009, allocations: 16.34 kB / 0.6159 GB, free: 1.559 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003396/0.6043, allocations: 2.9 MB / 0.6187 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/0.6053, allocations: 0.516 MB / 0.6192 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002805/0.6056, allocations: 43.98 kB / 0.6192 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009901/0.6066, allocations: 59.95 kB / 0.6193 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.6068, allocations: 107.7 kB / 0.6194 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.455e-05/0.6069, allocations: 52 kB / 0.6195 GB, free: 13.67 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003702/0.6106, allocations: 2.634 MB / 0.622 GB, free: 11.02 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.513e-06/0.6106, allocations: 0 / 0.622 GB, free: 11.02 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004097/0.6147, allocations: 0.8175 MB / 0.6228 GB, free: 10.21 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.003836/0.6186, allocations: 3.55 MB / 0.6263 GB, free: 6.473 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005251/0.6238, allocations: 3.244 MB / 0.6295 GB, free: 3.27 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/0.6238, allocations: 4 kB / 0.6295 GB, free: 3.266 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008688/0.6247, allocations: 0.661 MB / 0.6301 GB, free: 2.609 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002828/0.6276, allocations: 0.5527 MB / 0.6307 GB, free: 2.078 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05145/0.679, allocations: 38.56 MB / 0.6683 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003076/0.6821, allocations: 3.113 MB / 0.6713 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003469/0.6856, allocations: 1.639 MB / 0.673 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002005/0.6876, allocations: 1.761 MB / 0.6747 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of SimCode: time 8.92e-07/0.6877, allocations: 0 / 0.6747 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3178/1.005, allocations: 61.46 MB / 0.7347 GB, free: 176.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.65/17.66, allocations: 3.062 kB / 0.7347 GB, free: 176.1 MB / 0.5294 GB (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)