Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DeltaRobot_DeltaRobot.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/DeltaRobot 1.0.2/package.mo", uses=false) Using package DeltaRobot with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 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(DeltaRobot.Tests.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.ServoMotor_test") translateModel(DeltaRobot.Tests.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.ServoMotor_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001587, 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.00239/0.00239, allocations: 189.6 kB / 16.25 MB, free: 6.629 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.373/1.373, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1423/0.1423, allocations: 5.214 MB / 295.3 MB, free: 3.027 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 71.89 kB / 356.7 MB, free: 2.148 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1098, allocations: 50.55 MB / 407.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.003249/0.1131, allocations: 2.282 MB / 409.5 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008956/0.114, allocations: 0.6273 MB / 410.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.711e-05/0.1142, allocations: 4 kB / 410.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002184/0.1144, allocations: 31.78 kB / 410.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.06e-05/0.1145, allocations: 35.69 kB / 410.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.1147, allocations: 83.92 kB / 410.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.115, allocations: 207.6 kB / 410.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/0.1152, allocations: 116.8 kB / 410.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.08e-05/0.1153, allocations: 79.72 kB / 410.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.1154, allocations: 87.61 kB / 410.8 MB, free: 12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.1154, allocations: 24 kB / 410.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.942e-05/0.1155, allocations: 20 kB / 410.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.46e-05/0.1155, allocations: 43.86 kB / 410.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.034e-05/0.1156, allocations: 99.53 kB / 411 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.1158, allocations: 215.6 kB / 411.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.1158, allocations: 0 / 411.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1158, allocations: 0 / 411.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1159, allocations: 0 / 411.2 MB, free: 11.6 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006508/0.1165, allocations: 482.8 kB / 411.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.1166, allocations: 8.031 kB / 411.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.378e-05/0.1166, allocations: 24.66 kB / 411.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.1168, allocations: 229.8 kB / 411.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.1169, allocations: 16.38 kB / 411.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.1169, allocations: 20.38 kB / 412 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004/0.1173, allocations: 220.4 kB / 412.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.1173, allocations: 4 kB / 412.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.1174, allocations: 4 kB / 412.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.1174, allocations: 4 kB / 412.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003468/0.1177, allocations: 143.8 kB / 412.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000953/0.1187, allocations: 0.7732 MB / 413.1 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.119, allocations: 98.45 kB / 413.2 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.1191, allocations: 44.94 kB / 413.2 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.1191, allocations: 3.984 kB / 413.2 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.1192, allocations: 38.5 kB / 413.3 MB, free: 9.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1192, allocations: 0 / 413.3 MB, free: 9.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004822/0.1197, allocations: 145.5 kB / 413.4 MB, free: 9.168 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.1197, allocations: 77.11 kB / 413.5 MB, free: 9.074 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.1199, allocations: 160.1 kB / 413.6 MB, free: 8.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.1199, allocations: 29.64 kB / 413.7 MB, free: 8.875 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.408e-05/0.12, allocations: 147.8 kB / 413.8 MB, free: 8.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.12, allocations: 27.64 kB / 413.8 MB, free: 8.699 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.924e-05/0.12, allocations: 29.7 kB / 413.9 MB, free: 8.664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1201, allocations: 318.8 kB / 414.2 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.1203, allocations: 60.81 kB / 414.2 MB, free: 8.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.1205, allocations: 90.83 kB / 414.3 MB, free: 8.168 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.1208, allocations: 133.9 kB / 414.5 MB, free: 8.016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1208, allocations: 0 / 414.5 MB, free: 8.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003494/0.1211, allocations: 169.3 kB / 414.6 MB, free: 7.844 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1212, allocations: 8 kB / 414.6 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1212, allocations: 80 / 414.6 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1212, allocations: 4 kB / 414.6 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.1214, allocations: 44.34 kB / 414.7 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.1214, allocations: 7.984 kB / 414.7 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.1215, allocations: 19.89 kB / 414.7 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.1215, allocations: 8 kB / 414.7 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001473/0.1217, allocations: 124.1 kB / 414.8 MB, free: 7.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000119/0.1218, allocations: 90.72 kB / 414.9 MB, free: 7.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001977/0.122, allocations: 113.9 kB / 415 MB, free: 7.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.194e-06/0.122, allocations: 3.984 kB / 415 MB, free: 7.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0002675/0.1223, allocations: 129.4 kB / 415.2 MB, free: 7.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.025e-06/0.1223, allocations: 7.938 kB / 415.2 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1223, allocations: 7.984 kB / 415.2 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-06/0.1223, allocations: 4.188 kB / 415.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.1224, allocations: 31.92 kB / 415.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.1224, allocations: 4 kB / 415.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.1226, allocations: 23.83 kB / 415.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.1226, allocations: 4 kB / 415.3 MB, free: 7.168 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 (13): * Single equations (assignments): 13 * 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 8.405e-05/0.1227, allocations: 184.2 kB / 415.4 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/0.1227, allocations: 15.84 kB / 415.5 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.385e-05/0.1227, allocations: 8.719 kB / 415.5 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1227, allocations: 4 kB / 415.5 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1227, allocations: 0 / 415.5 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.1228, allocations: 7.984 kB / 415.5 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.123, allocations: 229.5 kB / 415.7 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.123, allocations: 0 / 415.7 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.1231, allocations: 35.86 kB / 415.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1232, allocations: 0 / 415.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.1232, allocations: 0 / 415.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1232, allocations: 0 / 415.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.1232, allocations: 3.984 kB / 415.7 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004578/0.1236, allocations: 259.3 kB / 416 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.184e-05/0.1237, allocations: 84.95 kB / 416.1 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.1237, allocations: 4.031 kB / 416.1 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.1239, allocations: 12.05 kB / 416.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.1239, allocations: 11.98 kB / 416.1 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.1239, allocations: 64 / 416.1 MB, free: 6.234 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.079e-05/0.124, allocations: 109.3 kB / 416.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.343e-06/0.124, allocations: 0 / 416.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003753/0.1244, allocations: 79.47 kB / 416.3 MB, free: 6.051 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 (6): * Single equations (assignments): 6 * 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 8.863e-05/0.1245, allocations: 95.25 kB / 416.4 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004431/0.1249, allocations: 159.8 kB / 416.5 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1249, allocations: 0 / 416.5 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.1251, allocations: 48.64 kB / 416.6 MB, free: 5.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.1255, allocations: 23.98 kB / 416.6 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007495/0.1262, allocations: 498.3 kB / 417.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.1265, allocations: 0.7201 MB / 417.8 MB, free: 4.461 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.415e-05/0.1265, allocations: 12.94 kB / 417.8 MB, free: 4.449 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.743e-05/0.1266, allocations: 11.44 kB / 417.8 MB, free: 4.438 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1266, allocations: 0 / 417.8 MB, free: 4.438 MB / 350.1 MB Notification: Performance of Templates: time 0.003618/0.1302, allocations: 1.406 MB / 419.2 MB, free: 3.043 MB / 350.1 MB make -j1 -f DeltaRobot_DeltaRobot.Tests.ServoMotor_test.makefile (rm -f DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe >> ../files/DeltaRobot_DeltaRobot.Tests.ServoMotor_test.sim & ./DeltaRobot_DeltaRobot.Tests.ServoMotor_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe 2>&1)