Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr StewartPlatform_StewartPlatform.Tests.ServoMotor_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.ServoMotor_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_ServoMotor_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(StewartPlatform.Tests.ServoMotor_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_ServoMotor_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.0009955/0.0009956, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001038/0.001038, allocations: 177.3 kB / 15.94 MB, free: 228 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.622/1.622, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.2902/0.2902, allocations: 6.471 MB / 297.4 MB, free: 3.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003556, allocations: 15.98 kB / 359.9 MB, free: 180 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1638, allocations: 51.83 MB / 411.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.003108/0.1669, allocations: 2.033 MB / 413.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.1681, allocations: 0.6238 MB / 414.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.1682, allocations: 4 kB / 414.4 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.1684, allocations: 35.7 kB / 414.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.1686, allocations: 59.81 kB / 414.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.1689, allocations: 71.91 kB / 414.5 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002592/0.1691, allocations: 160.1 kB / 414.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002608/0.1694, allocations: 106 kB / 414.8 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.237e-05/0.1695, allocations: 67.72 kB / 414.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.1697, allocations: 79.61 kB / 414.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.1697, allocations: 8 kB / 415 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.921e-05/0.1697, allocations: 8 kB / 415 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.652e-05/0.1698, allocations: 35.86 kB / 415 MB, free: 9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.902e-05/0.1698, allocations: 61.58 kB / 415.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.1701, allocations: 187.8 kB / 415.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1701, allocations: 0 / 415.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.1701, allocations: 4 kB / 415.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.1701, allocations: 0 / 415.2 MB, free: 8.746 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007394/0.1708, allocations: 498.9 kB / 415.7 MB, free: 8.211 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.1709, allocations: 8.031 kB / 415.7 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.134e-05/0.171, allocations: 58.53 kB / 415.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.432e-05/0.1711, allocations: 27.72 kB / 415.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.1714, allocations: 234.6 kB / 416.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.1714, allocations: 16.44 kB / 416.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.59e-05/0.1715, allocations: 31.8 kB / 416.1 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004884/0.172, allocations: 254.7 kB / 416.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.172, allocations: 0 / 416.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.172, allocations: 11.98 kB / 416.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.172, allocations: 8 kB / 416.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004276/0.1725, allocations: 181.6 kB / 416.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.1737, allocations: 0.8336 MB / 417.4 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003879/0.1741, allocations: 126.5 kB / 417.5 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.1741, allocations: 0 / 417.5 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.1742, allocations: 38.69 kB / 417.5 MB, free: 6.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.1742, allocations: 0 / 417.5 MB, free: 6.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006437/0.1748, allocations: 205.4 kB / 417.7 MB, free: 6.035 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.852e-05/0.1749, allocations: 77.11 kB / 417.8 MB, free: 5.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.1751, allocations: 163.3 kB / 418 MB, free: 5.766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.1752, allocations: 29.7 kB / 418 MB, free: 5.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.1753, allocations: 163.8 kB / 418.2 MB, free: 5.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.1754, allocations: 35.55 kB / 418.2 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-06/0.1754, allocations: 4 kB / 418.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.1756, allocations: 322.8 kB / 418.5 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.1757, allocations: 55.97 kB / 418.6 MB, free: 5.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.1759, allocations: 117.6 kB / 418.7 MB, free: 5.012 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.1761, allocations: 75.94 kB / 418.8 MB, free: 4.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1762, allocations: 0 / 418.8 MB, free: 4.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004411/0.1766, allocations: 205.7 kB / 419 MB, free: 4.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003573/0.177, allocations: 0.6202 MB / 419.6 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.177, allocations: 0 / 419.6 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.177, allocations: 4 kB / 419.6 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.1772, allocations: 43.97 kB / 419.6 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.1772, allocations: 7.938 kB / 419.6 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.1773, allocations: 31.83 kB / 419.7 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.1773, allocations: 4 kB / 419.7 MB, free: 3.973 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/0.1774, allocations: 4 kB / 419.7 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004191/0.1778, allocations: 135.8 kB / 419.8 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.1778, allocations: 4 kB / 419.8 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.967e-06/0.1778, allocations: 4.141 kB / 419.8 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.1779, allocations: 39.98 kB / 419.9 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.178, allocations: 7.984 kB / 419.9 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.53e-05/0.1781, allocations: 23.78 kB / 419.9 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.1781, allocations: 8 kB / 419.9 MB, free: 3.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * 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.0002456/0.1783, allocations: 205.1 kB / 420.1 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.1784, allocations: 15.89 kB / 420.1 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.815e-05/0.1784, allocations: 17.41 kB / 420.1 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.1784, allocations: 3.953 kB / 420.1 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.1784, allocations: 4 kB / 420.1 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1785, allocations: 3.984 kB / 420.1 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/0.1788, allocations: 257.5 kB / 420.4 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1788, allocations: 0 / 420.4 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.1789, allocations: 39.91 kB / 420.4 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.179, allocations: 8 kB / 420.4 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.179, allocations: 0 / 420.4 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.179, allocations: 0 / 420.4 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.179, allocations: 3.953 kB / 420.4 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005944/0.1796, allocations: 319.3 kB / 420.8 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.371e-05/0.1797, allocations: 96.88 kB / 420.8 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.1797, allocations: 0 / 420.8 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.1798, allocations: 23.98 kB / 420.9 MB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/0.1799, allocations: 7.938 kB / 420.9 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.1799, allocations: 4 kB / 420.9 MB, free: 2.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001065/0.18, allocations: 124.8 kB / 421 MB, free: 2.547 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.18, allocations: 4.062 kB / 421 MB, free: 2.543 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003868/0.1804, allocations: 83.59 kB / 421.1 MB, free: 2.461 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * 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.0009315/0.1814, allocations: 0.8489 MB / 421.9 MB, free: 1.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005377/0.1819, allocations: 208.1 kB / 422.1 MB, free: 1.379 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1819, allocations: 0 / 422.1 MB, free: 1.379 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.1821, allocations: 68.33 kB / 422.2 MB, free: 1.312 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.1824, allocations: 15.94 kB / 422.2 MB, free: 1.297 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2494/0.4318, allocations: 2.121 MB / 424.3 MB, free: 42.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.4321, allocations: 0.7401 MB / 425.1 MB, free: 41.87 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.4323, allocations: 13.38 kB / 425.1 MB, free: 41.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.881e-05/0.4324, allocations: 58.12 kB / 425.2 MB, free: 41.86 MB / 350.1 MB Notification: Performance of SimCode: time 1.252e-06/0.4324, allocations: 0 / 425.2 MB, free: 41.86 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01699/0.4494, allocations: 2.966 MB / 428.1 MB, free: 41.73 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/0.4496, allocations: 167.5 kB / 428.3 MB, free: 41.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.358/2.807, allocations: 4 kB / 428.3 MB, free: 41.49 MB / 350.1 MB (rm -f StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe ; mkfifo StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe ; head -c 1048576 < StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe >> ../files/StewartPlatform_StewartPlatform.Tests.ServoMotor_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_StewartPlatform_StewartPlatform_Tests_ServoMotor_test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 StewartPlatform_StewartPlatform_Tests_ServoMotor_test.fmu > StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe 2>&1) Environment - environmentSimulation: