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.007754/0.007754, allocations: 102.7 kB / 15.73 MB, free: 5.992 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.001502/0.001502, allocations: 191.2 kB / 16.67 MB, free: 5.91 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.146/0.146, allocations: 6.478 MB / 297 MB, free: 2.727 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 59.91 kB / 410.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2941, allocations: 50.85 MB / 461.3 MB, free: 18.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.003481/0.2976, allocations: 2.464 MB / 463.7 MB, free: 17.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.2987, allocations: 0.6617 MB / 464.4 MB, free: 16.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.2989, allocations: 8.312 kB / 464.4 MB, free: 16.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002353/0.2991, allocations: 54.19 kB / 464.5 MB, free: 16.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.2992, allocations: 52.03 kB / 464.5 MB, free: 16.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.2995, allocations: 100.7 kB / 464.6 MB, free: 16.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002701/0.2998, allocations: 247 kB / 464.9 MB, free: 16.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.3001, allocations: 138.2 kB / 465 MB, free: 16.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.3002, allocations: 97.77 kB / 465.1 MB, free: 16.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.3003, allocations: 104.9 kB / 465.2 MB, free: 16.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.384e-05/0.3004, allocations: 23.44 kB / 465.2 MB, free: 16.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.95e-05/0.3004, allocations: 23.59 kB / 465.2 MB, free: 16.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.113e-05/0.3005, allocations: 50.02 kB / 465.3 MB, free: 16.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.3006, allocations: 121.3 kB / 465.4 MB, free: 16.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003522/0.3009, allocations: 259.8 kB / 465.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.301, allocations: 1.312 kB / 465.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.301, allocations: 0 / 465.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.301, allocations: 0 / 465.7 MB, free: 15.93 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.0007123/0.3017, allocations: 0.5266 MB / 466.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.3018, allocations: 19.42 kB / 466.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.627e-05/0.3018, allocations: 53.98 kB / 466.3 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.512e-05/0.3019, allocations: 28.23 kB / 466.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.3022, allocations: 249.5 kB / 466.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.3022, allocations: 17.75 kB / 466.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.303e-05/0.3023, allocations: 22.62 kB / 466.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004735/0.3028, allocations: 251.3 kB / 466.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.3028, allocations: 1.25 kB / 466.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.3028, allocations: 10.34 kB / 466.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.3028, allocations: 4.812 kB / 466.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004003/0.3032, allocations: 156.8 kB / 467 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.3043, allocations: 0.8321 MB / 467.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003772/0.3046, allocations: 112.9 kB / 467.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.3048, allocations: 52.34 kB / 468 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.3048, allocations: 2.844 kB / 468 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.3049, allocations: 36.34 kB / 468 MB, free: 14.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.3049, allocations: 0 / 468 MB, free: 14.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005564/0.3054, allocations: 176 kB / 468.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.3055, allocations: 78.39 kB / 468.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.3056, allocations: 170.8 kB / 468.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.3057, allocations: 26.86 kB / 468.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.343e-05/0.3058, allocations: 162.9 kB / 468.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.3058, allocations: 35.45 kB / 468.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/0.3059, allocations: 35.09 kB / 468.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.792e-05/0.3059, allocations: 330 kB / 469 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.3061, allocations: 55.94 kB / 469.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.3063, allocations: 109.8 kB / 469.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003302/0.3066, allocations: 152.1 kB / 469.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.3066, allocations: 1.062 kB / 469.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004294/0.3071, allocations: 187.7 kB / 469.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.3071, allocations: 5.5 kB / 469.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.3071, allocations: 2.172 kB / 469.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.3072, allocations: 2.75 kB / 469.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.3074, allocations: 40.89 kB / 469.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.3074, allocations: 1.984 kB / 469.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.3075, allocations: 27.5 kB / 469.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.3075, allocations: 5.5 kB / 469.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001944/0.3077, allocations: 140.3 kB / 469.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001583/0.3079, allocations: 92.86 kB / 469.8 MB, free: 12.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002664/0.3082, allocations: 128.5 kB / 469.9 MB, free: 12.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-06/0.3082, allocations: 1.438 kB / 469.9 MB, free: 12.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0003578/0.3086, allocations: 163.4 kB / 470.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.3086, allocations: 5.438 kB / 470.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.3086, allocations: 1.781 kB / 470.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.741e-06/0.3086, allocations: 2.594 kB / 470.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.3087, allocations: 35.81 kB / 470.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.3088, allocations: 3.5 kB / 470.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.3089, allocations: 28.67 kB / 470.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.3089, allocations: 4.656 kB / 470.2 MB, free: 12.68 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 0.0001027/0.309, allocations: 197.3 kB / 470.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.309, allocations: 14.02 kB / 470.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.953e-05/0.3091, allocations: 18.17 kB / 470.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3091, allocations: 1.375 kB / 470.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.3091, allocations: 0 / 470.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3091, allocations: 2.688 kB / 470.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003745/0.3095, allocations: 259.6 kB / 470.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3095, allocations: 0 / 470.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.3097, allocations: 31.91 kB / 470.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-06/0.3097, allocations: 2.031 kB / 470.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.3098, allocations: 0 / 470.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.857e-06/0.3098, allocations: 5.938 kB / 470.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3098, allocations: 3.938 kB / 470.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006262/0.3104, allocations: 294 kB / 471 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-05/0.3105, allocations: 89.97 kB / 471.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.3105, allocations: 2.031 kB / 471.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.3107, allocations: 16.7 kB / 471.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/0.3107, allocations: 5.656 kB / 471.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.3107, allocations: 5.438 kB / 471.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001183/0.3109, allocations: 119.8 kB / 471.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3109, allocations: 1.375 kB / 471.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000458/0.3113, allocations: 93.38 kB / 471.3 MB, free: 11.81 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.0008317/0.3122, allocations: 0.8213 MB / 472.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006169/0.3128, allocations: 190.2 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.3128, allocations: 0 / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.313, allocations: 49.55 kB / 472.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.3134, allocations: 27.94 kB / 472.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002723/0.3161, allocations: 2.084 MB / 474.5 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.3164, allocations: 0.7281 MB / 475.2 MB, free: 8.688 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.579e-05/0.3165, allocations: 16.42 kB / 475.2 MB, free: 8.684 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.474e-05/0.3166, allocations: 59.08 kB / 475.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3166, allocations: 1.344 kB / 475.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02153/0.3381, allocations: 3.277 MB / 478.6 MB, free: 8.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.726/8.064, allocations: 13.03 kB / 478.6 MB, free: 8.078 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 & python3 -m fmpy simulate --output-file StewartPlatform_StewartPlatform.Tests.ServoMotor_test_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 StewartPlatform_StewartPlatform_Tests_ServoMotor_test.fmu > StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe 2>&1)