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: translateModel(StewartPlatform.Tests.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ServoMotor_test") translateModel(StewartPlatform.Tests.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ServoMotor_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009086/0.0009086, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006463/0.006463, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.552/1.552, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.2583/0.2583, allocations: 6.488 MB / 297.9 MB, free: 3.695 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003177/0.0003177, allocations: 4 kB / 360.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1193, allocations: 51.84 MB / 412.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.002708/0.122, allocations: 2.167 MB / 414.5 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009599/0.123, allocations: 0.6351 MB / 415.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.1232, allocations: 7.938 kB / 415.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002309/0.1234, allocations: 39.77 kB / 415.2 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.82e-05/0.1235, allocations: 43.62 kB / 415.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.1238, allocations: 87.92 kB / 415.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002566/0.1241, allocations: 243.5 kB / 415.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.1243, allocations: 119.6 kB / 415.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.699e-05/0.1244, allocations: 71.66 kB / 415.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.1245, allocations: 79.56 kB / 415.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.1246, allocations: 8 kB / 415.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.636e-05/0.1246, allocations: 8 kB / 415.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.076e-05/0.1247, allocations: 39.84 kB / 415.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.1248, allocations: 125.1 kB / 416 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.125, allocations: 223.4 kB / 416.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.125, allocations: 0 / 416.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.198e-06/0.125, allocations: 4 kB / 416.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.125, allocations: 0 / 416.2 MB, free: 8.094 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.0006716/0.1257, allocations: 0.4913 MB / 416.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1257, allocations: 8.031 kB / 416.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.656e-05/0.1258, allocations: 28.66 kB / 416.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.1261, allocations: 247.8 kB / 417 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.1261, allocations: 12.81 kB / 417 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.1262, allocations: 24.36 kB / 417.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004707/0.1266, allocations: 263 kB / 417.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.1267, allocations: 3.906 kB / 417.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.1267, allocations: 8 kB / 417.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1267, allocations: 4 kB / 417.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000403/0.1271, allocations: 189.6 kB / 417.5 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.1282, allocations: 0.8296 MB / 418.3 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003793/0.1286, allocations: 126.5 kB / 418.5 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.1287, allocations: 64.83 kB / 418.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.1288, allocations: 192 / 418.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.1288, allocations: 38.5 kB / 418.6 MB, free: 5.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 3.186e-06/0.1288, allocations: 3.984 kB / 418.6 MB, free: 5.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005493/0.1293, allocations: 205.4 kB / 418.8 MB, free: 5.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.1294, allocations: 77.11 kB / 418.8 MB, free: 5.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.1296, allocations: 167.3 kB / 419 MB, free: 5.094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1296, allocations: 29.7 kB / 419 MB, free: 5.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.87e-05/0.1297, allocations: 155.8 kB / 419.2 MB, free: 4.902 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.1297, allocations: 43.44 kB / 419.2 MB, free: 4.859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.1298, allocations: 21.7 kB / 419.3 MB, free: 4.832 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1299, allocations: 326.8 kB / 419.6 MB, free: 4.504 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.13, allocations: 55.97 kB / 419.6 MB, free: 4.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.1303, allocations: 122.8 kB / 419.7 MB, free: 4.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000338/0.1306, allocations: 178.2 kB / 419.9 MB, free: 4.109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1306, allocations: 0 / 419.9 MB, free: 4.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003967/0.131, allocations: 201.4 kB / 420.1 MB, free: 3.906 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.22e-05/0.1311, allocations: 134.3 kB / 420.2 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.1311, allocations: 4 kB / 420.2 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1311, allocations: 0 / 420.2 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.1313, allocations: 51.91 kB / 420.3 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.1313, allocations: 7.984 kB / 420.3 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.1314, allocations: 31.83 kB / 420.3 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.1315, allocations: 4 kB / 420.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.694e-06/0.1315, allocations: 7.938 kB / 420.4 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002644/0.1317, allocations: 135.8 kB / 420.5 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-06/0.1318, allocations: 0 / 420.5 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-06/0.1318, allocations: 4 kB / 420.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.1319, allocations: 44.11 kB / 420.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.85e-06/0.1319, allocations: 7.984 kB / 420.5 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.656e-05/0.132, allocations: 19.84 kB / 420.6 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.132, allocations: 8 kB / 420.6 MB, free: 3.43 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.0001373/0.1321, allocations: 213 kB / 420.8 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/0.1322, allocations: 7.906 kB / 420.8 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.303e-05/0.1322, allocations: 13.41 kB / 420.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1322, allocations: 4 kB / 420.8 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1323, allocations: 0 / 420.8 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1323, allocations: 0 / 420.8 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002559/0.1325, allocations: 265.3 kB / 421.1 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1325, allocations: 0 / 421.1 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.1327, allocations: 36.16 kB / 421.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1327, allocations: 0 / 421.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.1327, allocations: 11.94 kB / 421.1 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1327, allocations: 0 / 421.1 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1327, allocations: 4 kB / 421.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000542/0.1333, allocations: 315.2 kB / 421.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.785e-05/0.1333, allocations: 96.88 kB / 421.5 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.1334, allocations: 64 / 421.5 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.1335, allocations: 19.98 kB / 421.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.1335, allocations: 11.98 kB / 421.5 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.1336, allocations: 4 kB / 421.5 MB, free: 2.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.786e-05/0.1337, allocations: 120.9 kB / 421.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1337, allocations: 0 / 421.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003705/0.134, allocations: 83.53 kB / 421.7 MB, free: 2.156 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.0001235/0.1342, allocations: 111.1 kB / 421.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005219/0.1347, allocations: 208 kB / 422.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1347, allocations: 0 / 422.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.1349, allocations: 64.39 kB / 422.1 MB, free: 1.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.1352, allocations: 31.86 kB / 422.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000943/0.1362, allocations: 0.6141 MB / 422.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.1365, allocations: 0.7361 MB / 423.5 MB, free: 344 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.365e-05/0.1366, allocations: 20.64 kB / 423.5 MB, free: 324 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.1366, allocations: 15.42 kB / 423.5 MB, free: 308 kB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1366, allocations: 0 / 423.5 MB, free: 308 kB / 350.1 MB Notification: Performance of Templates: time 0.2079/0.3446, allocations: 1.404 MB / 424.9 MB, free: 42.48 MB / 350.1 MB make -j1 -f StewartPlatform_StewartPlatform.Tests.ServoMotor_test.makefile Environment - environmentSimulation: (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 & ./StewartPlatform_StewartPlatform.Tests.ServoMotor_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe 2>&1) Environment - environmentSimulation: