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.001358/0.001364, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001446/0.001446, allocations: 189.5 kB / 16.25 MB, free: 6.625 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.334/1.334, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1617/0.1617, allocations: 6.489 MB / 296.6 MB, free: 2.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.89 kB / 358.3 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1168, allocations: 50.84 MB / 409.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.004775/0.1216, allocations: 2.525 MB / 411.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.1229, allocations: 0.6545 MB / 412.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.123, allocations: 11.94 kB / 412.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000266/0.1233, allocations: 35.75 kB / 412.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.1234, allocations: 43.62 kB / 412.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.1237, allocations: 91.91 kB / 412.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002879/0.124, allocations: 243.5 kB / 412.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002744/0.1243, allocations: 136 kB / 412.8 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.1244, allocations: 87.72 kB / 412.9 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.1246, allocations: 111.5 kB / 413 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.972e-05/0.1246, allocations: 24 kB / 413 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.623e-05/0.1247, allocations: 24 kB / 413.1 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.899e-05/0.1247, allocations: 47.84 kB / 413.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.1248, allocations: 119.4 kB / 413.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002787/0.1251, allocations: 247.5 kB / 413.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1251, allocations: 0 / 413.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1251, allocations: 0 / 413.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.1251, allocations: 0 / 413.5 MB, free: 9.312 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.0008264/0.126, allocations: 0.5263 MB / 414 MB, free: 8.738 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.126, allocations: 15.89 kB / 414 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.576e-05/0.1261, allocations: 28.66 kB / 414 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.1264, allocations: 243.8 kB / 414.3 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.1265, allocations: 12.81 kB / 414.3 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.122e-05/0.1265, allocations: 28.31 kB / 414.3 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005591/0.1271, allocations: 251 kB / 414.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.1271, allocations: 3.906 kB / 414.6 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.722e-05/0.1272, allocations: 15.98 kB / 414.6 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.1272, allocations: 4 kB / 414.6 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003942/0.1276, allocations: 161.6 kB / 414.7 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.1288, allocations: 0.8335 MB / 415.6 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.1291, allocations: 110.5 kB / 415.7 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.1293, allocations: 44.83 kB / 415.7 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.1293, allocations: 4 kB / 415.7 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.1293, allocations: 38.67 kB / 415.8 MB, free: 6.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.1293, allocations: 0 / 415.8 MB, free: 6.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005743/0.1299, allocations: 177.4 kB / 415.9 MB, free: 6.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.13, allocations: 81.11 kB / 416 MB, free: 6.535 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.1302, allocations: 159.4 kB / 416.2 MB, free: 6.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.1302, allocations: 25.7 kB / 416.2 MB, free: 6.332 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.1303, allocations: 163.8 kB / 416.4 MB, free: 6.168 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.1304, allocations: 39.45 kB / 416.4 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.094e-05/0.1305, allocations: 29.72 kB / 416.4 MB, free: 6.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1306, allocations: 326.8 kB / 416.8 MB, free: 5.766 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.1308, allocations: 60.75 kB / 416.8 MB, free: 5.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.1309, allocations: 109.5 kB / 416.9 MB, free: 5.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/0.1312, allocations: 154.2 kB / 417.1 MB, free: 5.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1313, allocations: 0 / 417.1 MB, free: 5.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003652/0.1316, allocations: 185.3 kB / 417.3 MB, free: 5.215 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.1317, allocations: 7.938 kB / 417.3 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.1317, allocations: 3.984 kB / 417.3 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.1317, allocations: 4 kB / 417.3 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.1318, allocations: 31.98 kB / 417.3 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.1319, allocations: 7.938 kB / 417.3 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.132, allocations: 32.06 kB / 417.3 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.132, allocations: 8 kB / 417.3 MB, free: 5.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001775/0.1322, allocations: 136.1 kB / 417.5 MB, free: 4.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001274/0.1323, allocations: 90.78 kB / 417.6 MB, free: 4.871 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002029/0.1325, allocations: 129.9 kB / 417.7 MB, free: 4.723 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.444e-06/0.1326, allocations: 7.938 kB / 417.7 MB, free: 4.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002989/0.1329, allocations: 165.3 kB / 417.9 MB, free: 4.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.1329, allocations: 6.344 kB / 417.9 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1329, allocations: 7.984 kB / 417.9 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-06/0.1329, allocations: 0 / 417.9 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.133, allocations: 36.17 kB / 417.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.133, allocations: 4 kB / 417.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.398e-05/0.1331, allocations: 11.98 kB / 417.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.1331, allocations: 8 kB / 417.9 MB, free: 4.477 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.0001185/0.1333, allocations: 192.1 kB / 418.1 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.1333, allocations: 15.98 kB / 418.1 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.749e-05/0.1334, allocations: 13.41 kB / 418.2 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1334, allocations: 7.922 kB / 418.2 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1334, allocations: 4 kB / 418.2 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1334, allocations: 4 kB / 418.2 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002868/0.1337, allocations: 265.4 kB / 418.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1337, allocations: 0 / 418.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.1339, allocations: 23.98 kB / 418.5 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1339, allocations: 3.938 kB / 418.5 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.1339, allocations: 11.98 kB / 418.5 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1339, allocations: 0 / 418.5 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1339, allocations: 0 / 418.5 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005009/0.1344, allocations: 287.1 kB / 418.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.077e-05/0.1345, allocations: 93.03 kB / 418.8 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.1345, allocations: 3.938 kB / 418.8 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.1346, allocations: 16.05 kB / 418.9 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.1347, allocations: 8 kB / 418.9 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.1347, allocations: 7.984 kB / 418.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.31e-05/0.1348, allocations: 116.9 kB / 419 MB, free: 3.332 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1348, allocations: 0 / 419 MB, free: 3.332 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000382/0.1352, allocations: 87.53 kB / 419.1 MB, free: 3.246 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.0001114/0.1353, allocations: 99.19 kB / 419.2 MB, free: 3.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004948/0.1358, allocations: 187.7 kB / 419.4 MB, free: 2.953 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1358, allocations: 0 / 419.4 MB, free: 2.953 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.136, allocations: 57.11 kB / 419.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.1364, allocations: 32.11 kB / 419.4 MB, free: 2.867 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009857/0.1374, allocations: 0.5677 MB / 420 MB, free: 2.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.1377, allocations: 0.7397 MB / 420.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.469e-05/0.1378, allocations: 12.64 kB / 420.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.1379, allocations: 15.44 kB / 420.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1379, allocations: 0 / 420.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of Templates: time 0.004043/0.1419, allocations: 1.475 MB / 422.3 MB, free: 16 kB / 350.1 MB make -j1 -f StewartPlatform_StewartPlatform.Tests.ServoMotor_test.makefile (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)