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.001216/0.001216, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.271/1.271, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1427/0.1427, allocations: 6.487 MB / 296.9 MB, free: 2.668 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 59.91 kB / 358.9 MB, free: 196 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1053, allocations: 50.86 MB / 409.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.003967/0.1093, allocations: 2.458 MB / 412.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.1106, allocations: 0.674 MB / 412.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000187/0.1108, allocations: 4 kB / 412.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.1111, allocations: 43.58 kB / 412.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.1113, allocations: 55.48 kB / 412.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003251/0.1116, allocations: 107.8 kB / 413.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.1119, allocations: 239.5 kB / 413.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002698/0.1122, allocations: 144 kB / 413.4 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.1123, allocations: 91.72 kB / 413.5 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.1125, allocations: 103.5 kB / 413.6 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.493e-05/0.1126, allocations: 24 kB / 413.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.285e-05/0.1126, allocations: 24 kB / 413.7 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.682e-05/0.1127, allocations: 47.84 kB / 413.7 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.1128, allocations: 115.4 kB / 413.8 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.1131, allocations: 247.5 kB / 414.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1131, allocations: 8 kB / 414.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1131, allocations: 0 / 414.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.1131, allocations: 0 / 414.1 MB, free: 8.898 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.0007355/0.1138, allocations: 0.5203 MB / 414.6 MB, free: 8.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.1139, allocations: 11.89 kB / 414.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.685e-05/0.1139, allocations: 58.73 kB / 414.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.114, allocations: 28.66 kB / 414.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.1143, allocations: 239.9 kB / 414.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.1143, allocations: 16.81 kB / 414.9 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.352e-05/0.1143, allocations: 24.38 kB / 415 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004268/0.1148, allocations: 246.8 kB / 415.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.1148, allocations: 3.906 kB / 415.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.1148, allocations: 16 kB / 415.2 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1149, allocations: 7.938 kB / 415.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000395/0.1153, allocations: 161.6 kB / 415.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.1164, allocations: 0.8374 MB / 416.2 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003486/0.1167, allocations: 106.5 kB / 416.3 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.1169, allocations: 56.81 kB / 416.4 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.1169, allocations: 0 / 416.4 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.1169, allocations: 34.56 kB / 416.4 MB, free: 6.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.1169, allocations: 0 / 416.4 MB, free: 6.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004967/0.1174, allocations: 173.6 kB / 416.6 MB, free: 6.168 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.1175, allocations: 77.11 kB / 416.7 MB, free: 6.074 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.1177, allocations: 168 kB / 416.8 MB, free: 5.895 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.1177, allocations: 25.7 kB / 416.9 MB, free: 5.863 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.654e-05/0.1178, allocations: 167.8 kB / 417 MB, free: 5.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.1178, allocations: 35.45 kB / 417.1 MB, free: 5.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.469e-05/0.1179, allocations: 33.7 kB / 417.1 MB, free: 5.621 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.118, allocations: 330.7 kB / 417.4 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.1181, allocations: 60.77 kB / 417.5 MB, free: 5.227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.1183, allocations: 102.8 kB / 417.6 MB, free: 5.102 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/0.1186, allocations: 149.9 kB / 417.7 MB, free: 4.934 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1187, allocations: 4 kB / 417.7 MB, free: 4.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003877/0.119, allocations: 181.7 kB / 417.9 MB, free: 4.746 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1191, allocations: 11.88 kB / 417.9 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.1191, allocations: 7.984 kB / 417.9 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.1191, allocations: 4 kB / 417.9 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.1193, allocations: 48.16 kB / 418 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.1193, allocations: 0 / 418 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.1194, allocations: 19.89 kB / 418 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.1194, allocations: 4 kB / 418 MB, free: 4.652 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001692/0.1196, allocations: 140 kB / 418.1 MB, free: 4.512 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001321/0.1197, allocations: 97.31 kB / 418.2 MB, free: 4.395 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002307/0.12, allocations: 133.9 kB / 418.4 MB, free: 4.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.112e-06/0.12, allocations: 7.938 kB / 418.4 MB, free: 4.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002995/0.1203, allocations: 153.3 kB / 418.5 MB, free: 4.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.554e-06/0.1203, allocations: 8.188 kB / 418.5 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1203, allocations: 4 kB / 418.5 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-06/0.1203, allocations: 0 / 418.5 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.1204, allocations: 39.91 kB / 418.6 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.1205, allocations: 4 kB / 418.6 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.1206, allocations: 15.98 kB / 418.6 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.1206, allocations: 4 kB / 418.6 MB, free: 4.004 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.0001042/0.1207, allocations: 196.9 kB / 418.8 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.1207, allocations: 15.81 kB / 418.8 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.005e-05/0.1208, allocations: 17.41 kB / 418.8 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1208, allocations: 4 kB / 418.8 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.1208, allocations: 0 / 418.8 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.1208, allocations: 4.172 kB / 418.8 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.1211, allocations: 257.5 kB / 419.1 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.1211, allocations: 3.938 kB / 419.1 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.1212, allocations: 27.97 kB / 419.1 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1212, allocations: 4 kB / 419.1 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.1213, allocations: 4 kB / 419.1 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1213, allocations: 0 / 419.1 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1213, allocations: 0 / 419.1 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005098/0.1218, allocations: 295.1 kB / 419.4 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.005e-05/0.1218, allocations: 89.03 kB / 419.5 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.1219, allocations: 7.938 kB / 419.5 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.122, allocations: 11.98 kB / 419.5 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.1221, allocations: 11.92 kB / 419.5 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.1221, allocations: 4 kB / 419.5 MB, free: 2.977 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.162e-05/0.1222, allocations: 124 kB / 419.6 MB, free: 2.855 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1222, allocations: 0 / 419.6 MB, free: 2.855 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003703/0.1225, allocations: 87.44 kB / 419.7 MB, free: 2.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.000773/0.1233, allocations: 0.8177 MB / 420.5 MB, free: 1.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004741/0.1238, allocations: 188.1 kB / 420.7 MB, free: 1.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1238, allocations: 0 / 420.7 MB, free: 1.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.124, allocations: 68.77 kB / 420.8 MB, free: 1.672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.1243, allocations: 26.33 kB / 420.8 MB, free: 1.648 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1499/0.2742, allocations: 2.056 MB / 422.9 MB, free: 45.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/0.2744, allocations: 0.7347 MB / 423.6 MB, free: 44.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.2746, allocations: 15.11 kB / 423.6 MB, free: 44.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.164e-05/0.2747, allocations: 60.47 kB / 423.7 MB, free: 44.32 MB / 350.1 MB Notification: Performance of SimCode: time 8.02e-07/0.2747, allocations: 0 / 423.7 MB, free: 44.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01993/0.2946, allocations: 3.21 MB / 426.9 MB, free: 44 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.844/7.139, allocations: 2.734 kB / 426.9 MB, free: 44 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)