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.001209/0.00121, allocations: 99.77 kB / 16.29 MB, free: 6.004 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.001204/0.001204, allocations: 189.2 kB / 17.22 MB, free: 5.617 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.22/1.22, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02367/0.02367, allocations: 5.214 MB / 296.3 MB, free: 9.688 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 60.14 kB / 357.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1712, allocations: 50.56 MB / 408.5 MB, free: 30.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.002556/0.1738, allocations: 2.227 MB / 410.7 MB, free: 27.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007567/0.1746, allocations: 0.635 MB / 411.3 MB, free: 27.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.662e-05/0.1747, allocations: 4 kB / 411.3 MB, free: 27.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000178/0.1749, allocations: 39.64 kB / 411.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.704e-05/0.175, allocations: 47.62 kB / 411.4 MB, free: 27.13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.1752, allocations: 94.95 kB / 411.5 MB, free: 27.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000149/0.1754, allocations: 211.7 kB / 411.7 MB, free: 26.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.1756, allocations: 116.7 kB / 411.8 MB, free: 26.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.14e-05/0.1756, allocations: 87.75 kB / 411.9 MB, free: 26.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.745e-05/0.1757, allocations: 83.62 kB / 412 MB, free: 26.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.1757, allocations: 24 kB / 412 MB, free: 26.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.291e-05/0.1758, allocations: 20 kB / 412 MB, free: 26.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.602e-05/0.1758, allocations: 47.8 kB / 412.1 MB, free: 26.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.114e-05/0.1759, allocations: 99.52 kB / 412.2 MB, free: 26.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.176, allocations: 213.3 kB / 412.4 MB, free: 26.15 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.176, allocations: 4 kB / 412.4 MB, free: 26.15 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.176, allocations: 0 / 412.4 MB, free: 26.15 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.1761, allocations: 0 / 412.4 MB, free: 26.15 MB / 302.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.00047/0.1765, allocations: 478.9 kB / 412.9 MB, free: 25.63 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.466e-05/0.1766, allocations: 12.03 kB / 412.9 MB, free: 25.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.1766, allocations: 24.66 kB / 412.9 MB, free: 25.6 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.1768, allocations: 232 kB / 413.1 MB, free: 25.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.1768, allocations: 8.375 kB / 413.1 MB, free: 25.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.1768, allocations: 24.36 kB / 413.2 MB, free: 25.3 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003248/0.1772, allocations: 220.3 kB / 413.4 MB, free: 25.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.1772, allocations: 11.91 kB / 413.4 MB, free: 25.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.1772, allocations: 4 kB / 413.4 MB, free: 25.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1772, allocations: 4 kB / 413.4 MB, free: 25.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003153/0.1775, allocations: 139.8 kB / 413.5 MB, free: 24.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006928/0.1782, allocations: 0.7499 MB / 414.3 MB, free: 24.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.1785, allocations: 102.4 kB / 414.4 MB, free: 23.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.1786, allocations: 48.89 kB / 414.4 MB, free: 23.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.1786, allocations: 0 / 414.4 MB, free: 23.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.107e-05/0.1787, allocations: 34.5 kB / 414.5 MB, free: 23.89 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 8.32e-07/0.1787, allocations: 0 / 414.5 MB, free: 23.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004213/0.1791, allocations: 145.5 kB / 414.6 MB, free: 23.74 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/0.1791, allocations: 81.11 kB / 414.7 MB, free: 23.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.544e-05/0.1792, allocations: 156.8 kB / 414.8 MB, free: 23.48 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.1792, allocations: 25.7 kB / 414.9 MB, free: 23.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.344e-05/0.1793, allocations: 147.9 kB / 415 MB, free: 23.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.296e-05/0.1793, allocations: 23.64 kB / 415 MB, free: 23.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.1793, allocations: 25.72 kB / 415 MB, free: 23.24 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.565e-05/0.1794, allocations: 326.8 kB / 415.4 MB, free: 22.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.1795, allocations: 56.81 kB / 415.4 MB, free: 22.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.1797, allocations: 94.81 kB / 415.5 MB, free: 22.74 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.1799, allocations: 133.9 kB / 415.6 MB, free: 22.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1799, allocations: 256 / 415.6 MB, free: 22.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003097/0.1802, allocations: 169.2 kB / 415.8 MB, free: 22.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.1803, allocations: 6.031 kB / 415.8 MB, free: 22.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1803, allocations: 11.92 kB / 415.8 MB, free: 22.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1803, allocations: 8.188 kB / 415.8 MB, free: 22.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.1804, allocations: 31.98 kB / 415.9 MB, free: 22.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.1804, allocations: 7.938 kB / 415.9 MB, free: 22.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.776e-05/0.1805, allocations: 15.92 kB / 415.9 MB, free: 22.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.1806, allocations: 11.98 kB / 415.9 MB, free: 22.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00012/0.1807, allocations: 120.1 kB / 416 MB, free: 22.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.812e-05/0.1808, allocations: 86.84 kB / 416.1 MB, free: 22.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001712/0.181, allocations: 122 kB / 416.2 MB, free: 21.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/0.181, allocations: 0 / 416.2 MB, free: 21.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0002335/0.1812, allocations: 141.3 kB / 416.4 MB, free: 21.81 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.961e-06/0.1812, allocations: 12.12 kB / 416.4 MB, free: 21.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-06/0.1812, allocations: 4 kB / 416.4 MB, free: 21.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-06/0.1812, allocations: 0 / 416.4 MB, free: 21.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.369e-05/0.1813, allocations: 31.97 kB / 416.4 MB, free: 21.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.1813, allocations: 7.938 kB / 416.4 MB, free: 21.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.848e-05/0.1814, allocations: 15.91 kB / 416.4 MB, free: 21.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.1815, allocations: 4 kB / 416.4 MB, free: 21.73 MB / 302.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 4.434e-05/0.1815, allocations: 192.1 kB / 416.6 MB, free: 21.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.1815, allocations: 19.84 kB / 416.6 MB, free: 21.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.602e-05/0.1816, allocations: 8.719 kB / 416.7 MB, free: 21.51 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1816, allocations: 0 / 416.7 MB, free: 21.51 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1816, allocations: 4 kB / 416.7 MB, free: 21.51 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1816, allocations: 3.984 kB / 416.7 MB, free: 21.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.1817, allocations: 229.5 kB / 416.9 MB, free: 21.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1817, allocations: 3.984 kB / 416.9 MB, free: 21.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.1819, allocations: 31.86 kB / 416.9 MB, free: 21.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1819, allocations: 0 / 416.9 MB, free: 21.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.1819, allocations: 0 / 416.9 MB, free: 21.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1819, allocations: 4 kB / 416.9 MB, free: 21.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1819, allocations: 0 / 416.9 MB, free: 21.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004018/0.1823, allocations: 251.4 kB / 417.2 MB, free: 20.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.246e-05/0.1824, allocations: 88.94 kB / 417.3 MB, free: 20.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.1824, allocations: 8.094 kB / 417.3 MB, free: 20.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.1825, allocations: 12.05 kB / 417.3 MB, free: 20.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.1825, allocations: 8 kB / 417.3 MB, free: 20.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.1825, allocations: 0 / 417.3 MB, free: 20.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.718e-05/0.1826, allocations: 111.2 kB / 417.4 MB, free: 20.69 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1826, allocations: 0 / 417.4 MB, free: 20.69 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003194/0.1829, allocations: 71.59 kB / 417.5 MB, free: 20.62 MB / 302.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 5.092e-05/0.183, allocations: 104 kB / 417.6 MB, free: 20.51 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000389/0.1834, allocations: 155.7 kB / 417.7 MB, free: 20.36 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1834, allocations: 0.75 kB / 417.7 MB, free: 20.36 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.1835, allocations: 47.91 kB / 417.8 MB, free: 20.31 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.1838, allocations: 19.98 kB / 417.8 MB, free: 20.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005355/0.1844, allocations: 451.9 kB / 418.2 MB, free: 19.81 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.1845, allocations: 0.7278 MB / 418.9 MB, free: 19.06 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.223e-05/0.1845, allocations: 11.44 kB / 419 MB, free: 19.05 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1845, allocations: 0 / 419 MB, free: 19.05 MB / 302.1 MB Notification: Performance of Templates: time 0.002381/0.1869, allocations: 1.791 MB / 420.8 MB, free: 17.27 MB / 302.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)