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.009569/0.009569, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.00182/0.00182, allocations: 191 kB / 16.67 MB, free: 5.969 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.869/1.869, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.04586/0.04586, allocations: 6.486 MB / 297 MB, free: 8.344 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 63.89 kB / 410.9 MB, free: 24.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1113, allocations: 50.86 MB / 461.8 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.003618/0.115, allocations: 2.459 MB / 464.2 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.1161, allocations: 0.6739 MB / 464.9 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.1162, allocations: 7.938 kB / 464.9 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.1164, allocations: 51.58 kB / 465 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.1166, allocations: 55.44 kB / 465 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.1168, allocations: 95.88 kB / 465.1 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002466/0.1171, allocations: 251.5 kB / 465.3 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002457/0.1174, allocations: 136.1 kB / 465.5 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.68e-05/0.1175, allocations: 95.66 kB / 465.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.1176, allocations: 107.5 kB / 465.7 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.985e-05/0.1176, allocations: 24 kB / 465.7 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.343e-05/0.1177, allocations: 24 kB / 465.7 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.531e-05/0.1177, allocations: 51.83 kB / 465.8 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.1178, allocations: 115.5 kB / 465.9 MB, free: 1.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.1181, allocations: 251.1 kB / 466.1 MB, free: 1.227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1181, allocations: 4 kB / 466.1 MB, free: 1.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1181, allocations: 0 / 466.1 MB, free: 1.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1181, allocations: 0 / 466.1 MB, free: 1.223 MB / 334.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.0006846/0.1188, allocations: 0.5185 MB / 466.7 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.1189, allocations: 11.89 kB / 466.7 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.971e-05/0.1189, allocations: 32.64 kB / 466.7 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/0.1192, allocations: 239.9 kB / 466.9 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.1193, allocations: 24.73 kB / 467 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.124e-05/0.1193, allocations: 24.38 kB / 467 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004482/0.1198, allocations: 243 kB / 467.2 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.1198, allocations: 3.938 kB / 467.2 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.1198, allocations: 12 kB / 467.2 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.1198, allocations: 4 kB / 467.2 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003999/0.1202, allocations: 161.7 kB / 467.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.1213, allocations: 0.8216 MB / 468.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003555/0.1216, allocations: 122.4 kB / 468.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.1218, allocations: 44.83 kB / 468.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.1218, allocations: 4 kB / 468.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.1218, allocations: 34.56 kB / 468.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.1218, allocations: 4 kB / 468.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005232/0.1224, allocations: 169.9 kB / 468.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.1224, allocations: 85.09 kB / 468.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.1226, allocations: 165 kB / 468.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.1226, allocations: 29.8 kB / 468.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.998e-05/0.1227, allocations: 171.7 kB / 469 MB, free: 14.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.1227, allocations: 23.62 kB / 469.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.575e-05/0.1228, allocations: 45.55 kB / 469.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1229, allocations: 326.8 kB / 469.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.1231, allocations: 56.81 kB / 469.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.1233, allocations: 102.8 kB / 469.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.1236, allocations: 149.9 kB / 469.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.1236, allocations: 0 / 469.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000395/0.124, allocations: 181.3 kB / 469.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.124, allocations: 8 kB / 469.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.124, allocations: 0 / 469.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1241, allocations: 4 kB / 469.9 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.1242, allocations: 43.91 kB / 469.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.1242, allocations: 8.188 kB / 470 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.1244, allocations: 27.77 kB / 470 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.1244, allocations: 4 kB / 470 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000166/0.1245, allocations: 136.1 kB / 470.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001371/0.1247, allocations: 94.83 kB / 470.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002207/0.1249, allocations: 133.9 kB / 470.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.334e-06/0.1249, allocations: 3.938 kB / 470.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002995/0.1252, allocations: 165.2 kB / 470.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.1253, allocations: 7.984 kB / 470.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-06/0.1253, allocations: 192 / 470.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.356e-06/0.1253, allocations: 12 kB / 470.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.1254, allocations: 35.92 kB / 470.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.1254, allocations: 0 / 470.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.1255, allocations: 19.98 kB / 470.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.1255, allocations: 4 kB / 470.6 MB, free: 12.39 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.938e-05/0.1256, allocations: 193.2 kB / 470.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.1257, allocations: 11.81 kB / 470.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.791e-05/0.1257, allocations: 25.39 kB / 470.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1257, allocations: 3.938 kB / 470.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1258, allocations: 0 / 470.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1258, allocations: 0 / 470.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.126, allocations: 257.5 kB / 471.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.126, allocations: 3.984 kB / 471.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.1262, allocations: 27.98 kB / 471.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1262, allocations: 0 / 471.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1262, allocations: 0 / 471.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1262, allocations: 4 kB / 471.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1262, allocations: 0 / 471.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005221/0.1268, allocations: 295.1 kB / 471.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.445e-05/0.1268, allocations: 85.05 kB / 471.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.1268, allocations: 0 / 471.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.127, allocations: 20.05 kB / 471.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.127, allocations: 8.172 kB / 471.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.127, allocations: 0 / 471.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.731e-05/0.1271, allocations: 127.9 kB / 471.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1271, allocations: 3.938 kB / 471.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003966/0.1275, allocations: 87.53 kB / 471.7 MB, free: 11.18 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.485e-05/0.1276, allocations: 99.12 kB / 471.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004877/0.1281, allocations: 187.7 kB / 472 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1281, allocations: 0 / 472 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.1283, allocations: 52.72 kB / 472 MB, free: 10.83 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.1286, allocations: 38.97 kB / 472.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008515/0.1295, allocations: 481.5 kB / 472.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.1298, allocations: 0.7319 MB / 473.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.268e-05/0.1298, allocations: 16.64 kB / 473.3 MB, free: 9.523 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.074e-05/0.1299, allocations: 15.44 kB / 473.3 MB, free: 9.508 MB / 350.1 MB Notification: Performance of SimCode: time 1.393e-06/0.1299, allocations: 0 / 473.3 MB, free: 9.508 MB / 350.1 MB Notification: Performance of Templates: time 0.004242/0.1341, allocations: 1.584 MB / 474.9 MB, free: 7.941 MB / 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)