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.0008091/0.0008092, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004711/0.004711, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.174/1.174, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1312/0.1312, allocations: 6.481 MB / 297.9 MB, free: 3.719 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002527/0.0002527, allocations: 11.98 kB / 360.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07453/0.0748, allocations: 51.84 MB / 412.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.002112/0.07694, allocations: 2.159 MB / 414.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007577/0.07771, allocations: 0.6469 MB / 415.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.419e-05/0.07781, allocations: 11.94 kB / 415.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.07797, allocations: 31.77 kB / 415.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.464e-05/0.07807, allocations: 47.61 kB / 415.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.07828, allocations: 87.91 kB / 415.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.07849, allocations: 231.5 kB / 415.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.0787, allocations: 123.6 kB / 415.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.963e-05/0.07877, allocations: 67.72 kB / 415.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.316e-05/0.07887, allocations: 87.48 kB / 415.9 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.07891, allocations: 15.94 kB / 415.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.234e-05/0.07893, allocations: 8 kB / 415.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.579e-05/0.07896, allocations: 23.86 kB / 416 MB, free: 8.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.13e-05/0.07905, allocations: 125.1 kB / 416.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.07923, allocations: 235.4 kB / 416.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.07924, allocations: 0 / 416.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.07925, allocations: 0 / 416.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.07926, allocations: 0 / 416.3 MB, free: 8.012 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.0005181/0.07978, allocations: 0.4913 MB / 416.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.07982, allocations: 8.031 kB / 416.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.023e-05/0.07988, allocations: 54.73 kB / 416.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.07992, allocations: 32.59 kB / 416.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.08013, allocations: 243.8 kB / 417.1 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.08015, allocations: 12.81 kB / 417.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.08019, allocations: 24.38 kB / 417.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004062/0.0806, allocations: 262.8 kB / 417.4 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.08062, allocations: 7.906 kB / 417.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.08064, allocations: 4 kB / 417.4 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.08065, allocations: 4 kB / 417.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003709/0.08103, allocations: 185.6 kB / 417.6 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008709/0.08191, allocations: 0.8452 MB / 418.5 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003095/0.08223, allocations: 114.5 kB / 418.6 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.08239, allocations: 64.83 kB / 418.7 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.08241, allocations: 4.188 kB / 418.7 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.08243, allocations: 38.48 kB / 418.7 MB, free: 5.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.08244, allocations: 4 kB / 418.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004844/0.08293, allocations: 201.4 kB / 418.9 MB, free: 5.223 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.08297, allocations: 85.11 kB / 419 MB, free: 5.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.0831, allocations: 163.3 kB / 419.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.08312, allocations: 25.7 kB / 419.2 MB, free: 4.914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.128e-05/0.0832, allocations: 159.9 kB / 419.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.08323, allocations: 39.83 kB / 419.4 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.08326, allocations: 17.72 kB / 419.4 MB, free: 4.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.091e-05/0.08335, allocations: 326.8 kB / 419.7 MB, free: 4.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.0835, allocations: 59.95 kB / 419.8 MB, free: 4.305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.08368, allocations: 118.7 kB / 419.9 MB, free: 4.164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003049/0.08399, allocations: 173.9 kB / 420 MB, free: 3.973 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.084, allocations: 0 / 420 MB, free: 3.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003816/0.08439, allocations: 209.4 kB / 420.2 MB, free: 3.762 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.887e-05/0.08446, allocations: 134.3 kB / 420.4 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.08446, allocations: 0 / 420.4 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.08448, allocations: 4 kB / 420.4 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.08463, allocations: 47.84 kB / 420.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.08464, allocations: 4 kB / 420.4 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.08476, allocations: 35.83 kB / 420.5 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.08478, allocations: 7.984 kB / 420.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.139e-06/0.08479, allocations: 4 kB / 420.5 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002467/0.08504, allocations: 131.8 kB / 420.6 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.08505, allocations: 4 kB / 420.6 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.306e-06/0.08506, allocations: 3.984 kB / 420.6 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.08518, allocations: 39.92 kB / 420.7 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.08519, allocations: 0 / 420.7 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.671e-05/0.08528, allocations: 27.83 kB / 420.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.08529, allocations: 8.344 kB / 420.7 MB, free: 3.293 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.803e-05/0.0854, allocations: 209.1 kB / 420.9 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.08543, allocations: 15.83 kB / 420.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.742e-05/0.08548, allocations: 21.39 kB / 420.9 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.08548, allocations: 0 / 420.9 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.08549, allocations: 4 kB / 420.9 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.0855, allocations: 3.938 kB / 420.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.08572, allocations: 261.3 kB / 421.2 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.08573, allocations: 0 / 421.2 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.08587, allocations: 39.97 kB / 421.2 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.08588, allocations: 4 kB / 421.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.567e-06/0.0859, allocations: 0 / 421.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.0859, allocations: 0 / 421.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.08591, allocations: 0 / 421.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004917/0.0864, allocations: 323.2 kB / 421.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.68e-05/0.08645, allocations: 88.95 kB / 421.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.08648, allocations: 4 kB / 421.6 MB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.0866, allocations: 23.98 kB / 421.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.08664, allocations: 12.05 kB / 421.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.08665, allocations: 0 / 421.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.391e-05/0.08673, allocations: 120.9 kB / 421.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08673, allocations: 0 / 421.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000333/0.08707, allocations: 91.53 kB / 421.9 MB, free: 2.004 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 (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.0006652/0.08774, allocations: 0.8527 MB / 422.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004436/0.0882, allocations: 220.6 kB / 423 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.08821, allocations: 4.062 kB / 423 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.08836, allocations: 55.97 kB / 423 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.08867, allocations: 30.55 kB / 423 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1305/0.2191, allocations: 2.24 MB / 425.3 MB, free: 41.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.2193, allocations: 0.7354 MB / 426 MB, free: 41.22 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.336e-05/0.2194, allocations: 12.09 kB / 426 MB, free: 41.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.021e-05/0.2194, allocations: 59.27 kB / 426.1 MB, free: 41.22 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2195, allocations: 0 / 426.1 MB, free: 41.22 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02084/0.2403, allocations: 2.903 MB / 429 MB, free: 41.11 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000127/0.2404, allocations: 186.8 kB / 429.2 MB, free: 40.85 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.532/1.773, allocations: 0 / 429.2 MB, free: 40.85 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/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)