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.001496/0.001496, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002003/0.002004, allocations: 198.8 kB / 16.14 MB, free: 6.656 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.281/1.281, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1443/0.1443, allocations: 6.482 MB / 296.4 MB, free: 2.766 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 63.91 kB / 358.1 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09328/0.09441, allocations: 50.84 MB / 408.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.003661/0.09811, allocations: 2.517 MB / 411.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009546/0.09909, allocations: 0.6584 MB / 412.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.09921, allocations: 4 kB / 412.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002248/0.09946, allocations: 35.7 kB / 412.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.014e-05/0.09956, allocations: 39.69 kB / 412.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.09983, allocations: 99.36 kB / 412.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.1001, allocations: 235.5 kB / 412.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002281/0.1003, allocations: 127.5 kB / 412.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.1004, allocations: 83.7 kB / 412.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.1005, allocations: 95.56 kB / 412.8 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.326e-05/0.1006, allocations: 16 kB / 412.8 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.529e-05/0.1006, allocations: 12 kB / 412.8 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.357e-05/0.1007, allocations: 51.83 kB / 412.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.395e-05/0.1008, allocations: 107.4 kB / 413 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.101, allocations: 239.5 kB / 413.2 MB, free: 9.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.101, allocations: 0 / 413.2 MB, free: 9.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.101, allocations: 3.984 kB / 413.2 MB, free: 9.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.101, allocations: 0 / 413.2 MB, free: 9.523 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.0007043/0.1018, allocations: 0.5186 MB / 413.7 MB, free: 8.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.1018, allocations: 12.03 kB / 413.7 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.324e-05/0.1019, allocations: 28.59 kB / 413.8 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.1021, allocations: 243.9 kB / 414 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.1022, allocations: 24.73 kB / 414 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.872e-05/0.1022, allocations: 16.38 kB / 414.1 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004579/0.1027, allocations: 251 kB / 414.3 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.1027, allocations: 7.906 kB / 414.3 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.1027, allocations: 12 kB / 414.3 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.1028, allocations: 4 kB / 414.3 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003959/0.1032, allocations: 157.6 kB / 414.5 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.1042, allocations: 0.8296 MB / 415.3 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003488/0.1046, allocations: 114.4 kB / 415.4 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.1047, allocations: 44.83 kB / 415.5 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.1048, allocations: 8 kB / 415.5 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.1048, allocations: 30.56 kB / 415.5 MB, free: 7.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.1048, allocations: 0 / 415.5 MB, free: 7.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005019/0.1053, allocations: 177.6 kB / 415.7 MB, free: 6.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.1054, allocations: 89.09 kB / 415.8 MB, free: 6.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.1055, allocations: 163.3 kB / 415.9 MB, free: 6.582 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.1055, allocations: 25.7 kB / 415.9 MB, free: 6.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.406e-05/0.1056, allocations: 167.8 kB / 416.1 MB, free: 6.383 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.1057, allocations: 31.47 kB / 416.1 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.344e-05/0.1057, allocations: 33.7 kB / 416.2 MB, free: 6.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1058, allocations: 330.8 kB / 416.5 MB, free: 5.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.106, allocations: 60.75 kB / 416.6 MB, free: 5.918 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.1062, allocations: 102.8 kB / 416.7 MB, free: 5.793 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/0.1065, allocations: 162.2 kB / 416.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1065, allocations: 0 / 416.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003808/0.1069, allocations: 173.4 kB / 417 MB, free: 5.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1069, allocations: 8 kB / 417 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.107, allocations: 192 / 417 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.107, allocations: 8 kB / 417 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.1071, allocations: 39.91 kB / 417 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.1072, allocations: 7.984 kB / 417 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.1073, allocations: 31.83 kB / 417.1 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.1073, allocations: 4 kB / 417.1 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001706/0.1075, allocations: 136.1 kB / 417.2 MB, free: 5.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000128/0.1076, allocations: 102.7 kB / 417.3 MB, free: 5.078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002175/0.1078, allocations: 122 kB / 417.4 MB, free: 4.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.635e-06/0.1078, allocations: 3.938 kB / 417.4 MB, free: 4.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002967/0.1081, allocations: 165.4 kB / 417.6 MB, free: 4.766 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.1082, allocations: 15.27 kB / 417.6 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-06/0.1082, allocations: 0 / 417.6 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.436e-06/0.1082, allocations: 4 kB / 417.6 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.1083, allocations: 35.92 kB / 417.7 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.1083, allocations: 0 / 417.7 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.942e-05/0.1084, allocations: 12.17 kB / 417.7 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.1084, allocations: 12 kB / 417.7 MB, free: 4.691 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 9.77e-05/0.1085, allocations: 200.2 kB / 417.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.1086, allocations: 11.81 kB / 417.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.425e-05/0.1086, allocations: 17.39 kB / 417.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1086, allocations: 0 / 417.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1086, allocations: 0 / 417.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1087, allocations: 0 / 417.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.1089, allocations: 257.5 kB / 418.2 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.1089, allocations: 3.984 kB / 418.2 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.1091, allocations: 27.98 kB / 418.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1091, allocations: 4 kB / 418.2 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.1091, allocations: 4 kB / 418.2 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1091, allocations: 0 / 418.2 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1091, allocations: 4 kB / 418.2 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005167/0.1097, allocations: 295.1 kB / 418.5 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.1097, allocations: 85.05 kB / 418.6 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.1097, allocations: 0 / 418.6 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.1099, allocations: 11.98 kB / 418.6 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.1099, allocations: 11.98 kB / 418.6 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.1099, allocations: 0 / 418.6 MB, free: 3.688 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.089e-05/0.11, allocations: 120.9 kB / 418.7 MB, free: 3.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.11, allocations: 3.938 kB / 418.7 MB, free: 3.566 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003793/0.1104, allocations: 91.59 kB / 418.8 MB, free: 3.477 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 9.951e-05/0.1105, allocations: 107.1 kB / 418.9 MB, free: 3.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004581/0.111, allocations: 180.3 kB / 419.1 MB, free: 3.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.111, allocations: 4.125 kB / 419.1 MB, free: 3.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.1111, allocations: 48.44 kB / 419.1 MB, free: 3.133 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.1115, allocations: 31.14 kB / 419.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000877/0.1124, allocations: 0.5695 MB / 419.7 MB, free: 2.508 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.1127, allocations: 0.736 MB / 420.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.291e-05/0.1128, allocations: 12.64 kB / 420.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.871e-05/0.1129, allocations: 15.44 kB / 420.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1129, allocations: 0 / 420.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of Templates: time 0.003741/0.1166, allocations: 1.425 MB / 421.9 MB, free: 312 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)