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.00636/0.00636, allocations: 101.3 kB / 15.73 MB, free: 6.438 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.001336/0.001337, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1578/0.1578, allocations: 6.484 MB / 297 MB, free: 2.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.89 kB / 410.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2498, allocations: 50.86 MB / 461.3 MB, free: 18.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.003076/0.2529, allocations: 2.454 MB / 463.7 MB, free: 16.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009136/0.2538, allocations: 0.6653 MB / 464.4 MB, free: 16.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.254, allocations: 3.656 kB / 464.4 MB, free: 16.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002243/0.2542, allocations: 45.88 kB / 464.5 MB, free: 16.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.486e-05/0.2543, allocations: 56.19 kB / 464.5 MB, free: 16.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.2546, allocations: 98.56 kB / 464.6 MB, free: 16.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.2549, allocations: 256.4 kB / 464.9 MB, free: 16.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002484/0.2551, allocations: 138.6 kB / 465 MB, free: 16.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.2552, allocations: 93.59 kB / 465.1 MB, free: 16.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.2554, allocations: 100.1 kB / 465.2 MB, free: 16.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.289e-05/0.2554, allocations: 23.72 kB / 465.2 MB, free: 16.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.311e-05/0.2555, allocations: 27.44 kB / 465.2 MB, free: 16.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.835e-05/0.2555, allocations: 58.59 kB / 465.3 MB, free: 16.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.2556, allocations: 116.2 kB / 465.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.256, allocations: 258.4 kB / 465.7 MB, free: 15.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.256, allocations: 3.938 kB / 465.7 MB, free: 15.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.256, allocations: 1.156 kB / 465.7 MB, free: 15.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.256, allocations: 0 / 465.7 MB, free: 15.83 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.000665/0.2567, allocations: 0.5197 MB / 466.2 MB, free: 15.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.2567, allocations: 13.05 kB / 466.2 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.357e-05/0.2568, allocations: 55.92 kB / 466.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.777e-05/0.2568, allocations: 24.03 kB / 466.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.2571, allocations: 246.1 kB / 466.5 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.2571, allocations: 13.59 kB / 466.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.2572, allocations: 22.94 kB / 466.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004615/0.2576, allocations: 251 kB / 466.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.2577, allocations: 1.609 kB / 466.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.2577, allocations: 10.25 kB / 466.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.2577, allocations: 5.625 kB / 466.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003818/0.2581, allocations: 159.3 kB / 467 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009783/0.2591, allocations: 0.8338 MB / 467.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003401/0.2594, allocations: 113.4 kB / 467.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.2596, allocations: 51.69 kB / 468 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.2596, allocations: 1.25 kB / 468 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.454e-05/0.2596, allocations: 32.64 kB / 468 MB, free: 14.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 9.62e-07/0.2596, allocations: 0.9375 kB / 468 MB, free: 14.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004969/0.2601, allocations: 178.3 kB / 468.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.2602, allocations: 80.02 kB / 468.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.2603, allocations: 170.5 kB / 468.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.2603, allocations: 27.2 kB / 468.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.404e-05/0.2604, allocations: 162.4 kB / 468.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.2604, allocations: 35.8 kB / 468.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.2605, allocations: 38.83 kB / 468.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.563e-05/0.2606, allocations: 325.9 kB / 469 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.2607, allocations: 55.48 kB / 469 MB, free: 13.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.2609, allocations: 115.5 kB / 469.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/0.2612, allocations: 152.9 kB / 469.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2612, allocations: 0 / 469.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003733/0.2616, allocations: 184 kB / 469.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.2616, allocations: 5.5 kB / 469.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2616, allocations: 1.375 kB / 469.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.2616, allocations: 3.312 kB / 469.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.2618, allocations: 40.8 kB / 469.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.2618, allocations: 2.125 kB / 469.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.2619, allocations: 31.31 kB / 469.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.2619, allocations: 5.5 kB / 469.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001432/0.2621, allocations: 136.8 kB / 469.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001189/0.2622, allocations: 88.08 kB / 469.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001965/0.2624, allocations: 133.3 kB / 469.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.483e-06/0.2624, allocations: 9.312 kB / 469.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002739/0.2627, allocations: 162.3 kB / 470.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.817e-06/0.2627, allocations: 6.25 kB / 470.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-06/0.2627, allocations: 1.375 kB / 470.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.186e-06/0.2627, allocations: 2.75 kB / 470.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.2629, allocations: 32.94 kB / 470.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.2629, allocations: 11.31 kB / 470.1 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.688e-05/0.263, allocations: 15.66 kB / 470.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.263, allocations: 8.875 kB / 470.2 MB, free: 12.59 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 6.209e-05/0.263, allocations: 190.1 kB / 470.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.2631, allocations: 13.53 kB / 470.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.004e-05/0.2631, allocations: 14.16 kB / 470.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.2631, allocations: 1.062 kB / 470.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.2631, allocations: 0.6094 kB / 470.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.2632, allocations: 5.781 kB / 470.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.2634, allocations: 259.4 kB / 470.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.2634, allocations: 4 kB / 470.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.2636, allocations: 32.19 kB / 470.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.2636, allocations: 2.219 kB / 470.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.2636, allocations: 4 kB / 470.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2636, allocations: 1.812 kB / 470.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2636, allocations: 0.5625 kB / 470.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004651/0.2641, allocations: 293.7 kB / 471 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-05/0.2641, allocations: 93.58 kB / 471.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.2642, allocations: 1.938 kB / 471.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.2643, allocations: 15.8 kB / 471.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.2643, allocations: 10.16 kB / 471.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.545e-06/0.2643, allocations: 3.406 kB / 471.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.797e-05/0.2644, allocations: 119.7 kB / 471.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2644, allocations: 0 / 471.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003583/0.2648, allocations: 86.69 kB / 471.3 MB, free: 11.73 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.0006464/0.2654, allocations: 0.8234 MB / 472.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004846/0.2659, allocations: 187.1 kB / 472.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.266, allocations: 3.938 kB / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.2661, allocations: 49.59 kB / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.2664, allocations: 32.91 kB / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/0.2688, allocations: 2.056 MB / 474.4 MB, free: 9.332 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.269, allocations: 0.7339 MB / 475.2 MB, free: 8.633 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.067e-05/0.2691, allocations: 11.25 kB / 475.2 MB, free: 8.633 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.91e-05/0.2692, allocations: 64.3 kB / 475.2 MB, free: 8.582 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2692, allocations: 4 kB / 475.2 MB, free: 8.578 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02105/0.2903, allocations: 3.273 MB / 478.5 MB, free: 8.031 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.445/7.735, allocations: 5.156 kB / 478.5 MB, free: 8.027 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)