Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DeltaRobot_DeltaRobot.Tests.Trajectory_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.Trajectory_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.Trajectory_test") translateModel(DeltaRobot.Tests.Trajectory_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.Trajectory_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 102.2 kB / 16.27 MB, free: 6 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.001179/0.001179, allocations: 191 kB / 17.2 MB, free: 5.609 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.195/1.195, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02307/0.02307, allocations: 5.225 MB / 296.3 MB, free: 9.695 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 67.91 kB / 357.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1718, allocations: 50.57 MB / 408.4 MB, free: 30.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.003276/0.1752, allocations: 3.63 MB / 412.1 MB, free: 26.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00307/0.1782, allocations: 3.468 MB / 415.5 MB, free: 22.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.1784, allocations: 8 kB / 415.5 MB, free: 22.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000582/0.179, allocations: 294.9 kB / 415.8 MB, free: 22.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001295/0.1803, allocations: 0.9034 MB / 416.7 MB, free: 21.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.1806, allocations: 231.6 kB / 417 MB, free: 21.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007061/0.1813, allocations: 1.164 MB / 418.1 MB, free: 20.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003331/0.1817, allocations: 388.1 kB / 418.5 MB, free: 19.97 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002603/0.1819, allocations: 490.4 kB / 419 MB, free: 19.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005403/0.1825, allocations: 0.81 MB / 419.8 MB, free: 18.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001457/0.1826, allocations: 116 kB / 419.9 MB, free: 18.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00119/0.1838, allocations: 1.061 MB / 421 MB, free: 17.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002967/0.1841, allocations: 0.5026 MB / 421.5 MB, free: 17 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003395/0.1845, allocations: 0.5754 MB / 422 MB, free: 16.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.1857, allocations: 1.862 MB / 423.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1857, allocations: 7.938 kB / 423.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1857, allocations: 0 / 423.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.1857, allocations: 0 / 423.9 MB, free: 14.55 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.004783/0.1905, allocations: 2.239 MB / 426.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.1905, allocations: 8.031 kB / 426.2 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001822/0.1924, allocations: 290.7 kB / 426.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.1938, allocations: 1.087 MB / 427.5 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006937/0.1945, allocations: 271.7 kB / 427.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.1947, allocations: 39.98 kB / 427.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0131/0.2078, allocations: 2.503 MB / 430.3 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.2078, allocations: 4 kB / 430.3 MB, free: 7.914 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.2079, allocations: 19.94 kB / 430.4 MB, free: 7.895 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.2079, allocations: 12 kB / 430.4 MB, free: 7.883 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02502/0.233, allocations: 3.885 MB / 434.2 MB, free: 3.996 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00254/0.2355, allocations: 3.068 MB / 437.3 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01832/0.2539, allocations: 2.489 MB / 439.8 MB, free: 14.28 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01301/0.2669, allocations: 1.925 MB / 441.7 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/0.267, allocations: 4 kB / 441.7 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.2671, allocations: 38.56 kB / 441.8 MB, free: 12.28 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 2.515e-06/0.2671, allocations: 0 / 441.8 MB, free: 12.28 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.03948/0.3065, allocations: 5.564 MB / 447.3 MB, free: 6.703 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001957/0.3068, allocations: 401.5 kB / 447.7 MB, free: 6.219 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002325/0.3091, allocations: 1.49 MB / 449.2 MB, free: 4.707 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001621/0.3093, allocations: 33.7 kB / 449.3 MB, free: 4.668 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003167/0.3096, allocations: 404.6 kB / 449.6 MB, free: 4.266 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002173/0.3098, allocations: 106.5 kB / 449.8 MB, free: 4.16 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004179/0.3102, allocations: 130.1 kB / 449.9 MB, free: 4.027 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.3104, allocations: 334 kB / 450.2 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0134/0.3238, allocations: 1.971 MB / 452.2 MB, free: 1.719 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01356/0.3374, allocations: 2.143 MB / 454.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02497/0.3623, allocations: 3.503 MB / 457.8 MB, free: 11.99 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3624, allocations: 0 / 457.8 MB, free: 11.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.02662/0.389, allocations: 3.962 MB / 461.8 MB, free: 8.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.3891, allocations: 8 kB / 461.8 MB, free: 8.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.3891, allocations: 0 / 461.8 MB, free: 8.012 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.3891, allocations: 7.984 kB / 461.8 MB, free: 8.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006735/0.3958, allocations: 0.749 MB / 462.5 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.3959, allocations: 15.88 kB / 462.6 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006818/0.4027, allocations: 0.729 MB / 463.3 MB, free: 6.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.4028, allocations: 27.98 kB / 463.3 MB, free: 6.48 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (59): * Single equations (assignments): 59 * 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.0005445/0.4034, allocations: 337.5 kB / 463.6 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003194/0.4037, allocations: 90.88 kB / 463.7 MB, free: 6.051 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.4038, allocations: 112.2 kB / 463.8 MB, free: 5.941 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.4038, allocations: 4 kB / 463.9 MB, free: 5.938 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.4038, allocations: 11.94 kB / 463.9 MB, free: 5.926 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.4039, allocations: 3.938 kB / 463.9 MB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.4051, allocations: 1.044 MB / 464.9 MB, free: 4.828 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4051, allocations: 0 / 464.9 MB, free: 4.828 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006646/0.4118, allocations: 0.7098 MB / 465.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.4118, allocations: 4 kB / 465.6 MB, free: 4.113 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-05/0.4119, allocations: 11.98 kB / 465.6 MB, free: 4.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.4119, allocations: 4 kB / 465.6 MB, free: 4.098 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4119, allocations: 3.938 kB / 465.6 MB, free: 4.094 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0258/0.4377, allocations: 4.16 MB / 469.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/0.4379, allocations: 183.9 kB / 470 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002545/0.4382, allocations: 11.98 kB / 470 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006704/0.4449, allocations: 0.6942 MB / 470.7 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004378/0.4454, allocations: 167.7 kB / 470.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.343e-05/0.4455, allocations: 23.98 kB / 470.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001604/0.4471, allocations: 1.087 MB / 472 MB, free: 13.72 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4471, allocations: 0 / 472 MB, free: 13.72 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001222/0.4483, allocations: 471.6 kB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (32): * Single equations (assignments): 32 * 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.0007596/0.4491, allocations: 378.8 kB / 472.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.02676/0.4759, allocations: 3.98 MB / 476.8 MB, free: 8.895 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.4759, allocations: 0 / 476.8 MB, free: 8.895 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01345/0.4893, allocations: 2.142 MB / 478.9 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/0.491, allocations: 249.6 kB / 479.2 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/0.5058, allocations: 3.103 MB / 482.3 MB, free: 3.348 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006111/0.5064, allocations: 1.081 MB / 483.3 MB, free: 2.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009004/0.5073, allocations: 71.39 kB / 483.4 MB, free: 2.164 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5073, allocations: 7.938 kB / 483.4 MB, free: 2.156 MB / 350.1 MB Notification: Performance of Templates: time 0.0299/0.5372, allocations: 25.1 MB / 0.4966 GB, free: 9.078 MB / 382.1 MB make -j1 -f DeltaRobot_DeltaRobot.Tests.Trajectory_test.makefile (rm -f DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe >> ../files/DeltaRobot_DeltaRobot.Tests.Trajectory_test.sim & ./DeltaRobot_DeltaRobot.Tests.Trajectory_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe 2>&1)