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.007256/0.007256, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001341/0.001341, allocations: 197.1 kB / 16.68 MB, free: 5.926 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 4.137 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1435/0.1435, allocations: 6.478 MB / 297 MB, free: 2.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 59.91 kB / 410.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3001, allocations: 50.86 MB / 461.3 MB, free: 18.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.004085/0.3043, allocations: 2.466 MB / 463.7 MB, free: 17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.3056, allocations: 0.6697 MB / 464.4 MB, free: 16.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.3058, allocations: 4.125 kB / 464.4 MB, free: 16.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002932/0.3061, allocations: 47.77 kB / 464.5 MB, free: 16.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.3062, allocations: 52.09 kB / 464.5 MB, free: 16.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.3066, allocations: 96.17 kB / 464.6 MB, free: 16.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003361/0.3069, allocations: 256.2 kB / 464.9 MB, free: 16.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003112/0.3072, allocations: 136.9 kB / 465 MB, free: 16.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.3074, allocations: 93.75 kB / 465.1 MB, free: 16.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.3075, allocations: 100.9 kB / 465.2 MB, free: 16.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.467e-05/0.3076, allocations: 23.81 kB / 465.2 MB, free: 16.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.766e-05/0.3077, allocations: 22.81 kB / 465.2 MB, free: 16.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.788e-05/0.3077, allocations: 54.91 kB / 465.3 MB, free: 16.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.3079, allocations: 115.7 kB / 465.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004311/0.3083, allocations: 267 kB / 465.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3083, allocations: 3.938 kB / 465.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.3083, allocations: 0 / 465.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.3083, allocations: 1.312 kB / 465.7 MB, free: 15.85 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.0009274/0.3093, allocations: 0.5151 MB / 466.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.405e-05/0.3094, allocations: 14.3 kB / 466.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.925e-05/0.3094, allocations: 58.53 kB / 466.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.308e-05/0.3095, allocations: 25.16 kB / 466.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004364/0.31, allocations: 246.7 kB / 466.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.31, allocations: 13.25 kB / 466.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.948e-05/0.3101, allocations: 23.2 kB / 466.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005703/0.3106, allocations: 251.4 kB / 466.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.3107, allocations: 4 kB / 466.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.3107, allocations: 7.859 kB / 466.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.3107, allocations: 4.375 kB / 466.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004502/0.3112, allocations: 163.7 kB / 467 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.3125, allocations: 0.8212 MB / 467.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004486/0.3129, allocations: 104.4 kB / 467.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.3131, allocations: 58.03 kB / 467.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.3131, allocations: 1.188 kB / 467.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.3132, allocations: 36.42 kB / 468 MB, free: 14.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.3132, allocations: 1.562 kB / 468 MB, free: 14.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.00054/0.3137, allocations: 177.8 kB / 468.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.3138, allocations: 84.12 kB / 468.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.3139, allocations: 170.6 kB / 468.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.3139, allocations: 25.7 kB / 468.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.447e-05/0.314, allocations: 163.7 kB / 468.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.3141, allocations: 34.2 kB / 468.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.934e-05/0.3141, allocations: 35.61 kB / 468.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.672e-05/0.3142, allocations: 329.9 kB / 469 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.3144, allocations: 55.27 kB / 469 MB, free: 13.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.3146, allocations: 112.5 kB / 469.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.3149, allocations: 152.1 kB / 469.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3149, allocations: 1.062 kB / 469.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003846/0.3153, allocations: 182.9 kB / 469.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3153, allocations: 5.5 kB / 469.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3153, allocations: 2.75 kB / 469.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.3154, allocations: 2.172 kB / 469.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.3155, allocations: 45.06 kB / 469.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.3155, allocations: 2.688 kB / 469.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.3157, allocations: 27.17 kB / 469.6 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.3157, allocations: 5.062 kB / 469.6 MB, free: 13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001567/0.3158, allocations: 141.3 kB / 469.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001301/0.316, allocations: 87.69 kB / 469.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002097/0.3162, allocations: 138.2 kB / 469.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.032e-06/0.3162, allocations: 0 / 469.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002838/0.3165, allocations: 162.8 kB / 470.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.3165, allocations: 6.391 kB / 470.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/0.3165, allocations: 1.375 kB / 470.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.847e-06/0.3165, allocations: 2.781 kB / 470.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.3167, allocations: 36.69 kB / 470.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3167, allocations: 6.688 kB / 470.1 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.716e-05/0.3168, allocations: 20.91 kB / 470.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.3168, allocations: 8.125 kB / 470.2 MB, free: 12.62 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.706e-05/0.3169, allocations: 190.1 kB / 470.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.3169, allocations: 14.02 kB / 470.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.306e-05/0.317, allocations: 13.61 kB / 470.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.317, allocations: 5.375 kB / 470.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.317, allocations: 0.5156 kB / 470.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.317, allocations: 2.172 kB / 470.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.3173, allocations: 254.5 kB / 470.6 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3173, allocations: 5.375 kB / 470.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.3174, allocations: 31.94 kB / 470.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.3174, allocations: 0.6562 kB / 470.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.3174, allocations: 5.375 kB / 470.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3175, allocations: 1.375 kB / 470.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.3175, allocations: 0.6562 kB / 470.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004758/0.3179, allocations: 298.1 kB / 471 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.535e-05/0.318, allocations: 93.64 kB / 471.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.318, allocations: 1.891 kB / 471.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.3181, allocations: 10.86 kB / 471.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/0.3182, allocations: 11.03 kB / 471.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.3182, allocations: 1.938 kB / 471.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.113e-05/0.3183, allocations: 123.5 kB / 471.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3183, allocations: 0 / 471.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003712/0.3187, allocations: 82.72 kB / 471.3 MB, free: 11.77 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.0006532/0.3193, allocations: 0.825 MB / 472.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004799/0.3198, allocations: 186.1 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3198, allocations: 0 / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.32, allocations: 54.73 kB / 472.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.3203, allocations: 28.17 kB / 472.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002395/0.3227, allocations: 2.071 MB / 474.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.3229, allocations: 0.7297 MB / 475.2 MB, free: 8.656 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.365e-05/0.323, allocations: 15.88 kB / 475.2 MB, free: 8.652 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.683e-05/0.3231, allocations: 59.88 kB / 475.2 MB, free: 8.605 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3231, allocations: 0 / 475.2 MB, free: 8.605 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/0.3455, allocations: 3.268 MB / 478.5 MB, free: 8.062 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.51/7.855, allocations: 11.69 kB / 478.5 MB, free: 8.055 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)