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.00155/0.00155, 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.00178/0.00178, allocations: 192.2 kB / 16.13 MB, free: 6.707 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.391/1.391, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1353/0.1353, allocations: 5.209 MB / 295.2 MB, free: 3.152 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001236, allocations: 59.91 kB / 356.5 MB, free: 2.297 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1072, allocations: 50.55 MB / 407.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.004004/0.1112, allocations: 2.278 MB / 409.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.1125, allocations: 0.6234 MB / 410 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001914/0.1127, allocations: 4 kB / 410 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002886/0.113, allocations: 31.77 kB / 410 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.1132, allocations: 35.7 kB / 410 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.1136, allocations: 83.55 kB / 410.1 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002656/0.1138, allocations: 207.6 kB / 410.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002445/0.1141, allocations: 100.6 kB / 410.4 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.1142, allocations: 71.72 kB / 410.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.1143, allocations: 83.62 kB / 410.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.464e-05/0.1144, allocations: 12 kB / 410.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.803e-05/0.1144, allocations: 12 kB / 410.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.092e-05/0.1145, allocations: 39.84 kB / 410.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.1146, allocations: 91.53 kB / 410.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.1148, allocations: 203.6 kB / 410.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1149, allocations: 0 / 410.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.1149, allocations: 0 / 410.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.1149, allocations: 0 / 410.9 MB, free: 11.82 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.0007821/0.1157, allocations: 486.9 kB / 411.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.1157, allocations: 16.02 kB / 411.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.203e-05/0.1158, allocations: 20.66 kB / 411.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.1161, allocations: 222.3 kB / 411.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.1161, allocations: 20.31 kB / 411.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.99e-05/0.1162, allocations: 20.38 kB / 411.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004659/0.1166, allocations: 224.3 kB / 411.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.1167, allocations: 0 / 411.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.1167, allocations: 8 kB / 411.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1167, allocations: 8 kB / 411.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003836/0.1171, allocations: 143.8 kB / 412.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.1182, allocations: 0.7693 MB / 412.8 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.1185, allocations: 98.45 kB / 412.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.1187, allocations: 44.94 kB / 413 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.1187, allocations: 4 kB / 413 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.1188, allocations: 38.5 kB / 413 MB, free: 9.531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.836e-05/0.1188, allocations: 0 / 413 MB, free: 9.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004922/0.1193, allocations: 145.5 kB / 413.2 MB, free: 9.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.1194, allocations: 81.11 kB / 413.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.1195, allocations: 148.4 kB / 413.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.1195, allocations: 29.64 kB / 413.4 MB, free: 9.098 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.357e-05/0.1196, allocations: 147.8 kB / 413.6 MB, free: 8.949 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.1197, allocations: 27.64 kB / 413.6 MB, free: 8.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.291e-05/0.1197, allocations: 33.64 kB / 413.6 MB, free: 8.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1198, allocations: 322.8 kB / 413.9 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.12, allocations: 52.81 kB / 414 MB, free: 8.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.1202, allocations: 90.83 kB / 414.1 MB, free: 8.391 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.1205, allocations: 137.9 kB / 414.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1205, allocations: 0 / 414.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003773/0.1209, allocations: 169.3 kB / 414.4 MB, free: 8.062 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.1209, allocations: 4 kB / 414.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1209, allocations: 8.188 kB / 414.4 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1209, allocations: 0 / 414.4 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.1211, allocations: 36.22 kB / 414.4 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.1211, allocations: 3.938 kB / 414.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.1212, allocations: 27.89 kB / 414.5 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.1213, allocations: 4 kB / 414.5 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001653/0.1214, allocations: 124.1 kB / 414.6 MB, free: 7.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001232/0.1216, allocations: 82.84 kB / 414.7 MB, free: 7.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002157/0.1218, allocations: 113.9 kB / 414.8 MB, free: 7.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.885e-06/0.1218, allocations: 8 kB / 414.8 MB, free: 7.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0002832/0.1221, allocations: 137.5 kB / 414.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.1221, allocations: 11.94 kB / 414.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-06/0.1221, allocations: 0 / 414.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.49e-06/0.1221, allocations: 7.984 kB / 414.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.1223, allocations: 27.98 kB / 415 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1223, allocations: 11.88 kB / 415 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.1224, allocations: 19.83 kB / 415 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.1224, allocations: 4 kB / 415 MB, free: 7.387 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 0.0001112/0.1225, allocations: 192.3 kB / 415.2 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.1225, allocations: 11.84 kB / 415.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.847e-05/0.1226, allocations: 8.719 kB / 415.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.1226, allocations: 4 kB / 415.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.1226, allocations: 0 / 415.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1226, allocations: 3.984 kB / 415.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.1229, allocations: 225.6 kB / 415.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1229, allocations: 3.938 kB / 415.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.1231, allocations: 31.86 kB / 415.5 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1231, allocations: 0 / 415.5 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.1231, allocations: 4 kB / 415.5 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1231, allocations: 0 / 415.5 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1231, allocations: 3.984 kB / 415.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005074/0.1236, allocations: 259.3 kB / 415.7 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.808e-05/0.1237, allocations: 88.98 kB / 415.8 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.1237, allocations: 4 kB / 415.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.1239, allocations: 11.98 kB / 415.8 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.1239, allocations: 3.984 kB / 415.8 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.1239, allocations: 4 kB / 415.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.152e-05/0.124, allocations: 109.3 kB / 415.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.124, allocations: 0 / 415.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003875/0.1244, allocations: 79.53 kB / 416 MB, free: 6.27 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 0.0001017/0.1245, allocations: 99.25 kB / 416.1 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004835/0.125, allocations: 152.5 kB / 416.3 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.125, allocations: 0 / 416.3 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.1251, allocations: 51.95 kB / 416.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.1255, allocations: 23.92 kB / 416.3 MB, free: 5.941 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008452/0.1264, allocations: 480.2 kB / 416.8 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.1267, allocations: 0.7281 MB / 417.5 MB, free: 4.691 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.219e-05/0.1268, allocations: 12.53 kB / 417.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.1269, allocations: 15.44 kB / 417.6 MB, free: 4.664 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1269, allocations: 4 kB / 417.6 MB, free: 4.66 MB / 350.1 MB Notification: Performance of Templates: time 0.004327/0.1312, allocations: 1.341 MB / 418.9 MB, free: 3.336 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)