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.001566/0.001566, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.129/0.129, allocations: 5.209 MB / 295.6 MB, free: 3.004 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 59.91 kB / 357.2 MB, free: 1.84 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09927/0.1005, allocations: 50.56 MB / 407.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.00369/0.1043, allocations: 2.225 MB / 410 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.1054, allocations: 0.6311 MB / 410.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.1055, allocations: 0 / 410.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002209/0.1058, allocations: 43.64 kB / 410.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.1059, allocations: 55.61 kB / 410.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.1062, allocations: 87.83 kB / 410.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.1065, allocations: 203.7 kB / 411 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002425/0.1067, allocations: 124.8 kB / 411.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.1068, allocations: 79.72 kB / 411.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.107, allocations: 79.69 kB / 411.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.515e-05/0.107, allocations: 27.92 kB / 411.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.501e-05/0.107, allocations: 24 kB / 411.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.039e-05/0.1071, allocations: 35.92 kB / 411.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.911e-05/0.1072, allocations: 99.53 kB / 411.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.1074, allocations: 219.5 kB / 411.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1074, allocations: 0 / 411.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1074, allocations: 0 / 411.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1075, allocations: 0 / 411.7 MB, free: 11.29 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.0006656/0.1081, allocations: 486.9 kB / 412.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.1082, allocations: 8.031 kB / 412.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.175e-05/0.1082, allocations: 28.66 kB / 412.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.1085, allocations: 224 kB / 412.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.1085, allocations: 12.38 kB / 412.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.765e-05/0.1085, allocations: 20.38 kB / 412.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004311/0.109, allocations: 220.3 kB / 412.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.109, allocations: 0 / 412.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.109, allocations: 8 kB / 412.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.109, allocations: 8 kB / 412.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003907/0.1094, allocations: 135.8 kB / 412.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.1105, allocations: 0.777 MB / 413.6 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.1108, allocations: 102.5 kB / 413.7 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.111, allocations: 36.95 kB / 413.7 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.111, allocations: 3.984 kB / 413.7 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.111, allocations: 46.48 kB / 413.7 MB, free: 9.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.1111, allocations: 11.88 kB / 413.8 MB, free: 8.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005021/0.1116, allocations: 133.5 kB / 413.9 MB, free: 8.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.1116, allocations: 89.09 kB / 414 MB, free: 8.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.1118, allocations: 140.2 kB / 414.1 MB, free: 8.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.1118, allocations: 33.7 kB / 414.1 MB, free: 8.566 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.303e-05/0.1119, allocations: 147.8 kB / 414.3 MB, free: 8.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.1119, allocations: 27.64 kB / 414.3 MB, free: 8.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.831e-05/0.112, allocations: 25.72 kB / 414.3 MB, free: 8.359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1121, allocations: 322.8 kB / 414.7 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.1122, allocations: 48.81 kB / 414.7 MB, free: 7.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.1124, allocations: 102.8 kB / 414.8 MB, free: 7.863 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.1127, allocations: 137.9 kB / 414.9 MB, free: 7.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.1127, allocations: 4 kB / 414.9 MB, free: 7.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003948/0.1131, allocations: 177.2 kB / 415.1 MB, free: 7.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1132, allocations: 4 kB / 415.1 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1132, allocations: 4 kB / 415.1 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1132, allocations: 0 / 415.1 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.1134, allocations: 31.98 kB / 415.2 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1134, allocations: 0 / 415.2 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.1135, allocations: 28.06 kB / 415.2 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.1135, allocations: 8 kB / 415.2 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001519/0.1137, allocations: 116.1 kB / 415.3 MB, free: 7.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001437/0.1138, allocations: 90.77 kB / 415.4 MB, free: 7.219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002162/0.1141, allocations: 110 kB / 415.5 MB, free: 7.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.182e-06/0.1141, allocations: 0 / 415.5 MB, free: 7.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0002854/0.1144, allocations: 141.4 kB / 415.6 MB, free: 6.945 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1144, allocations: 11.94 kB / 415.6 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-06/0.1144, allocations: 0 / 415.6 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.348e-06/0.1144, allocations: 4 kB / 415.6 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.1145, allocations: 27.97 kB / 415.7 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1145, allocations: 4.188 kB / 415.7 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.1146, allocations: 27.83 kB / 415.7 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1147, allocations: 4 kB / 415.7 MB, free: 6.867 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 9.745e-05/0.1148, allocations: 192.1 kB / 415.9 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/0.1148, allocations: 11.84 kB / 415.9 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.408e-05/0.1148, allocations: 8.719 kB / 415.9 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1149, allocations: 7.938 kB / 415.9 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1149, allocations: 0 / 415.9 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1149, allocations: 3.938 kB / 415.9 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.1151, allocations: 233.6 kB / 416.2 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1151, allocations: 0 / 416.2 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.1153, allocations: 27.92 kB / 416.2 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1153, allocations: 0 / 416.2 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.1153, allocations: 0 / 416.2 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1153, allocations: 0 / 416.2 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1153, allocations: 0 / 416.2 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005054/0.1158, allocations: 263.3 kB / 416.4 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.1159, allocations: 88.95 kB / 416.5 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.1159, allocations: 4.031 kB / 416.5 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.116, allocations: 15.98 kB / 416.6 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.1161, allocations: 0 / 416.6 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.1161, allocations: 12.05 kB / 416.6 MB, free: 5.926 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.578e-05/0.1162, allocations: 109.3 kB / 416.7 MB, free: 5.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1162, allocations: 0 / 416.7 MB, free: 5.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003696/0.1166, allocations: 75.53 kB / 416.7 MB, free: 5.746 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 9.462e-05/0.1167, allocations: 95.78 kB / 416.8 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004762/0.1171, allocations: 160.3 kB / 417 MB, free: 5.488 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1172, allocations: 0 / 417 MB, free: 5.488 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.1173, allocations: 43.95 kB / 417 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.1177, allocations: 30.38 kB / 417.1 MB, free: 5.418 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008035/0.1185, allocations: 426.7 kB / 417.5 MB, free: 4.973 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.1188, allocations: 0.7201 MB / 418.2 MB, free: 4.227 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.172e-05/0.1189, allocations: 12.55 kB / 418.2 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/0.1189, allocations: 15.44 kB / 418.2 MB, free: 4.199 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1189, allocations: 0 / 418.2 MB, free: 4.199 MB / 350.1 MB Notification: Performance of Templates: time 0.004057/0.123, allocations: 1.463 MB / 419.7 MB, free: 2.754 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)