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.0009859/0.0009858, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.00109/0.00109, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1608/0.1608, allocations: 6.486 MB / 297.6 MB, free: 3.746 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.000328, allocations: 12 kB / 360 MB, free: 156 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1156, allocations: 51.84 MB / 411.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.002934/0.1186, allocations: 2.097 MB / 413.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.1198, allocations: 0.6238 MB / 414.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002073/0.1201, allocations: 11.88 kB / 414.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002271/0.1203, allocations: 27.77 kB / 414.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001637/0.1205, allocations: 47.62 kB / 414.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.1208, allocations: 67.92 kB / 414.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000306/0.1212, allocations: 223.5 kB / 414.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002767/0.1214, allocations: 110 kB / 415 MB, free: 9.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.1216, allocations: 67.72 kB / 415.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.1217, allocations: 71.64 kB / 415.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.1218, allocations: 11.94 kB / 415.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.064e-05/0.1218, allocations: 8 kB / 415.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.244e-05/0.1219, allocations: 31.89 kB / 415.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.286e-05/0.1219, allocations: 73.58 kB / 415.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.1221, allocations: 183.8 kB / 415.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1222, allocations: 0 / 415.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1222, allocations: 3.938 kB / 415.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.1222, allocations: 0 / 415.5 MB, free: 8.602 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.0007569/0.1229, allocations: 0.4911 MB / 416 MB, free: 8.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.123, allocations: 8.031 kB / 416 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.029e-05/0.1231, allocations: 66.53 kB / 416 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.512e-05/0.1232, allocations: 23.72 kB / 416.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.1235, allocations: 226.7 kB / 416.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.1235, allocations: 16.44 kB / 416.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.811e-05/0.1236, allocations: 31.86 kB / 416.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004948/0.1241, allocations: 254.6 kB / 416.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.1241, allocations: 4 kB / 416.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.1241, allocations: 8 kB / 416.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.1241, allocations: 4 kB / 416.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004119/0.1245, allocations: 185.6 kB / 416.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.1258, allocations: 0.8335 MB / 417.6 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000372/0.1262, allocations: 130.4 kB / 417.7 MB, free: 6.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.1263, allocations: 68.81 kB / 417.8 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.1264, allocations: 0 / 417.8 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.1264, allocations: 30.56 kB / 417.8 MB, free: 6.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 9.42e-07/0.1264, allocations: 0 / 417.8 MB, free: 6.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005387/0.127, allocations: 205.6 kB / 418 MB, free: 5.824 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.127, allocations: 81.11 kB / 418.1 MB, free: 5.727 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.1272, allocations: 167.2 kB / 418.3 MB, free: 5.547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.1272, allocations: 29.7 kB / 418.3 MB, free: 5.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.1273, allocations: 155.8 kB / 418.5 MB, free: 5.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.1274, allocations: 31.55 kB / 418.5 MB, free: 5.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-06/0.1274, allocations: 4 kB / 418.5 MB, free: 5.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1275, allocations: 322.8 kB / 418.8 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.1277, allocations: 63.95 kB / 418.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.1278, allocations: 114.8 kB / 419 MB, free: 4.797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.128, allocations: 72.31 kB / 419.1 MB, free: 4.727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.128, allocations: 4 kB / 419.1 MB, free: 4.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003934/0.1284, allocations: 201.3 kB / 419.3 MB, free: 4.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.461e-05/0.1285, allocations: 134.3 kB / 419.4 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.1285, allocations: 4 kB / 419.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1286, allocations: 0 / 419.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.1288, allocations: 51.91 kB / 419.4 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/0.1288, allocations: 4 kB / 419.4 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.1289, allocations: 27.83 kB / 419.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.1289, allocations: 8 kB / 419.5 MB, free: 4.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/0.1289, allocations: 4 kB / 419.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002848/0.1292, allocations: 131.8 kB / 419.6 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.1292, allocations: 0 / 419.6 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/0.1293, allocations: 8.141 kB / 419.6 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.1294, allocations: 51.91 kB / 419.7 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1294, allocations: 7.984 kB / 419.7 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.549e-05/0.1295, allocations: 19.84 kB / 419.7 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1295, allocations: 4 kB / 419.7 MB, free: 4.047 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001611/0.1297, allocations: 213 kB / 419.9 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.655e-05/0.1297, allocations: 15.91 kB / 419.9 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/0.1298, allocations: 17.34 kB / 419.9 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.1298, allocations: 3.953 kB / 419.9 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1298, allocations: 0 / 419.9 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1298, allocations: 0 / 419.9 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.1301, allocations: 261.5 kB / 420.2 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1301, allocations: 0 / 420.2 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.1303, allocations: 35.97 kB / 420.2 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.1303, allocations: 4.188 kB / 420.2 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.1303, allocations: 4 kB / 420.2 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1303, allocations: 7.938 kB / 420.3 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.1303, allocations: 3.953 kB / 420.3 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000551/0.1309, allocations: 315.3 kB / 420.6 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.815e-05/0.131, allocations: 96.89 kB / 420.7 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.131, allocations: 0 / 420.7 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.1311, allocations: 15.98 kB / 420.7 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.1312, allocations: 15.94 kB / 420.7 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.1312, allocations: 0 / 420.7 MB, free: 2.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.725e-05/0.1313, allocations: 120.9 kB / 420.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.134e-06/0.1313, allocations: 4.062 kB / 420.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004018/0.1317, allocations: 87.53 kB / 420.9 MB, free: 2.758 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008722/0.1326, allocations: 0.8528 MB / 421.8 MB, free: 1.875 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000464/0.1331, allocations: 204.1 kB / 422 MB, free: 1.676 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1331, allocations: 0 / 422 MB, free: 1.676 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.1333, allocations: 72.95 kB / 422 MB, free: 1.605 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.1336, allocations: 19.92 kB / 422 MB, free: 1.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.1354, allocations: 1.23 MB / 423.3 MB, free: 296 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2177/0.3531, allocations: 0.7275 MB / 424 MB, free: 42.6 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.3533, allocations: 16.45 kB / 424 MB, free: 42.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.3535, allocations: 53.89 kB / 424.1 MB, free: 42.59 MB / 350.1 MB Notification: Performance of SimCode: time 1.412e-06/0.3535, allocations: 0 / 424.1 MB, free: 42.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01356/0.367, allocations: 2.978 MB / 427 MB, free: 42.48 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001387/0.3672, allocations: 176.4 kB / 427.2 MB, free: 42.24 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.023/2.391, allocations: 0 / 427.2 MB, free: 42.24 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/linux/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) Environment - environmentSimulation: